| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-04-28 | Fix build with directory-1.2.6.2. | Joey Hess | |
| It's now exporting a conflicting isSymbolicLink https://github.com/haskell/directory/issues/52 Only a few places in propellor use isSymbolicLink, but to prevent future problems, made as much of it as possible import Utility.Directory, which re-exports System.Directory without the conflicting symbol. (Utility.Tmp and System.Console.Concurrent.Internal cannot import Utility.Directory due to cycles, and don't use isSymbolicLink anyway.) | |||
| 2016-03-06 | build with older ghc | Joey Hess | |
| 2016-03-06 | Force ssh, scp, and git commands to be run in the foreground. | Joey Hess | |
| Before, they could run in the background if another process was running, and so their output wouldn't immediately be visible. With this change, the concurrent-output layer is not used for these interactive commands. | |||
| 2016-03-06 | refactor | Joey Hess | |
| 2015-12-15 | Merged Utility changes from git-annex. | Joey Hess | |
| 2015-12-15 | merge from git-annex | Joey Hess | |
| withTmpDir security fix in git-annex merged Fix potential denial of service attack when creating temp dirs. withTmpDir now makes directory mode 700. AFAICS, propellor didn't leak any info with the old permissions, and no uses of withTmpDir in propellor are broken by the new permissions. | |||
| 2015-11-24 | merge fix from gix-annex | Joey Hess | |
| 2015-11-17 | Removed the (unused) dependency on quickcheck. | Joey Hess | |
| 2015-11-01 | merge from concurrent-output | Joey Hess | |
| 2015-11-01 | merge from concurrent-output | Joey Hess | |
| 2015-11-01 | merge changes from concurrent-output | Joey Hess | |
| 2015-10-29 | generalize what can be output | Joey Hess | |
| This adds a dependency on Text, but I don't mind propellor depending on it and am somewhat surprised it doesn't already. Using Text also lets this use encodeUtf8 instead of the nasty hack it was using to go from String -> ByteString. | |||
| 2015-10-28 | example | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | have to flush concurrent output before printing result when chaining | Joey Hess | |
| 2015-10-28 | export lockOutput | Joey Hess | |
| 2015-10-28 | remove externals | Joey Hess | |
| 2015-10-28 | better lock taking using STM, and wait for concurrent processes writer ↵ | Joey Hess | |
| threads on shutdown | |||
| 2015-10-28 | remove debug code | Joey Hess | |
| 2015-10-28 | fix memory leak, and optimise when command output is very large | Joey Hess | |
| 2015-10-28 | fix buffer order | Joey Hess | |
| Build it up reversed, and reverse when processing. | |||
| 2015-10-28 | work around waitForProcess race condition | Joey Hess | |
| https://github.com/haskell/process/issues/46 | |||
| 2015-10-28 | fix tricky race | Joey Hess | |
| Race between 2 calls to takeOutputLock'. The first call empties the TMVar, and does some work to check it. Meanwhile, the second call could sneak in, see it was empty, and call waitlock. Since waitlock used tryTakeTMVar, that would not block it, and it would think it had the lock, filling the TMVar. In the meantime, the first call could decide it had to lock and go on to possibly cause trouble. | |||
| 2015-10-28 | fix bad MVar use, use STM | Joey Hess | |
| I had 2 MVars both involved in the same lock, and it seemed intractable to avoid deadlocks with them. STM makes it easy. At this point, the concurrent process stuff seems to work pretty well, but I'm not 100% sure it's not got some bugs. | |||
| 2015-10-28 | need withConcurrentOutput to flush any buffered concurrent output | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | use outputConcurrent interface | Joey 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-28 | propellor spin | Joey Hess | |
| 2015-10-28 | propellor spin | Joey Hess | |
| 2015-10-28 | improve comment | Joey Hess | |
| 2015-10-28 | don't truncate over-large output; swap to temp files | Joey Hess | |
| 2015-10-28 | split out generic ConcurrentOutput module to Utility | Joey Hess | |
| 2015-10-27 | use execProcessConcurrent everywhere | Joey Hess | |
| Found a reasonable clean way to make Utility.Process use execProcessConcurrent, while still allowing copying updates to it from git-annex. | |||
| 2015-10-27 | merge from git-annex | Joey Hess | |
| 2015-09-15 | avoid a change to readProcess that I regretted in the morning | Joey Hess | |
| Seems better to keep handle encoding issues out of that module. | |||
| 2015-09-14 | Allow storing arbitrary ByteStrings in PrivData, extracted using ↵ | Joey Hess | |
| privDataByteString. | |||
| 2015-09-13 | merge from git-annex | Joey Hess | |
| 2015-09-13 | Follow some hlint suggestions. | Mario Lang | |
| 2015-06-01 | remove Params constructor | Joey Hess | |
| Before it gets into released API... | |||
| 2015-05-30 | export createProcess with debug logging from Propellor.Property.Cmd | Joey Hess | |
| 2015-05-27 | merge changes from git-annex | Joey Hess | |
| 2015-05-27 | Export CommandParam, boolSystem, safeSystem and shellEscape from ↵ | Joey Hess | |
| Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library. Several imports of Utility.SafeCommand now redundant. | |||
| 2015-05-27 | merge changes from git-annex | Joey Hess | |
| 2015-05-07 | merge from git-annex | Joey Hess | |
| 2015-04-29 | propellor spin | Joey Hess | |
| 2015-01-21 | Added journald configuration properties. | Joey Hess | |
| 2015-01-15 | typo; columns vs rows | Joey Hess | |
| No behavior change | |||
| 2015-01-15 | avoid unncessary padding on last column in table | Joey Hess | |
| 2015-01-06 | Merge Utiity modules from git-annex. | Joey Hess | |
| Except for a few that are using the other exception handling library, that propellor has not switched to yet. | |||
