From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 15:38:10 2017 Received: (at submit) by debbugs.gnu.org; 20 Sep 2017 19:38:10 +0000 Received: from localhost ([127.0.0.1]:50521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dukp0-0002Ec-KM for submit@debbugs.gnu.org; Wed, 20 Sep 2017 15:38:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dukox-0002EJ-Fd for submit@debbugs.gnu.org; Wed, 20 Sep 2017 15:38:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dukor-0006Mg-6B for submit@debbugs.gnu.org; Wed, 20 Sep 2017 15:38:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dukor-0006MB-1j for submit@debbugs.gnu.org; Wed, 20 Sep 2017 15:38:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dukop-0001iE-Mx for guix-patches@gnu.org; Wed, 20 Sep 2017 15:38:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dukom-0006Fv-H6 for guix-patches@gnu.org; Wed, 20 Sep 2017 15:37:59 -0400 Received: from dd5424.kasserver.com ([85.13.138.252]:34525) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dukom-00068y-9l for guix-patches@gnu.org; Wed, 20 Sep 2017 15:37:56 -0400 Received: from localhost (unknown [158.255.211.79]) by dd5424.kasserver.com (Postfix) with ESMTPA id D0EE4B58135C; Wed, 20 Sep 2017 21:37:48 +0200 (CEST) Subject: [PATCH] gnu: Add vcsh. From: Stefan =?utf-8?q?Reich=C3=B6r?= To: guix-patches@gnu.org Date: Wed, 20 Sep 2017 21:37:47 +0200 Message-ID: <150593626773.31985.7642001649222018304.stgit@sandburg> User-Agent: StGit/unknown-version MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 16:32:21 2017 Received: (at 28531-done) by debbugs.gnu.org; 20 Sep 2017 20:32:21 +0000 Received: from localhost ([127.0.0.1]:50577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dulfR-0003bD-Ak for submit@debbugs.gnu.org; Wed, 20 Sep 2017 16:32:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dulfO-0003ax-Rp for 28531-done@debbugs.gnu.org; Wed, 20 Sep 2017 16:32:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dulfI-000314-Fl for 28531-done@debbugs.gnu.org; Wed, 20 Sep 2017 16:32:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dulfI-00030j-Ax; Wed, 20 Sep 2017 16:32:12 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=43076 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dulfH-0003Hv-RB; Wed, 20 Sep 2017 16:32:12 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Stefan =?utf-8?Q?Reich=C3=B6r?= Subject: Re: [bug#28531] [PATCH] gnu: Add vcsh. References: <150593626773.31985.7642001649222018304.stgit@sandburg> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour de la Raison de =?utf-8?Q?l'Ann=C3=A9e?= 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 20 Sep 2017 22:32:09 +0200 In-Reply-To: <150593626773.31985.7642001649222018304.stgit@sandburg> ("Stefan \=\?utf-8\?Q\?Reich\=C3\=B6r\=22's\?\= message of "Wed, 20 Sep 2017 21:37:47 +0200") Message-ID: <87a81pru0m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28531-done Cc: 28531-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Stefan, Stefan Reich=C3=B6r 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 =E2=80=98git=E2=80=99 from $PATH. I wonder if we shou= ld keep it this way, or if we should hard-code the absolute file name to =E2=80=98git= =E2=80=99 so that it always works. Thoughts? Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 23 08:52:24 2017 Received: (at 28531) by debbugs.gnu.org; 23 Sep 2017 12:52:24 +0000 Received: from localhost ([127.0.0.1]:53611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvjuy-0007oP-9b for submit@debbugs.gnu.org; Sat, 23 Sep 2017 08:52:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvjuw-0007oB-Rk for 28531@debbugs.gnu.org; Sat, 23 Sep 2017 08:52:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvjuq-000275-GI for 28531@debbugs.gnu.org; Sat, 23 Sep 2017 08:52:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvjuq-00026m-CY; Sat, 23 Sep 2017 08:52:16 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=50676 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dvjup-0004ER-HF; Sat, 23 Sep 2017 08:52:15 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Stefan =?utf-8?Q?Reich=C3=B6r?= Subject: Re: [bug#28531] [PATCH] gnu: Add vcsh. In-Reply-To: <87o9q2o1bw.fsf@xsteve.at> ("Stefan \=\?utf-8\?Q\?Reich\=C3\=B6r\=22\?\= \=\?utf-8\?Q\?'s\?\= message of "Fri, 22 Sep 2017 23:44:35 +0200") References: <150593626773.31985.7642001649222018304.stgit@sandburg> <87a81pru0m.fsf@gnu.org> <87o9q2o1bw.fsf@xsteve.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 23 Sep 2017 14:52:14 +0200 Message-ID: <87vak9a875.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28531 Cc: 28531@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Stefan Reich=C3=B6r skribis: >> Hi Stefan, >> >> Stefan Reich=C3=B6r 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 =E2=80=98git=E2=80=99 from $PATH. I wonder if we s= hould keep it >> this way, or if we should hard-code the absolute file name to =E2=80=98g= it=E2=80=99 so >> that it always works. >> >> Thoughts? > > I don't think that it is desirable to change all external tool > invocations for programs in Guix. I am currently preparing the tool > atool that has to invoke a lot of archivers. We always have a choice between =E2=80=9Cstatic binding=E2=80=9D (where we = hard-wire a tool and its dependencies) and =E2=80=9Clate binding=E2=80=9D (where the de= pendencies are searched for at run time.) Most of the time in Guix we favor static binding: it makes sure that (1) programs work out of the box, regardless of what happens to be already installed on your system, and (2) that the program will behave the same on all systems since its behavior does not depend on external state. There are exceptions where we want dynamic binding, for instance for plugins or optional/soft dependencies. The case of =E2=80=98vcsh=E2=80=99 is borderline. I have a slight preferen= ce to hardwire the dependency on Git (after all, someone might want to use vcsh without having installed Git before), but I=E2=80=99m open to other arguments. Thoughts? Thanks, Ludo=E2=80=99. PS: Please preserve Cc:. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 23 14:11:04 2017 Received: (at submit) by debbugs.gnu.org; 23 Sep 2017 18:11:04 +0000 Received: from localhost ([127.0.0.1]:54851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvotM-0003YQ-HH for submit@debbugs.gnu.org; Sat, 23 Sep 2017 14:11:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvotL-0003Xu-Cf for submit@debbugs.gnu.org; Sat, 23 Sep 2017 14:11:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvotF-00038h-1i for submit@debbugs.gnu.org; Sat, 23 Sep 2017 14:10:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36859) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvotE-00038d-V1 for submit@debbugs.gnu.org; Sat, 23 Sep 2017 14:10:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvotD-0003dS-PF for guix-patches@gnu.org; Sat, 23 Sep 2017 14:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvotA-00035s-Hw for guix-patches@gnu.org; Sat, 23 Sep 2017 14:10:55 -0400 Received: from dd5424.kasserver.com ([85.13.138.252]:44624) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dvotA-000356-BI for guix-patches@gnu.org; Sat, 23 Sep 2017 14:10:52 -0400 Received: from localhost (unknown [149.154.152.222]) by dd5424.kasserver.com (Postfix) with ESMTPA id D24CBB583D95 for ; Sat, 23 Sep 2017 20:10:46 +0200 (CEST) From: Stefan =?utf-8?Q?Reich=C3=B6r?= To: guix-patches@gnu.org Subject: Re: [bug#28531] [PATCH] gnu: Add vcsh. In-Reply-To: <87vak9a875.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 23 Sep 2017 14:52:14 +0200") References: <150593626773.31985.7642001649222018304.stgit@sandburg> <87a81pru0m.fsf@gnu.org> <87o9q2o1bw.fsf@xsteve.at> <87vak9a875.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Date: Sat, 23 Sep 2017 20:10:45 +0200 Message-ID: <87vak92sm2.fsf@xsteve.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Ludo, > Hello, > > Stefan Reich=C3=B6r skribis: > >>> Hi Stefan, >>> >>> Stefan Reich=C3=B6r 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 =E2=80=98git=E2=80=99 from $PATH. I wonder if we = should keep it >>> this way, or if we should hard-code the absolute file name to =E2=80=98= git=E2=80=99 so >>> that it always works. >>> >>> Thoughts? >> >> I don't think that it is desirable to change all external tool >> invocations for programs in Guix. I am currently preparing the tool >> atool that has to invoke a lot of archivers. > > We always have a choice between =E2=80=9Cstatic binding=E2=80=9D (where w= e hard-wire a > tool and its dependencies) and =E2=80=9Clate binding=E2=80=9D (where the = dependencies > are searched for at run time.) > > Most of the time in Guix we favor static binding: it makes sure that (1) > programs work out of the box, regardless of what happens to be already > installed on your system, and (2) that the program will behave the same > on all systems since its behavior does not depend on external state. > > There are exceptions where we want dynamic binding, for instance for > plugins or optional/soft dependencies. > > The case of =E2=80=98vcsh=E2=80=99 is borderline. I have a slight prefer= ence to > hardwire the dependency on Git (after all, someone might want to use > vcsh without having installed Git before), but I=E2=80=99m open to other > arguments. > > Thoughts? Thanks for the explaination. I see the benefit of the static binding. The good thing is that the package versions are reproducable. However, I am used to the way it works on other systems. There is almost always the search path used to start other programs. And to make it even more complicated, I still use Ubuntu and install some tools using Guix. So it is even possible that I use vcsh from Guix and git from Ubuntu. I took a look at the vcsh script. git is hardcoded in many places there. Patching it to have static binding seems to be complicated. The only sane solution would be to change the script and make git configurable and try to make this change upstream. However I am not really keen on doing this kind of work... Or do you have another idea how the static binding should be accomplished? Stefan. > Thanks, > Ludo=E2=80=99. > > PS: Please preserve Cc:. o.k. - I interpreted the Cc: "28531-done@debbugs.gnu.org" as flag that the bug is closed and was unsure what will happen when I respond to the closed bug... From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 25 05:51:09 2017 Received: (at 28531) by debbugs.gnu.org; 25 Sep 2017 09:51:09 +0000 Received: from localhost ([127.0.0.1]:57289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwQ2f-0004tm-1p for submit@debbugs.gnu.org; Mon, 25 Sep 2017 05:51:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwQ2d-0004ta-JL for 28531@debbugs.gnu.org; Mon, 25 Sep 2017 05:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwQ2V-0005Q6-Ii for 28531@debbugs.gnu.org; Mon, 25 Sep 2017 05:51:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwQ2V-0005Q1-Fw; Mon, 25 Sep 2017 05:50:59 -0400 Received: from [193.50.110.164] (port=36434 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dwQ2V-0007Mt-0d; Mon, 25 Sep 2017 05:50:59 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Stefan =?utf-8?Q?Reich=C3=B6r?= Subject: Re: [bug#28531] [PATCH] gnu: Add vcsh. References: <150593626773.31985.7642001649222018304.stgit@sandburg> <87a81pru0m.fsf@gnu.org> <87o9q2o1bw.fsf@xsteve.at> <87vak9a875.fsf@gnu.org> <87vak92sm2.fsf@xsteve.at> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Vend=C3=A9miaire?= an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 25 Sep 2017 11:50:55 +0200 In-Reply-To: <87vak92sm2.fsf@xsteve.at> ("Stefan \=\?utf-8\?Q\?Reich\=C3\=B6r\=22\?\= \=\?utf-8\?Q\?'s\?\= message of "Sat, 23 Sep 2017 20:10:45 +0200") Message-ID: <8760c7ksxs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28531 Cc: 28531@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, Stefan Reich=C3=B6r skribis: > Thanks for the explaination. I see the benefit of the static binding. > The good thing is that the package versions are reproducable. > However, I am used to the way it works on other systems. There is almost > always the search path used to start other programs. > > And to make it even more complicated, I still use Ubuntu and install > some tools using Guix. So it is even possible that I use vcsh from Guix > and git from Ubuntu. Indeed. From a reproducibility viewpoint, it=E2=80=99s something we=E2=80= =99d like to avoid, because then vcsh might behave completely differently depending on what the underlying distro is, and that=E2=80=99s clearly not what we ex= pect from Guix. > I took a look at the vcsh script. git is hardcoded in many places there. > Patching it to have static binding seems to be complicated. The only > sane solution would be to change the script and make git configurable > and try to make this change upstream. However I am not really keen on > doing this kind of work... > > Or do you have another idea how the static binding should be accomplished? I think it might be enough to do a regexp substitution matching all =E2=80=9Cgit=E2=80=9D commands in the script: (substitute* "vcsh" (("\\ Subject: Internal Control Message-Id: bug archived. Date: Mon, 23 Oct 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator