summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt.hs
AgeCommit message (Collapse)Author
2017-02-02AptPrefPackage typeSean Whitton
2017-02-02Apt.pinnedTo uses File.configFileNameSean Whitton
2017-01-31more spacingSean Whitton
2017-01-31neaten the prefs file Apt.pinnedTo generatesSean Whitton
2017-01-31spacingSean Whitton
2017-01-31describe Apt.pinnedToSean Whitton
2017-01-31pass a tuple to Apt.pinnedToSean Whitton
This permits calling Apt.pinnedTo infix
2017-01-31suiteAvailablePinned avoids pinning backportsSean Whitton
2017-01-31implement Apt.pinnedToSean Whitton
2017-01-30commented hackingSean Whitton
2017-01-30TODOSean Whitton
2017-01-30fix swapped sourceFile & prefFileSean Whitton
2017-01-30refactor to fix type errorsSean Whitton
2017-01-30pin even if hostSuite == suiteSean Whitton
2017-01-30tweak stubSean Whitton
2017-01-30implement suiteAvailablePinnedSean Whitton
2017-01-30pin property prototypesSean Whitton
2017-01-19add Apt.noPDiffsSean Whitton
2016-06-18Really make Apt.install fail when asked to install a package that apt does ↵Joey Hess
not know about
2016-06-17Apt.install: When asked to install a package that apt does not know about, ↵Joey Hess
it used to incorrectly succeed. Now it will fail.
2016-06-13add DebianKernel datatypeFélix Sipma
(cherry picked from commit 3590a1241580ddcdd153e2619a3c02ce18a8db8c but without the changes to src/Propellor/Precompiled.hs)
2016-04-05Apt.unattendedUpgrades: mail rootFélix Sipma
2016-04-05add commentsJoey Hess
2016-04-05Apt: add periodicUpdatesFélix Sipma
2016-03-30Merge branch 'master' into typed-os-requirementsJoey Hess
2016-03-30Apt.update: Also run dpkg --configure -a here as apt for some reason won't ↵Joey Hess
even update if dpkg was interrupted.
2016-03-28propellor spinJoey Hess
2016-03-28backports are debian onlyJoey Hess
2016-03-25cleanup warningsJoey Hess
2016-03-25much simpler and more type safe implementation of Apt.robustly, using fallback!Joey Hess
2016-03-25ported Property.AptJoey Hess
2016-03-07add unsupportedOSJoey Hess
2016-03-01Apt: hlint fixesFélix Sipma
(cherry picked from commit 3682285c696ff24169f2bdaad6fbbea6a561b560)
2016-03-01Apt: fix typoFélix Sipma
(cherry picked from commit 0e076fbfaa4d57f8d665436243d20bb9e28cbebc)
2016-02-29run dpkg --configure with non-interactive envJoey Hess
2016-02-29forgot to build; fixJoey Hess
2016-02-29apt upgrade improvementsJoey Hess
* Apt.upgrade: Run dpkg --configure -a first, to recover from interrupted upgrades. * Apt: Add safeupgrade.
2016-02-07Delete /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist when ↵Joey Hess
unattended-upgrades is installed, to work around #812380 which results in many warnings from apt, including in cron mails.
2015-12-19Clean build with ghc 7.10.Joey Hess
Import Prelude after modules that cause warnings due to AMP change
2015-12-06allow using `check` on a UncheckedProperty, which yields a PropertyJoey Hess
2015-12-06Apt.cacheCleaned was trivial, force NoChangeJoey 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-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)