summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
AgeCommit message (Collapse)Author
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-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-10propellor spinJoey Hess
2015-10-08Add Apt.hasForeignArch.Per Olofsson
Signed-off-by: Per Olofsson <pelle@dsv.su.se>
2015-09-13avoid running debconf-set-selections on [] and add some types for documentationJoey Hess
2015-09-13Follow some hlint suggestions.Mario Lang
2015-05-07cmdProperty' renamed to cmdPropertyEnv to make way for a new, more generic ↵Joey Hess
cmdProperty' (API change)
2015-04-19debCdn changed to new httpredir.debian.org official replacement for ↵Joey Hess
http.debian.net.
2015-01-25remove toSimplePropJoey Hess
It didn't do what I thought it did with a RevertableProperty; it always returned Nothing because even if the input properties to <!> are NoInfo, it casts them to HasInfo. Even if it had worked, it lost type safety. Better to export the Property NoInfo that is used in a RevertableProperty, so it can be used directly.
2015-01-24GADT properties seem to work (untested)Joey Hess
* Property has been converted to a GADT, and will be Property NoInfo or Property HasInfo. This was done to make sure that ensureProperty is only used on properties that do not have Info. Transition guide: - Change all "Property" to "Property NoInfo" or "Property WithInfo" (The compiler can tell you if you got it wrong!) - To construct a RevertableProperty, it is useful to use the new (<!>) operator - Constructing a list of properties can be problimatic, since Property NoInto and Property WithInfo are different types and cannot appear in the same list. To deal with this, "props" has been added, and can built up a list of properties of different types, using the same (&) and (!) operators that are used to build up a host's properties.
2014-12-09improve haddock formating of filenamesJoey Hess
2014-12-01Run apt-cache policy with LANG=C.Joey Hess
2014-11-11Apt: stable-updates suiteFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2014-10-10debCdn switched from cdn.debian.net to http.debian.net, which seems to be ↵Joey Hess
better managed now. Conflicts: debian/changelog
2014-10-10stable suite changesJoey Hess
* Avoid encoding the current stable suite in propellor's code, since that poses a difficult transition around the release, and can easily be wrong if an older version of propellor is used. Instead, the os property for a stable system includes the suite name to use, eg Stable "wheezy". * stdSourcesList uses the stable suite name, to avoid unwanted immediate upgrades to the next stable release.
2014-06-10cacheCleaned is trivialJoey Hess
2014-06-05Apt.stdSourcesList no longer needs a suite to be specified.Joey Hess
2014-06-05fix os attributeJoey Hess
2014-06-05propellor spinJoey Hess
2014-06-01propellor spinJoey Hess
2014-05-18really fix use of suiteJoey Hess
2014-05-18fix use of suiteJoey Hess
2014-05-18Fix unattended-upgrades config for !stable.Joey 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.