summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Obnam.hs
AgeCommit message (Collapse)Author
2017-10-19Use isUnpopulated when creating a chroot or restoring a backupignore-lost-n-foundNicolas Schodet
2017-08-22deprecate attic and obnamJoey Hess
* Attic module is deprecated and will warn when used. Attic is no longer available in Debian and appears to have been mostly supersceded by Borg. * Obnam module is deprecated and will warn when used. Obnam has been retired by its author. Keeping the modules in propellor for now; propellor supports debian oldstable which still has attic in it, and obnam is not gone yet. This commit was sponsored by Francois Marier on Patreon.
2017-02-26use val instead of showJoey Hess
2016-05-17add descriptionsJoey Hess
2016-03-26more portingJoey Hess
2016-02-19Obnam: Only let one backup job run at a time when a host has multiple ↵Joey Hess
different backup properties, to avoid concurrent jobs fighting over scarce resources (particularly memory). Other jobs block on a lock file.
2016-02-07fix warningJoey Hess
2016-02-07force-lock fails when repo doesn't exist, so don't && itJoey Hess
2016-02-06Obnam: To cause old generations to be forgotten, keepParam can be passed to ↵Joey Hess
a backup property; this causes obnam forget to be run.
2015-10-10propellor spinJoey Hess
2015-05-27Export 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-04-25Removed Obnam.latestVersion which was only needed for Debian wheezy backport.Joey Hess
2015-04-22API change: Added User and Group newtypes, and Properties that used to use ↵Joey Hess
the type UserName = String were changed to use them. Note that UserName is kept and PrivData still uses it in its sum type. This is to avoid breaking PrivData serialization.
2015-02-01propellor spinJoey Hess
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-11-15Convert GpgKeyId to newtypeJoey Hess
2014-11-15add Obnam backupEncryptedJoey Hess
This after I typoed an obnam setup and accidentially had a repo that was backing up non-encrypted.
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-07-17propellor spinJoey Hess
2014-06-06propellor spinJoey Hess
2014-06-06propellor spinJoey Hess
2014-06-01propellor spinJoey 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.