GNU bug report logs - #33495
[PATCH] Add Rclone

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Sun, 25 Nov 2018 00:26:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

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 33495 in the body.
You can then email your comments to 33495 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#33495; Package guix-patches. (Sun, 25 Nov 2018 00:26:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 25 Nov 2018 00:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: guix-patches <at> gnu.org
Subject: [PATCH] Add Rclone
Date: Sun, 25 Nov 2018 01:25:23 +0100
[Message part 1 (text/plain, inline)]
Hello,

The following patch adds Rclone. Feedback welcome.

Regards,

-- 
Nicolas Goaziou
[0001-gnu-Add-rclone.patch (text/x-diff, inline)]
From 65b81cd2481a83b9515e4c2930dc0c6f53ee1aa5 Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Sun, 25 Nov 2018 01:14:28 +0100
Subject: [PATCH] gnu: Add rclone.

* gnu/packages/sync.scm (rclone): New variable.
---
 gnu/packages/sync.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index e0b0af3d9..8f13b5dd2 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -22,6 +22,7 @@
 (define-module (gnu packages sync)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system meson)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -243,3 +244,45 @@ over the Internet in an HTTP and CDN friendly way;
 @item An efficient backup system.
 @end itemize\n")
     (license license:lgpl2.1+)))
+
+(define-public rclone
+  (package
+    (name "rclone")
+    (version "1.45")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ncw/rclone.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "06xg0ibv9pnrnmabh1kblvxx1pk8h5rmkr9mjbymv497sx3zgz26"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/ncw/rclone"
+       #:install-source? #f
+       (modify-phases %standard-phases
+         ;; Fix failure during "check" phase: "/homeless-shelter: permission
+         ;; denied".
+         (add-after 'unpack 'set-home-directory
+           (lambda _ (setenv "HOME" "/tmp") #t)))))
+    (synopsis "@code{rsync} for cloud storage")
+    (description "@code{Rclone} is a command line program to sync files and
+directories to and from different cloud storage providers.
+
+Features include:
+@itemize
+@item MD5/SHA1 hashes checked at all times for file integrity
+@item Timestamps preserved on files
+@item Partial syncs supported on a whole file basis
+@item Copy mode to just copy new/changed files
+@item Sync (one way) mode to make a directory identical
+@item Check mode to check for file hash equality
+@item Can sync to and from network, e.g., two different cloud accounts
+@item Optional encryption (Crypt)
+@item Optional cache (Cache)
+@item Optional FUSE mount (rclone mount)
+@end itemize")
+    (home-page "https://rclone.org/")
+    (license license:expat)))
-- 
2.19.2


Information forwarded to guix-patches <at> gnu.org:
bug#33495; Package guix-patches. (Tue, 27 Nov 2018 11:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 33495 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 33495 <at> debbugs.gnu.org
Subject: Re: [bug#33495] [PATCH] Add Rclone
Date: Tue, 27 Nov 2018 12:05:45 +0100
Hello,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:

>>From 65b81cd2481a83b9515e4c2930dc0c6f53ee1aa5 Mon Sep 17 00:00:00 2001
> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
> Date: Sun, 25 Nov 2018 01:14:28 +0100
> Subject: [PATCH] gnu: Add rclone.
>
> * gnu/packages/sync.scm (rclone): New variable.

LGTM, thanks!

Ludo’.




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Tue, 27 Nov 2018 20:41:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
bug acknowledged by developer. (Tue, 27 Nov 2018 20:41:02 GMT) Full text and rfc822 format available.

Message #13 received at 33495-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 33495-done <at> debbugs.gnu.org
Subject: Re: [bug#33495] [PATCH] Add Rclone
Date: Tue, 27 Nov 2018 21:41:09 +0100
Hello,

ludo <at> gnu.org (Ludovic Courtès) writes:

> Hello,
>
> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> skribis:
>
>>>From 65b81cd2481a83b9515e4c2930dc0c6f53ee1aa5 Mon Sep 17 00:00:00 2001
>> From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
>> Date: Sun, 25 Nov 2018 01:14:28 +0100
>> Subject: [PATCH] gnu: Add rclone.
>>
>> * gnu/packages/sync.scm (rclone): New variable.
>
> LGTM, thanks!

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 26 Dec 2018 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.