summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2015-12-05formatJoey Hess
2015-12-05remove trivialJoey Hess
2015-12-05UncheckedProperty for cmdProperty et alJoey Hess
* Properties that run an arbitrary command, such as cmdProperty and scriptProperty are converted to use UncheckedProperty, since they cannot tell on their own if the command truely made a change or not. (API Change) Transition guide: - When GHC complains about an UncheckedProperty, add: `assume` MadeChange - Since these properties used to always return MadeChange, that change is always safe to make. - Or, if you know that the command should modifiy a file, use: `changesFile` filename * A few properties have had their Result improved, for example Apt.buldDep and Apt.autoRemove now check if a change was made or not.
2015-12-05Added UncheckedProperty type, along with unchecked to indicate a Property ↵Joey Hess
needs its result checked, and checkResult and changesFile to check for changes.
2015-11-26Added Propellor.Property.Fail2Ban.Joey Hess
2015-11-26Added changesFile property combinator.Joey Hess
2015-11-26changelogJoey Hess
2015-11-25Added Postfix.saslPasswdSet.Joey Hess
2015-11-24User.hasDesktopGroups changed to avoid trying to add the user to groups that ↵Joey Hess
don't exist. This is the same method user-setup uses.
2015-11-24prep releaseJoey Hess
2015-11-24Added User.hasDesktopGroups property.Joey Hess
Based on a property in spwhitton's config, but rewritten.
2015-11-24change joeyconfig back after merging from masterJoey Hess
2015-11-24changelogJoey Hess
2015-11-21Merge branch 'joeyconfig'Joey Hess
2015-11-21changelogJoey Hess
2015-11-20changelogJoey Hess
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-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-08prep releaseJoey Hess
2015-11-01Merge branch 'joeyconfig'Joey Hess
2015-10-29merge patch from Santiago VilaJoey 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-28fix memory leak, and optimise when command output is very largeJoey Hess
2015-10-28wordingJoey 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-28concurrency docsJoey Hess
2015-10-27make Propellor.Message use lock to handle concurrent threads outputting messagesJoey Hess
Not yet handled: Output from concurrent programs.
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-26changelogJoey Hess
2015-10-26Merge branch 'joeyconfig'Joey 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-23Merge branch 'joeyconfig'Joey Hess
2015-10-23prep releaseJoey Hess
2015-10-23Hostname.sane and Hostname.setTo can now safely be used as a property of a ↵Joey Hess
chroot, and won't affect the hostname of the host system.
2015-10-23generalize checkJoey Hess
Hmm, do I really need my own type class for LiftPropellor? This seems like a general problem so I am probably reinventing the wheel.
2015-10-23Merge branch 'joeyconfig'Joey Hess
2015-10-23API change..Joey Hess
2015-10-23Changed how the operating system is provided to Chroot (API change).Joey Hess
* Where before debootstrapped and bootstrapped took a System parameter, the os property should now be added to the Chroot. * Follow-on change to Systemd.container, which now takes a System parameter. Two motivations for this change: 1. When using ChrootTarball, there may be no particular System that makes sense for the contents of the tarball, so don't force the user to specify one. 2. When creating a chroot for a disk image with the same properties as an existing Host, using hostProperties host to get them, this allows inheriting the os property from the host, and doesn't require it to be redundantly passed to Chroot.debootstrapped.
2015-10-23changelogJoey Hess
2015-10-23Merge branch 'joeyconfig'Joey Hess
2015-10-23HostName: Improve domain extraction code.Joey Hess
2015-10-23Merge branch 'joeyconfig'Joey Hess
2015-10-23HostName: Improve domain extraction code.Joey Hess