From a11d4b95d53e526244fdf5e6d5913b9b442cb4e7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 22 Aug 2017 16:41:37 -0400 Subject: deprecate attic and obnam * 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. --- debian/changelog | 5 +++++ src/Propellor/Property/Attic.hs | 6 +++++- src/Propellor/Property/Obnam.hs | 5 ++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index da1dc5a9..157a7c98 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,11 @@ propellor (4.7.6) UNRELEASED; urgency=medium locales. * Locale: Display an error message when /etc/locale.gen does not contain the requested locale. + * 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. -- Joey Hess Tue, 01 Aug 2017 15:33:49 -0400 diff --git a/src/Propellor/Property/Attic.hs b/src/Propellor/Property/Attic.hs index 3059a04b..9e024356 100644 --- a/src/Propellor/Property/Attic.hs +++ b/src/Propellor/Property/Attic.hs @@ -1,8 +1,12 @@ -- | Maintainer: FĂ©lix Sipma -- -- Support for the Attic backup tool +-- +-- This module is deprecated because Attic is not available in debian +-- stable any longer (so the installed property no longer works), and it +-- appears to have been mostly supersceded by Borg. -module Propellor.Property.Attic +module Propellor.Property.Attic {-# DEPRECATED "Use Borg instead" #-} ( installed , repoExists , init diff --git a/src/Propellor/Property/Obnam.hs b/src/Propellor/Property/Obnam.hs index 66d3c08d..7943b46e 100644 --- a/src/Propellor/Property/Obnam.hs +++ b/src/Propellor/Property/Obnam.hs @@ -1,6 +1,9 @@ -- | Support for the Obnam backup tool +-- +-- This module is deprecated because Obnam has been retired by its +-- author. -module Propellor.Property.Obnam where +module Propellor.Property.Obnam {-# DEPRECATED "Obnam has been retired; time to transition to something else" #-} where import Propellor.Base import qualified Propellor.Property.Apt as Apt -- cgit v1.2.3