summaryrefslogtreecommitdiff
path: root/src/Propellor/Message.hs
AgeCommit message (Collapse)Author
2016-11-11Clean up build warnings about redundant constraints when built with ghc 8.0.Joey Hess
Only a couple of the constraints were really redundant. The rest are essential to propellor's tracking of Info propigation, so I silenced the warning for those. It would be better to only silence the warning for the functions with the extra constraints, but IIRC warnings can only be silenced on an entire file basis. This commit was sponsored by Andreas on Patreon.
2016-06-13wordingJoey Hess
2016-06-13add stopPropellorMessageJoey Hess
2015-12-19Clean build with ghc 7.10.Joey Hess
Import Prelude after modules that cause warnings due to AMP change
2015-12-08avoid crash when stdout is not open in call to hIsTerminalDeviceJoey Hess
Saw this happen in http://propellor.branchable.com/forum/Fail_to_push_changes_when_merging/ although I don't entirely understand the circumstances.
2015-11-01merge from concurrent-outputJoey Hess
2015-10-28have to flush concurrent output before printing result when chainingJoey Hess
2015-10-28need withConcurrentOutput to flush any buffered concurrent outputJoey Hess
2015-10-28use outputConcurrent interfaceJoey Hess
This interface will fix the current deadlock when a process is running and the thread that ran it wants to output to the console. The locking and buffering is not implemented yet.
2015-10-28split out generic ConcurrentOutput module to UtilityJoey Hess
2015-10-28concurrency docsJoey Hess
2015-10-27use execProcessConcurrent everywhereJoey Hess
Found a reasonable clean way to make Utility.Process use execProcessConcurrent, while still allowing copying updates to it from git-annex.
2015-10-27concurrent version of createProcessJoey Hess
Have not yet wired everything up to use this, that currently uses Utility.Process.
2015-10-27make Propellor.Message use lock to handle concurrent threads outputting messagesJoey Hess
Not yet handled: Output from concurrent programs.
2015-10-27use a shared global for the MessageHandleJoey Hess
2015-09-13Follow some hlint suggestions.Mario Lang
2015-04-29remove unused importJoey Hess
2014-11-26avoid crash on no propellor.debug settingJoey Hess
2014-11-25propellor.debug can be set in the git config to enable more persistent ↵Joey Hess
debugging output.
2014-11-19sigel didn't work outJoey Hess
Unicode output failed in docker, due to no locales, and would be generally shakey from haskell in all the environments propellor needs to run in.
2014-11-19propellor spinJoey Hess
2014-11-19propellor spinJoey Hess
2014-11-19unicode ahoyJoey Hess
2014-11-18reorgJoey Hess
2014-11-18fix color display when running propellor inside dockerJoey Hess
2014-11-18Run remote propellor --spin with a controlling terminal.Joey Hess
Avoids need for hack to make ansi colors work, but also things like apt-get and wget process bars will be displayed.
2014-11-18ssh won't allocate a tty; work aroundJoey Hess
stdin is not a terminal, drat ssh I don't much like this workaround
2014-11-18propellor spinJoey Hess
2014-11-18can't rely on TERM; use hIsTerminalDeviceJoey Hess
This calls an ioctl, I don't think it's very expensive.
2014-11-18Avoid outputting color setting sequences when not run on a terminal.Joey Hess
Currently TERM is checked for every message. Could be memoized, but it would add complexity, and typical propellor output is not going to be more than a few hundred messages, and likely this will be swamped by the actual work.
2014-07-07propellor spinJoey Hess
2014-07-07propellor spinJoey Hess
2014-05-31propellor spinJoey Hess
2014-05-14moved source code to srcJoey Hess
This is to work around OSX's brain-damange regarding filename case insensitivity. Avoided moving config.hs, because it's a config file. Put in a symlink to make build work.