GNU bug report logs -
#57311
[PATCH] gnu: Add snapper.
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Sat, 20 Aug 2022 21:40:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57311 in the body.
You can then email your comments to 57311 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#57311
; Package
guix-patches
.
(Sat, 20 Aug 2022 21:40:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 20 Aug 2022 21:40:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/file-systems.scm (snapper): New variable.
---
gnu/packages/file-systems.scm | 66 +++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index d326b9cc3d..41f03f686f 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -49,6 +49,7 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
@@ -59,6 +60,7 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages docbook)
#:use-module (gnu packages flex)
#:use-module (gnu packages gawk)
+ #:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
@@ -66,6 +68,8 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages m4)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages nfs)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages openldap)
@@ -85,6 +89,7 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages web)
#:use-module (gnu packages xml))
(define-public autofs
@@ -1539,6 +1544,67 @@ (define-public python-dropbox
Dropbox API v2.")
(license license:expat)))
+(define-public snapper
+ (package
+ (name "snapper")
+ (version "0.10.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/openSUSE/snapper")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0x9anracaa19yqkc0x8wangrkdrx01kdy07c55lvlqrjyimfm4ih"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "dists")
+ (delete-file-recursively "zypp-plugin")
+ (substitute* '("configure.ac" "doc/Makefile.am")
+ ((".*dists.*") "")
+ ((".*zypp-plugin.*") ""))
+ (substitute* "Makefile.am"
+ (("zypp-plugin") ""))))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relative-file-locations
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (substitute* (list "scripts/Makefile.am" "data/Makefile.am")
+ (("/usr/share") (string-append out "/share"))
+ (("/usr/lib") (string-append out "/lib"))
+ (("/etc/") (string-append out "/etc/"))))
+ (substitute* "client/Makefile.am"
+ (("/usr/lib") "@libdir@")))))))
+ (home-page "https://snapper.io")
+ (native-inputs
+ (list glibc-locales autoconf automake libtool pkg-config dbus))
+ (inputs
+ `(("btrfs" ,btrfs-progs)
+ ("e2fs" ,e2fsprogs)
+ ("libmount" ,util-linux "lib")
+ ("dbus" ,dbus)
+ ("libxml" ,libxml2)
+ ("json-c" ,json-c)
+ ("libacl" ,acl)
+ ("boost" ,boost)
+ ("libxslt" ,libxslt)
+ ("docbook-xsl" ,docbook-xsl)
+ ("gettext" ,gettext-minimal)
+ ("pam" ,linux-pam)
+ ("ncurses" ,ncurses/tinfo)))
+ (synopsis "Manage filesystem snapshots and allow roll-backs")
+ (description "\
+This package provides Snapper, a tool that helps with managing
+snapshots of Btrfs subvolumes and thin-provisioned LVM volumes. It
+can create and compare snapshots, revert differences between them, and
+supports automatic snapshots timelines.")
+ (license license:gpl2)))
+
(define-public dbxfs
(package
(name "dbxfs")
--
2.37.2
--
Best regards,
Nicolas Graves
Information forwarded
to
guix-patches <at> gnu.org
:
bug#57311
; Package
guix-patches
.
(Fri, 10 Feb 2023 16:44:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 57311 <at> debbugs.gnu.org (full text, mbox):
Quick reminder for this forgotten patch ;)
--
Best regards,
Nicolas Graves
Information forwarded
to
guix-patches <at> gnu.org
:
bug#57311
; Package
guix-patches
.
(Sat, 03 Feb 2024 13:33:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 57311 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/file-systems.scm (snapper): New variable.
---
gnu/packages/file-systems.scm | 55 +++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 4a0976ad84..be035c5ee1 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -67,6 +67,7 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages flex)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gawk)
+ #:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
@@ -82,6 +83,8 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages linux)
#:use-module (gnu packages maths)
#:use-module (gnu packages man)
+ #:use-module (gnu packages m4)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages nfs)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages openldap)
@@ -106,6 +109,7 @@ (define-module (gnu packages file-systems)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages web)
#:use-module (gnu packages xml))
(define-public autofs
@@ -1219,6 +1223,57 @@ (define-public apfs-fuse
(home-page "https://github.com/sgan81/apfs-fuse")
(license license:gpl2+))))
+(define-public snapper
+ (package
+ (name "snapper")
+ (version "0.10.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/openSUSE/snapper")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0nwmyzjwid1lf29dsr6w72dr781c81xyrjpk5y3scn4r55b5df0h"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "dists")
+ (delete-file-recursively "zypp-plugin")
+ (substitute* '("configure.ac" "doc/Makefile.am")
+ ((".*dists.*") "")
+ ((".*zypp-plugin.*") ""))
+ (substitute* "Makefile.am"
+ (("zypp-plugin") ""))))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relative-file-locations
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (substitute* (list "scripts/Makefile.am" "data/Makefile.am")
+ (("/usr/share") (string-append out "/share"))
+ (("/usr/lib") (string-append out "/lib"))
+ (("/etc/") (string-append out "/etc/"))))
+ (substitute* "client/Makefile.am"
+ (("/usr/lib") "@libdir@")))))))
+ (home-page "https://snapper.io")
+ (native-inputs
+ (list glibc-locales autoconf automake libtool pkg-config))
+ (inputs
+ (list btrfs-progs e2fsprogs `(,util-linux "lib") linux-pam
+ dbus libxml2 json-c acl boost ncurses/tinfo
+ libxslt docbook-xsl gettext-minimal))
+ (synopsis "Manage filesystem snapshots and allow roll-backs")
+ (description "\
+This package provides Snapper, a tool that helps with managing
+snapshots of Btrfs subvolumes and thin-provisioned LVM volumes. It
+can create and compare snapshots, revert differences between them, and
+supports automatic snapshots timelines.")
+ (license license:gpl2)))
+
(define-public xfstests
;; The last release (1.1.0) is from 2011.
(let ((revision "3")
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#57311
; Package
guix-patches
.
(Fri, 16 Feb 2024 21:07:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 57311 <at> debbugs.gnu.org (full text, mbox):
user guix
usertag 57311 + reviewed-looks-good
thanks
Guix QA review form submission:
- If this is btrfs-only, the synobsis should mention btrfs.
- Please re-wrap the desription to not have an escaped newline. Start
text jsut after opening quote.
Items marked as checked: Package builds, Commit messages, New package
licenses, New package tests
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel <at> crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sun, 18 Feb 2024 14:54:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
bug acknowledged by developer.
(Sun, 18 Feb 2024 14:54:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 57311-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Nicolas,
Nicolas Graves <ngraves <at> ngraves.fr> skribis:
> * gnu/packages/file-systems.scm (snapper): New variable.
Applied with the changes below, most of which suggested by Hartmut.
Thanks!
Ludo’.
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index f1035ac86a..40f1383a56 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -1250,28 +1250,41 @@ (define-public snapper
(("zypp-plugin") ""))))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'relative-file-locations
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")))
- (substitute* (list "scripts/Makefile.am" "data/Makefile.am")
- (("/usr/share") (string-append out "/share"))
- (("/usr/lib") (string-append out "/lib"))
- (("/etc/") (string-append out "/etc/"))))
- (substitute* "client/Makefile.am"
- (("/usr/lib") "@libdir@")))))))
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'relative-file-locations
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (substitute* (list "scripts/Makefile.am"
+ "data/Makefile.am")
+ (("/usr/share")
+ (string-append out "/share"))
+ (("/usr/lib")
+ (string-append out "/lib"))
+ (("/etc/")
+ (string-append out "/etc/"))))
+ (substitute* "client/Makefile.am"
+ (("/usr/lib")
+ "@libdir@")))))))
(home-page "https://snapper.io")
(native-inputs
(list glibc-locales autoconf automake libtool pkg-config))
(inputs
- (list btrfs-progs e2fsprogs `(,util-linux "lib") linux-pam
- dbus libxml2 json-c acl boost ncurses/tinfo
- libxslt docbook-xsl gettext-minimal))
- (synopsis "Manage filesystem snapshots and allow roll-backs")
- (description "\
-This package provides Snapper, a tool that helps with managing
-snapshots of Btrfs subvolumes and thin-provisioned LVM volumes. It
+ (list btrfs-progs
+ e2fsprogs
+ `(,util-linux "lib")
+ linux-pam
+ dbus
+ libxml2
+ json-c
+ acl
+ boost
+ ncurses/tinfo
+ libxslt
+ docbook-xsl
+ gettext-minimal))
+ (synopsis "Manage Btrfs file system snapshots and allow roll-backs")
+ (description "This package provides Snapper, a tool that helps with
+managing snapshots of Btrfs subvolumes and thin-provisioned LVM volumes. It
can create and compare snapshots, revert differences between them, and
supports automatic snapshots timelines.")
(license license:gpl2)))
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 18 Mar 2024 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.