GNU bug report logs - #78219
[PATCH] gnu: Add python-vcstool

Previous Next

Package: guix-patches;

Reported by: Matthew Elwin <elwin <at> northwestern.edu>

Date: Fri, 2 May 2025 19:28:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

To reply to this bug, email your comments to 78219 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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#78219; Package guix-patches. (Fri, 02 May 2025 19:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Elwin <elwin <at> northwestern.edu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 02 May 2025 19:28:02 GMT) Full text and rfc822 format available.

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

From: Matthew Elwin <elwin <at> northwestern.edu>
To: guix-patches <at> gnu.org
Cc: Matthew Elwin <elwin <at> northwestern.edu>
Subject: [PATCH] gnu: Add python-vcstool
Date: Fri,  2 May 2025 14:27:06 -0500
* gnu/packages/python-xyz.scm (python-vcstool): New Variable

Change-Id: I5e3485cd1f53a379121a09938d5e45cd641a0317
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f3d23215ed..d04d139074 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -163,6 +163,7 @@
 ;;; Copyright © 2025 Dariqq <dariqq <at> posteo.net>
 ;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
 ;;; Copyright © 2025, Cayetano Santos <csantosb <at> inventati.org>
+;;; Copyright © 2025, Matthew Elwin <elwin <at> northwestern.edu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5081,6 +5082,26 @@ (define-public python-case
 some helpful Python 2 compatibility convenience methods.")
     (license license:bsd-3)))
 
+(define-public python-vcstool
+  (package
+    (name "python-vcstool")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "vcstool" version))
+       (sha256
+        (base32 "0b7f68q25x9nxqa3xcg32js3qgp4jg99anwy2c7nd1jkw5iskcq4"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-pyyaml python-setuptools))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/dirk-thomas/vcstool")
+    (synopsis
+     "Command line tool to invoke version control commands on multiple repositories")
+    (description
+     "Enables manipulating multiple version control repositories with one command.")
+    (license license:asl2.0)))
+
 (define-public python-verboselogs
   (package
     (name "python-verboselogs")

base-commit: 0b83a27b67ae92e988795322ae988518ec3e6972
-- 
2.43.0





Information forwarded to guix-patches <at> gnu.org:
bug#78219; Package guix-patches. (Sat, 03 May 2025 14:27:02 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 78219 <at> debbugs.gnu.org
Cc: elwin <at> northwestern.edu
Subject: [PATCH] gnu: Add python-vcstool
Date: Sat, 03 May 2025 15:26:21 +0100
[Message part 1 (text/plain, inline)]
Hi,

Thanks for the patch.

You might need to wrap git, breezy and subversion; check Nix package for
ideas and similar wrapping logic in Guix package base
<https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/by-name/vc/vcstool/package.nix#L40>

--
Oleg
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#78219; Package guix-patches. (Tue, 06 May 2025 20:45:01 GMT) Full text and rfc822 format available.

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

From: Matthew Elwin <elwin <at> northwestern.edu>
To: 78219 <at> debbugs.gnu.org
Cc: Matthew Elwin <elwin <at> northwestern.edu>
Subject: [PATCH] gnu: Add python-vcstool
Date: Tue,  6 May 2025 15:43:54 -0500
* gnu/packages/python-xyz.scm (python-vcstool): New Variable

Change-Id: I5e3485cd1f53a379121a09938d5e45cd641a0317
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32a01d70a2..24cb818faf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -163,6 +163,7 @@
 ;;; Copyright © 2025 Dariqq <dariqq <at> posteo.net>
 ;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
 ;;; Copyright © 2025, Cayetano Santos <csantosb <at> inventati.org>
+;;; Copyright © 2025, Matthew Elwin <elwin <at> northwestern.edu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5081,6 +5082,40 @@ (define-public python-case
 some helpful Python 2 compatibility convenience methods.")
     (license license:bsd-3)))
 
+(define-public python-vcstool
+  (package
+    (name "python-vcstool")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "vcstool" version))
+       (sha256
+        (base32 "0b7f68q25x9nxqa3xcg32js3qgp4jg99anwy2c7nd1jkw5iskcq4"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'wrap 'wrap-script
+            (lambda _
+              (wrap-program (string-append #$output "/bin/vcs")
+                `("PATH" prefix ,(list
+                                  (string-append #$git "/bin")
+                                  (string-append #$mercurial "/bin")
+                                  (string-append #$mercurial "/bin")
+                                  (string-append #$breezy "/bin")
+                                  (string-append #$subversion "/bin")
+                                  ))))))))
+    (propagated-inputs (list python-pyyaml python-setuptools))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/dirk-thomas/vcstool")
+    (synopsis
+     "Command line tool to invoke version control commands on multiple repositories")
+    (description
+     "Enables manipulating multiple version control repositories with one command.")
+    (license license:asl2.0)))
+
 (define-public python-verboselogs
   (package
     (name "python-verboselogs")

base-commit: ec95c71c01144fcae1a3d079e0d0aec6087b9d2a
-- 
2.43.0





Information forwarded to guix-patches <at> gnu.org:
bug#78219; Package guix-patches. (Tue, 06 May 2025 21:32:01 GMT) Full text and rfc822 format available.

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

From: Matthew Elwin <elwin <at> northwestern.edu>
To: 78219 <at> debbugs.gnu.org
Cc: Matthew Elwin <elwin <at> northwestern.edu>
Subject: [PATCH] gnu: Add python-vcstool
Date: Tue,  6 May 2025 16:30:44 -0500
* gnu/packages/python-xyz.scm (python-vcstool): New Variable

Change-Id: I5e3485cd1f53a379121a09938d5e45cd641a0317
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32a01d70a2..2d81c8028e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -163,6 +163,7 @@
 ;;; Copyright © 2025 Dariqq <dariqq <at> posteo.net>
 ;;; Copyright © 2025 Nguyễn Gia Phong <mcsinyx <at> disroot.org>
 ;;; Copyright © 2025, Cayetano Santos <csantosb <at> inventati.org>
+;;; Copyright © 2025, Matthew Elwin <elwin <at> northwestern.edu>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5081,6 +5082,40 @@ (define-public python-case
 some helpful Python 2 compatibility convenience methods.")
     (license license:bsd-3)))
 
+(define-public python-vcstool
+  (package
+    (name "python-vcstool")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "vcstool" version))
+       (sha256
+        (base32 "0b7f68q25x9nxqa3xcg32js3qgp4jg99anwy2c7nd1jkw5iskcq4"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'wrap 'wrap-script
+            (lambda _
+              (wrap-program (string-append #$output "/bin/vcs")
+                `("PATH" prefix
+                  ,(list (string-append #$git "/bin")
+                         (string-append #$mercurial "/bin")
+                         (string-append #$mercurial "/bin")
+                         (string-append #$breezy "/bin")
+                         (string-append #$subversion "/bin")))))))))
+    (inputs (list bash-minimal))
+    (propagated-inputs (list python-pyyaml python-setuptools))
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "https://github.com/dirk-thomas/vcstool")
+    (synopsis
+     "Command line tool to invoke version control commands on multiple repositories")
+    (description
+     "Enables manipulating multiple version control repositories with one command.")
+    (license license:asl2.0)))
+
 (define-public python-verboselogs
   (package
     (name "python-verboselogs")

base-commit: ec95c71c01144fcae1a3d079e0d0aec6087b9d2a
-- 
2.43.0

Forgot to run guix lint/style in the previous revision. 




Information forwarded to guix-patches <at> gnu.org:
bug#78219; Package guix-patches. (Mon, 12 May 2025 15:25:02 GMT) Full text and rfc822 format available.

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

From: Matthew Elwin <elwin <at> northwestern.edu>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 78219 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add python-vcstool
Date: Mon, 12 May 2025 10:24:12 -0500
[Message part 1 (text/plain, inline)]
Hi,

Just checking to see if I was on the right track with this updated patch.

Thanks,
Matt
[Message part 2 (text/html, inline)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Mon, 12 May 2025 19:44:02 GMT) Full text and rfc822 format available.

Notification sent to Matthew Elwin <elwin <at> northwestern.edu>:
bug acknowledged by developer. (Mon, 12 May 2025 19:44:02 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 78219-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-vcstool
Date: Mon, 12 May 2025 20:43:26 +0100
[Message part 1 (text/plain, inline)]
Hi,

I've adjusted the name python-vcstool -> vcstool; it's named the same in
NixOs and Debian as it's a final CLI program Placed to version-control
module and pushed to master as f0b502a25260bf8c6a08cc37897c13f2745d71c9.

--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 days ago.

Previous Next


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