* bug#27125: [PATCH] gnu: Add git-remote-gcrypt
@ 2017-05-28 20:36 André
2017-05-30 16:08 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: André @ 2017-05-28 20:36 UTC (permalink / raw)
To: 27125
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
This is my first patch, so please forgive any formatting or similar.
I couldn't get git send-mail to work, so I attached the patch manually.
I hope nothing is missing
Thanks!
[-- Attachment #2: 0001-gnu-Add-git-remote-gcrypt-package.patch --]
[-- Type: text/plain, Size: 2779 bytes --]
From 65d318af9c5bbf801d47417745d0651352caf557 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Miranda?= <eu@euandre.org>
Date: Sun, 28 May 2017 13:34:10 -0300
Subject: [PATCH] gnu: Add 'git-remote-gcrypt' package
* gnu/packages/version-control.scm: Add 'git-remote-gcrypt' package.
---
gnu/packages/version-control.scm | 42 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index cd684c04e..eced2c953 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -423,6 +423,48 @@ as keys or passwords) in the same repository as your code, without requiring you
to lock down your entire repository.")
(license license:gpl3+)))
+(define-public git-remote-gcrypt
+ (package
+ (name "git-remote-gcrypt")
+ (version "1.0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.spwhitton.name/git-remote-gcrypt")
+ (commit version)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0znrx77vpm4a8l7yiybsxk5vrawijqqfxmp1p2yhaaw8cbgrj7az"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder (begin
+ (use-modules (guix build utils))
+ (let* ((source (assoc-ref %build-inputs "source"))
+ (output (assoc-ref %outputs "out"))
+ (bindir (string-append output "/bin")))
+ (install-file (string-append source "/git-remote-gcrypt")
+ bindir)
+ #t))))
+ (home-page "https://spwhitton.name/tech/code/git-remote-gcrypt/")
+ (synopsis "Whole remote repository encryption")
+ (description "git-remote-gcrypt is a git remote helper to push and pull from
+repositories encrypted with GnuPG. It works with the standard git transports,
+including repository hosting services like GitLab.
+
+Remote helper programs are invoked by git to handle network transport. This
+helper handles gcrypt:: URLs that will access a remote repository encrypted with
+GPG, using our custom format.
+
+Supported locations are local, rsync:// and sftp://, where the repository is
+stored as a set of files, or instead any <giturl> where gcrypt will store the
+same representation in a git repository, bridged over arbitrary git transport.
+
+The aim is to provide confidential, authenticated git storage and collaboration
+using typical untrusted file hosts or services.")
+ (license license:gpl3+)))
+
(define-public cgit
(package
(name "cgit")
--
2.12.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#27125: [PATCH] gnu: Add git-remote-gcrypt
2017-05-28 20:36 bug#27125: [PATCH] gnu: Add git-remote-gcrypt André
@ 2017-05-30 16:08 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-05-30 16:08 UTC (permalink / raw)
To: André; +Cc: 27125-done
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
Hello André,
André <eu@euandre.org> skribis:
> From 65d318af9c5bbf801d47417745d0651352caf557 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Andr=C3=A9=20Miranda?= <eu@euandre.org>
> Date: Sun, 28 May 2017 13:34:10 -0300
> Subject: [PATCH] gnu: Add 'git-remote-gcrypt' package
>
> * gnu/packages/version-control.scm: Add 'git-remote-gcrypt' package.
I made the minor modifications below, adjusted the commit log to match
our conventions, and pushed. Well done for a first patch! :-)
Thank you and welcome!
Ludo’.
[-- Attachment #2: Type: text/x-patch, Size: 2311 bytes --]
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index eced2c953..12fc2c6cc 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2017 André <eu@euandre.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -449,20 +450,21 @@ to lock down your entire repository.")
#t))))
(home-page "https://spwhitton.name/tech/code/git-remote-gcrypt/")
(synopsis "Whole remote repository encryption")
- (description "git-remote-gcrypt is a git remote helper to push and pull from
-repositories encrypted with GnuPG. It works with the standard git transports,
+ (description "git-remote-gcrypt is a Git remote helper to push and pull from
+repositories encrypted with GnuPG. It works with the standard Git transports,
including repository hosting services like GitLab.
-Remote helper programs are invoked by git to handle network transport. This
-helper handles gcrypt:: URLs that will access a remote repository encrypted with
-GPG, using our custom format.
+Remote helper programs are invoked by Git to handle network transport. This
+helper handles @code{gcrypt:} URLs that access a remote repository encrypted
+with GPG, using our custom format.
-Supported locations are local, rsync:// and sftp://, where the repository is
-stored as a set of files, or instead any <giturl> where gcrypt will store the
-same representation in a git repository, bridged over arbitrary git transport.
+Supported locations are local, @code{rsync://} and @code{sftp://}, where the
+repository is stored as a set of files, or instead any Git URL where gcrypt
+will store the same representation in a Git repository, bridged over arbitrary
+Git transport.
-The aim is to provide confidential, authenticated git storage and collaboration
-using typical untrusted file hosts or services.")
+The aim is to provide confidential, authenticated Git storage and
+collaboration using typical untrusted file hosts or services.")
(license license:gpl3+)))
(define-public cgit
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-30 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-28 20:36 bug#27125: [PATCH] gnu: Add git-remote-gcrypt André
2017-05-30 16:08 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.