From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Superseded packages Date: Tue, 20 Sep 2016 17:18:33 -0400 Message-ID: <20160920211833.GA3354@jasmine> References: <20160904021256.GA21539@jasmine> <874m5vvmi8.fsf@we.make.ritual.n0.is> <20160904184416.GB29947@jasmine> <87d1kirc4r.fsf@gnu.org> <87vay8r9r3.fsf_-_@gnu.org> <20160910172514.GA28562@jasmine> <87a8felfb9.fsf@gnu.org> <20160911151945.GB6400@jasmine> <87bmzujhn7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmSRH-00070g-Q5 for guix-devel@gnu.org; Tue, 20 Sep 2016 17:18:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmSRE-0006kV-0K for guix-devel@gnu.org; Tue, 20 Sep 2016 17:18:51 -0400 Content-Disposition: inline In-Reply-To: <87bmzujhn7.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org --wzJLGUyc3ArbnUjN Content-Type: multipart/mixed; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 11, 2016 at 10:39:08PM +0200, Ludovic Court=C3=A8s wrote: > > There are other incompatibilities, for example in the repository format. > > Borg provides a `borg upgrade` tool that performs a one-way conversion > > of Attic repos to Borg repos. Just creating an 'attic -> borg' alias > > would not be enough; any automated backup scripts would still fail. >=20 > Then I don=E2=80=99t know. Either we mark Attic as superseded by Borg an= yway, > or we need another mechanism to mark a package as =E2=80=9Cdiscouraged=E2= =80=9D? I've attached a patch that marks Attic as superseded by Borg. I'd like to put it on core-updates. That way, we can mention it in the release notes of the next Guix release, and hopefully people will notice the change. WDYT? --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-attic-Superseded-by-borg.patch" Content-Transfer-Encoding: quoted-printable =46rom 374f81963d3ba4ec4a5e48c12848032ca8085aaf Mon Sep 17 00:00:00 2001 =46rom: Leo Famulari Date: Tue, 20 Sep 2016 16:59:59 -0400 Subject: [PATCH] gnu: attic: Superseded by borg. * gnu/packages/backup.scm (attic): Superseded by borg. * gnu/packages/python.scm (python-llfuse-0.41): Remove variable. --- gnu/packages/backup.scm | 47 +++++----------------------------------------= -- gnu/packages/python.scm | 16 ---------------- 2 files changed, 5 insertions(+), 58 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index dcab95f..c5908c8 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -321,48 +321,6 @@ to a remote location, and only the differences will be= transmitted. Finally, rdiff-backup is easy to use and settings have sensible defaults.") (license license:gpl2+))) =20 -(define-public attic - (package - (name "attic") - (version "0.16") - (source (origin - (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/A/Attic/Attic= -" - version ".tar.gz")) - (sha256 - (base32 - "0b5skd36r4c0915lwpkqg5hxm49gls9pprs1b7hc40910wlcsl36")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before - 'build 'set-openssl-prefix - (lambda* (#:key inputs #:allow-other-keys) - (setenv "ATTIC_OPENSSL_PREFIX" (assoc-ref inputs "openssl")) - #t))))) - (inputs - `(("acl" ,acl) - ("openssl" ,openssl) - ("python-msgpack" ,python-msgpack) - - ;; Attic is probably incompatible with llfuse > 0.41. - ;; These links are to discussions of llfuse compatibility from - ;; the borg project. Borg is a recent fork of attic, and attic - ;; has not been updated since the fork, so it's likely that - ;; llfuse compatibility requirements are still the same. - ;; https://github.com/borgbackup/borg/issues/642 - ;; https://github.com/borgbackup/borg/issues/643 - ("python-llfuse" ,python-llfuse-0.41))) - (synopsis "Deduplicating backup program") - (description "Attic is a deduplicating backup program. The main goal = of -Attic is to provide an efficient and secure way to backup data. The data -deduplication technique used makes Attic suitable for daily backups since = only -changes are stored.") - (home-page "https://attic-backup.org/") - (license license:bsd-3))) - (define-public libchop (package (name "libchop") @@ -456,3 +414,8 @@ stored. The authenticated encryption technique makes i= t suitable for backups to not fully trusted targets. Borg is a fork of Attic.") (home-page "https://borgbackup.github.io/borgbackup/") (license license:bsd-3))) + +(define-public attic + (package (inherit borg) + (name "attic") + (properties `((superseded . ,borg))))) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f6ea28d..557e1d6 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -5516,22 +5516,6 @@ should be stored on various operating systems.") (strip-python2-variant python-llfuse))) (propagated-inputs `(("python2-contextlib2" ,python2-contextlib2))))) =20 -;; For attic-0.16 -(define-public python-llfuse-0.41 - (package (inherit python-llfuse) - (version "0.41.1") - (source (origin - (method url-fetch) - (uri (string-append - "https://bitbucket.org/nikratio/python-llfuse/download= s/" - "llfuse-" version ".tar.bz2")) - (sha256 - (base32 - "1imlqw9b73086y97izr036f58pgc5akv4ihc2rrf8j5h75jbrlaa")))) - ;; Python-LLFUSE < 0.42 includes underscore.js, which is MIT (expat) - ;; licensed. The rest of the package is licensed under LGPL2.0 or lat= er. - (license (list license:expat license:lgpl2.0+)))) - (define-public python-msgpack (package (name "python-msgpack") --=20 2.10.0 --6TrnltStXW4iwmi0-- --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX4aelAAoJECZG+jC6yn8IUOgP/1Frf3cIh7Gd4/RK9lCcwD5y 6nEcEQ6AJQokktc5r5rxLH3AjamchI7OLPZUXXzzkp1gAyne8uvpje6q9UCJjExw k1oX26V2i8zKXI4h9QrD8HmAob3Oq3n3xwW+eLw7fPtDZ31i8xoUSA71TULYUxif xm9x+PrdqKnqaz2Dhyc6/AafYbZEnGzw3GZH9KBeNQXCt4DXCCM/VfmurJQsp58+ 3FjJBXFYzt9Gd/iQzyN9tUHwis6CAAJwP4K482+R4AM4U+rJXo5NkvnPsH5YSi3Q IqADzTNojtMwQ3ftIIIOjDp6i1Zk7Ej9IT+h79gKjyTM49WQP+aBpNMjKphLXQE1 0Qd810sAS+9nxyRdx+psunx0lH/4AfHCTCtlpVZP2tPb8MzkQtxlsPQRbuCsnIou 0a3zIewgS0QCIgmsl59tn2Any0ybinbxeIj3SPG+mVNWTDTqJB8QEZ4pcfq4oSWj SKM8p9DYK6J/j7OcW7XONeHuQTqn9Qiq9teBNv+qBNahW7cex4f5iukXvjjPW9D1 E58c8x4vhFQZzBbHmKfRjdg8xOrD/bo7CtY8Ht+zgM58K+FWOWtOgzofABCVlxXl vwdVoZ27ICCRmXrr1r70PfiEhjdC5K8eR9HNLH1Ud0/rS4YThbJa4OQsoKb1p/Rs XP56w8+wl5BkP2tXzRsY =MS+2 -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--