GNU bug report logs - #48198
[PATCH] gnu: vcsh: Update to 1.20190621.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Mon, 3 May 2021 15:55:01 UTC

Severity: normal

Tags: patch

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

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 48198 in the body.
You can then email your comments to 48198 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#48198; Package guix-patches. (Mon, 03 May 2021 15:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Rohleder <mike <at> rohleder.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 03 May 2021 15:55:01 GMT) Full text and rfc822 format available.

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

From: Michael Rohleder <mike <at> rohleder.de>
To: guix-patches <at> gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
Subject: [PATCH] gnu: vcsh: Update to 1.20190621.
Date: Mon,  3 May 2021 17:54:17 +0200
* gnu/packages/version-control.scm (vcsh): Update to 1.20190621.
[arguments]: Add phase install-bash-completion.
---
 gnu/packages/version-control.scm | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8df7cc8d14..859083aa07 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -31,7 +31,7 @@
 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke <at> gnu.org>
 ;;; Copyright © 2020 Vinicius Monego <monego <at> posteo.net>
 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
-;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
+;;; Copyright © 2020, 2021 Michael Rohleder <mike <at> rohleder.de>
 ;;; Copyright © 2021 Greg Hogan <code <at> greghogan.com>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2021 Chris Marusich <cmmarusich <at> gmail.com>
@@ -1316,7 +1316,7 @@ manipulate them in various ways.")
 (define-public vcsh
   (package
     (name "vcsh")
-    (version "1.20151229")
+    (version "1.20190621")
     (source
      (origin
        (method git-fetch)
@@ -1325,7 +1325,7 @@ manipulate them in various ways.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1grpj45nbpv4j60vd2kg4rj53zrm0bc0h9l4pfd3c2mwbvywm6ab"))))
+        (base32 "1s9l47wm9r7sndcgc778mq60wkzkhvfv7rkrwci5kjvw8vsddvcc"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("which" ,which)))
@@ -1338,7 +1338,14 @@ manipulate them in various ways.")
     (arguments
      '(#:phases (modify-phases %standard-phases
                   (delete 'configure)
-                  (delete 'build))
+                  (delete 'build)
+                  (add-after 'install 'install-bash-completion
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out         (assoc-ref outputs "out"))
+                             (completions (string-append out "/etc/bash_completion.d")))
+                        (mkdir-p completions)
+                        (copy-file "_vcsh_bash" (string-append completions "/vcsh"))
+                        #t))))
        #:make-flags (list (string-append "PREFIX="
                                          (assoc-ref %outputs "out")))
        #:test-target "test"))
-- 
2.31.1





Information forwarded to guix-patches <at> gnu.org:
bug#48198; Package guix-patches. (Mon, 03 May 2021 16:46:02 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 48198 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#48198] [PATCH] gnu: vcsh: Update to 1.20190621.
Date: Mon, 03 May 2021 18:45:19 +0200
[Message part 1 (text/plain, inline)]
Michael,

Michael Rohleder 写道:
> * gnu/packages/version-control.scm (vcsh): Update to 1.20190621.

Thanks!

> [arguments]: Add phase install-bash-completion.

Since this isn't new in this release, I think it should be a 
separate commit.  Do you agree?

> +                        #t))))

You can (finally!) omit this now.

Ignore the lint warning, which is still there only because its 
removal needs to pass through core-updates.

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#48198; Package guix-patches. (Mon, 03 May 2021 16:46:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#48198; Package guix-patches. (Mon, 03 May 2021 16:55:01 GMT) Full text and rfc822 format available.

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

From: Michael Rohleder <mike <at> rohleder.de>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 48198 <at> debbugs.gnu.org
Subject: Re: [bug#48198] [PATCH] gnu: vcsh: Update to 1.20190621.
Date: Mon, 03 May 2021 18:53:55 +0200
[Message part 1 (text/plain, inline)]
Hey Tobias,

Thanks for reviewing!

Tobias Geerinckx-Rice <me <at> tobias.gr> writes:
>> [arguments]: Add phase install-bash-completion.
>
> Since this isn't new in this release, I think it should be a separate
> commit.  Do you agree?

No, I don't agree.
I think it is new (at least, compared to the version we had/I made
before)

>
>> +                        #t))))
>
> You can (finally!) omit this now.
>
> Ignore the lint warning, which is still there only because its removal
> needs to pass through core-updates.

Ah, ok.  I was wondering about the warning.

Thank you!

-- 
Der menschliche Geist waechst mit dem Raum in dem er sich bewegt.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Mon, 03 May 2021 20:45:01 GMT) Full text and rfc822 format available.

Notification sent to Michael Rohleder <mike <at> rohleder.de>:
bug acknowledged by developer. (Mon, 03 May 2021 20:45:01 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 48198-done <at> debbugs.gnu.org
Subject: Re: [bug#48198] [PATCH] gnu: vcsh: Update to 1.20190621.
Date: Mon, 03 May 2021 22:44:26 +0200
[Message part 1 (text/plain, inline)]
Michael,

Michael Rohleder 写道:
> No, I don't agree.
> I think it is new (at least, compared to the version we had/I 
> made
> before)

You're right--and what an ancient version it was!

I was looking at zsh completion, not bash.  I wonder why that's 
installed by default whilst bash is not.  Shrug.

I de-indented #:phases as it made your new lines exceed 80 
characters for no good reason.

Pushed as 2c09755a7a07a971d7c2ad6dbe991689837fd29c.

Thanks!

T G-R
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 01 Jun 2021 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 342 days ago.

Previous Next


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