summaryrefslogtreecommitdiff
path: root/src/Propellor
AgeCommit message (Collapse)Author
2015-11-24refactorJoey Hess
2015-11-24fix indentJoey Hess
2015-11-24Git.repoConfigured and Git.repoAcceptsNonFFs propsSean Whitton
The latter is useful when setting up Git hosting using the Git.bareRepo property. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name> (cherry picked from commit cf3b48217a78460758615b52849e2b717ec24de9)
2015-11-21Merge branch 'joeyconfig'Joey Hess
2015-11-21DebianMirror: use a lensy approach to set values of a DebianMirrorFélix Sipma
(cherry picked from commit 359e449157f831bbd22a212d618b6762a58b47de)
2015-11-21DebianMirror: add DebianMirror typeFélix Sipma
(cherry picked from commit 82d949506dbadabff7d62de85a2f601b9d5755cc)
2015-11-20DebianMirror: add a [RsyncExtra] argumentFélix Sipma
(cherry picked from commit baff70140cbf3f6113439335b96f3016f261a6a0)
2015-11-20DebianMirror: debmirror --host argument should be a hostname, not an urlFélix Sipma
(cherry picked from commit f0e374b4a43db750868f1ca4ccc465cee5691748)
2015-11-17Removed the (unused) dependency on quickcheck.Joey Hess
2015-11-17DiskImage creation automatically uses Chroot.noServices.Joey Hess
2015-11-17Added Chroot.noServices property.Joey Hess
2015-11-17export for haddockJoey Hess
2015-11-11Merge branch 'joeyconfig'Joey Hess
2015-11-11rename for clarityJoey Hess
2015-11-11Merge branch 'joeyconfig'Joey Hess
2015-11-11Add Propellor.Property.PropellorRepo.hasUrl, an explicit way to set the git ↵Joey Hess
repository url normally implicitly set when using --spin.
2015-11-08Merge branch 'joeyconfig'Joey Hess
2015-11-01merge from concurrent-outputJoey Hess
2015-11-01run editor processes in foregroundJoey Hess
2015-11-01a few tweaks for concurrent outputJoey Hess
Force console mode when --spin calls SimpleRun
2015-11-01Revert "propellor spin"Joey Hess
This reverts commit 2891006d9f18b9f50b7d8dfc6d32e326499913f0.
2015-11-01propellor spinJoey Hess
2015-11-01Merge branch 'joeyconfig'Joey Hess
2015-11-01take dkim out of test modeJoey Hess
2015-10-29generalize what can be outputJoey 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-28propellor spinJoey Hess
2015-10-28propellor spinJoey Hess
2015-10-28have to flush concurrent output before printing result when chainingJoey Hess
2015-10-28fix bad MVar use, use STMJoey 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-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-28remove debugJoey Hess
Found problem.. actionMessage is blocking.
2015-10-28propellor spinJoey Hess
2015-10-28propellor spinJoey Hess
2015-10-28propellor spinJoey Hess
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-10-27Explicit Info/NoInfo for RevertableProperty (API change)Joey Hess
RevertableProperty used to be assumed to contain info, but this is now made explicit, with RevertableProperty HasInfo or RevertableProperty NoInfo. Transition guide: - If you define a RevertableProperty, expect some type check failures like: "Expecting one more argument to ‘RevertableProperty’". - Change it to "RevertableProperty NoInfo" - The compiler will then tell you if it needs "HasInfo" instead. - If you have code that uses the RevertableProperty constructor that fails to type check, use the more powerful <!> operator
2015-10-26Merge branch 'joeyconfig'Joey Hess
2015-10-26Add File.isCopyOfPer Olofsson
Signed-off-by: Per Olofsson <pelle@dsv.su.se>
2015-10-24propellor spinJoey Hess
2015-10-24improve RevertableProperty combiningJoey Hess
* Various property combinators that combined a RevertableProperty with a non-revertable property used to yield a RevertableProperty. This was a bug, because the combined property could not be fully reverted in many cases. Fixed by making the combined property instead be a Property HasInfo. * combineWith now takes an addional parameter to control how revert actions are combined (API change).
2015-10-24Added Propellor.Property.Concurrent for concurrent properties.Joey Hess
Note that no output multiplexing is currently done.
2015-10-24simpliftJoey Hess
2015-10-23Merge branch 'joeyconfig'Joey Hess
2015-10-23commentsJoey Hess