GNU bug report logs - #28531
[PATCH] gnu: Add vcsh.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Wed, 20 Sep 2017 19:39:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#28531: closed ([PATCH] gnu: Add vcsh.)
Date: Wed, 20 Sep 2017 20:33:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 20 Sep 2017 22:32:09 +0200
with message-id <87a81pru0m.fsf <at> gnu.org>
and subject line Re: [bug#28531] [PATCH] gnu: Add vcsh.
has caused the debbugs.gnu.org bug report #28531,
regarding [PATCH] gnu: Add vcsh.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
28531: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28531
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add vcsh.
Date: Wed, 20 Sep 2017 21:37:47 +0200
* gnu/packages/version-control.scm (vcsh): New variable.
---
 gnu/packages/version-control.scm |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 235adef..4249073 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -713,6 +713,42 @@ Git repository as normal Git commits, and provides a number of commands to
 manipulate them in various ways.")
     (license license:gpl2)))
 
+(define-public vcsh
+  (package
+    (name "vcsh")
+    (version "1.20151229")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/RichiH/vcsh/archive/v"
+                                  version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ym3swkh738c3vciffvlr96vqzhwmzkb8ajqzap8f0j9n039a1mf"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("git" ,git)
+       ("which" ,which)
+       ("perl" ,perl)
+       ("perl-test-harness" ,perl-test-harness)
+       ("perl-shell-command" ,perl-shell-command)
+       ("perl-test-most" ,perl-test-most)))
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (delete 'configure)
+                  (delete 'build))
+       #:make-flags (list (string-append "PREFIX="
+                                         (assoc-ref %outputs "out")))
+       #:test-target "test"))
+    (home-page "https://github.com/RichiH/vcsh")
+    (synopsis "Version Control System for $HOME")
+    (description
+     "Maintain several Git repositories in one single directory.  They all
+maintain their working trees without clobbering each other or interfering
+otherwise.  By default, all Git repositories maintained via vcsh store the
+actual files in $HOME.  But this can be overridden.")
+    (license license:gpl2+)))
+
 (define-public git-test-sequence
   (let ((commit "48e5a2f5a13a5f30452647237e23362b459b9c76"))
     (package



[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 28531-done <at> debbugs.gnu.org
Subject: Re: [bug#28531] [PATCH] gnu: Add vcsh.
Date: Wed, 20 Sep 2017 22:32:09 +0200
[Message part 4 (text/plain, inline)]
Hi Stefan,

Stefan Reichör <stefan <at> xsteve.at> skribis:

> * gnu/packages/version-control.scm (vcsh): New variable.

Pushed with the minor changes below (the first sentence of the
description looked awkward to me).

Note that vcsh takes ‘git’ from $PATH.  I wonder if we should keep it
this way, or if we should hard-code the absolute file name to ‘git’ so
that it always works.

Thoughts?

Ludo’.

[Message part 5 (text/x-patch, inline)]
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 424907332..78e142b29 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -726,9 +726,10 @@ manipulate them in various ways.")
                (base32
                 "1ym3swkh738c3vciffvlr96vqzhwmzkb8ajqzap8f0j9n039a1mf"))))
     (build-system gnu-build-system)
+    (native-inputs
+     `(("which" ,which)))
     (inputs
      `(("git" ,git)
-       ("which" ,which)
        ("perl" ,perl)
        ("perl-test-harness" ,perl-test-harness)
        ("perl-shell-command" ,perl-shell-command)
@@ -741,12 +742,13 @@ manipulate them in various ways.")
                                          (assoc-ref %outputs "out")))
        #:test-target "test"))
     (home-page "https://github.com/RichiH/vcsh")
-    (synopsis "Version Control System for $HOME")
+    (synopsis "Version control system for @code{$HOME}")
     (description
-     "Maintain several Git repositories in one single directory.  They all
-maintain their working trees without clobbering each other or interfering
-otherwise.  By default, all Git repositories maintained via vcsh store the
-actual files in $HOME.  But this can be overridden.")
+     "vcsh version-controls configuration files in several Git repositories,
+all in one single directory.  They all maintain their working trees without
+clobbering each other or interfering otherwise.  By default, all Git
+repositories maintained via vcsh store the actual files in @code{$HOME},
+though this can be overridden.")
     (license license:gpl2+)))
 
 (define-public git-test-sequence

This bug report was last modified 7 years and 243 days ago.

Previous Next


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