packages feed

propellor 4.8.0 → 4.8.1

raw patch · 4 files changed

+17/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,3 +1,10 @@+propellor (4.8.1) unstable; urgency=medium++  * Borg: Fix propigation of exit status of borg backup.+  * Borg: Fix handling of UseSshKey.++ -- Joey Hess <id@joeyh.name>  Mon, 25 Sep 2017 17:19:49 -0400+ propellor (4.8.0) unstable; urgency=medium    * DiskImage: Made a DiskImage type class, so that different disk image
debian/changelog view
@@ -1,3 +1,10 @@+propellor (4.8.1) unstable; urgency=medium++  * Borg: Fix propigation of exit status of borg backup.+  * Borg: Fix handling of UseSshKey.++ -- Joey Hess <id@joeyh.name>  Mon, 25 Sep 2017 17:19:49 -0400+ propellor (4.8.0) unstable; urgency=medium    * DiskImage: Made a DiskImage type class, so that different disk image
propellor.cabal view
@@ -1,5 +1,5 @@ Name: propellor-Version: 4.8.0+Version: 4.8.1 Cabal-Version: >= 1.20 License: BSD2 Maintainer: Joey Hess <id@joeyh.name>
src/Propellor/Property/Borg.hs view
@@ -52,7 +52,7 @@ runBorgEnv (BorgRepo _) = [] runBorgEnv (BorgRepoUsing os _) = map go os   where-	go (UseSshKey k) = ("BORG_RSH", k)+	go (UseSshKey k) = ("BORG_RSH", "ssh -i " ++ k)  installed :: Property DebianLike installed = withOS desc $ \w o -> case o of@@ -148,7 +148,7 @@ 	cronjob = Cron.niceJob ("borg_backup" ++ dir) crontimes (User "root") "/" $ 		"flock " ++ shellEscape lockfile ++ " sh -c " ++ shellEscape backupcmd 	lockfile = "/var/lock/propellor-borg.lock"-	backupcmd = intercalate ";" $ concat+	backupcmd = intercalate "&&" $ concat 		[ concatMap exportenv (runBorgEnv repo) 		, [createCommand] 		, if null kp then [] else [pruneCommand]