From 2ba4b6fb3d29b2b65aa60f4bd591ed8cf6a63e27 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 26 Feb 2017 15:27:22 -0400 Subject: Added ConfigurableValue type class * Added ConfigurableValue type class, for values that can be used in a config file, or to otherwise configure a program. * The val function converts such values to String. This was motivated by the bug caused by type Port = Int changing to newtype Port = Port Int deriving Show After that change, some things that used show port to generate config files were broken. By using the ConfigurableValue type class instead, such breakage can be prevented. --- propellor.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'propellor.cabal') diff --git a/propellor.cabal b/propellor.cabal index 345b51dd..54011d26 100644 --- a/propellor.cabal +++ b/propellor.cabal @@ -171,6 +171,7 @@ Library Propellor.EnsureProperty Propellor.Exception Propellor.Types + Propellor.Types.ConfigurableValue Propellor.Types.Core Propellor.Types.Chroot Propellor.Types.CmdLine -- cgit v1.3-2-g0d8e From b9152d52439b5f2ba5ac9c4e0d6cf5e83fb4561a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 1 Mar 2017 16:46:23 -0400 Subject: releasing package propellor version 3.4.0 --- debian/changelog | 4 ++-- propellor.cabal | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'propellor.cabal') diff --git a/debian/changelog b/debian/changelog index 4763281e..480d8862 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -propellor (3.4.0) UNRELEASED; urgency=medium +propellor (3.4.0) unstable; urgency=medium * Added ConfigurableValue type class, for values that can be used in a config file, or to otherwise configure a program. @@ -13,7 +13,7 @@ propellor (3.4.0) UNRELEASED; urgency=medium used to use the github mirror, and has been changed to use a different mirror. - -- Joey Hess Sun, 26 Feb 2017 15:15:33 -0400 + -- Joey Hess Wed, 01 Mar 2017 16:44:20 -0400 propellor (3.3.1) unstable; urgency=medium diff --git a/propellor.cabal b/propellor.cabal index 54011d26..27ed063a 100644 --- a/propellor.cabal +++ b/propellor.cabal @@ -1,5 +1,5 @@ Name: propellor -Version: 3.3.1 +Version: 3.4.0 Cabal-Version: >= 1.8 License: BSD2 Maintainer: Joey Hess -- cgit v1.3-2-g0d8e From 4c3d63d9dd9d97ebb3d728de21f5651d17828ebf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 1 Mar 2017 16:50:40 -0400 Subject: Fixed https url to propellor git repository. --- debian/changelog | 6 ++++++ propellor.cabal | 2 +- src/Propellor/DotDir.hs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'propellor.cabal') diff --git a/debian/changelog b/debian/changelog index 480d8862..485cb9d9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +propellor (3.4.1) unstable; urgency=medium + + * Fixed https url to propellor git repository. + + -- Joey Hess Wed, 01 Mar 2017 16:50:05 -0400 + propellor (3.4.0) unstable; urgency=medium * Added ConfigurableValue type class, for values that can be used in a diff --git a/propellor.cabal b/propellor.cabal index 27ed063a..9e7d8479 100644 --- a/propellor.cabal +++ b/propellor.cabal @@ -1,5 +1,5 @@ Name: propellor -Version: 3.4.0 +Version: 3.4.1 Cabal-Version: >= 1.8 License: BSD2 Maintainer: Joey Hess diff --git a/src/Propellor/DotDir.hs b/src/Propellor/DotDir.hs index f5c20d36..ffde705c 100644 --- a/src/Propellor/DotDir.hs +++ b/src/Propellor/DotDir.hs @@ -50,7 +50,7 @@ upstreambranch = "upstream/master" -- Using the joeyh.name mirror of the main propellor repo because -- it is accessible over https for better security. netrepo :: String -netrepo = "https://git.joeyh.name/propellor.git" +netrepo = "https://git.joeyh.name/git/propellor.git" dotPropellor :: IO FilePath dotPropellor = do -- cgit v1.3-2-g0d8e