GNU bug report logs - #65721
[PATCH] gnu: Add commit-patch.

Previous Next

Package: guix-patches;

Reported by: Kjartan Oli Agustsson <kjartanoli <at> outlook.com>

Date: Sun, 3 Sep 2023 21:06:01 UTC

Severity: normal

Tags: patch

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

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 65721 in the body.
You can then email your comments to 65721 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#65721; Package guix-patches. (Sun, 03 Sep 2023 21:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kjartan Oli Agustsson <kjartanoli <at> outlook.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 03 Sep 2023 21:06:02 GMT) Full text and rfc822 format available.

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

From: Kjartan Oli Agustsson <kjartanoli <at> outlook.com>
To: guix-patches <at> gnu.org
Cc: Kjartan Oli Agustsson <kjartanoli <at> outlook.com>
Subject: [PATCH] gnu: Add commit-patch.
Date: Sun,  3 Sep 2023 20:59:33 +0000
* gnu/packages/version-control.scm (commit-patch): New variable.
---
 gnu/packages/version-control.scm | 33 ++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 86dcea908c..3a1033e25b 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -48,6 +48,7 @@
 ;;; Copyright © 2022 Dhruvin Gandhi <contact <at> dhruvin.dev>
 ;;; Copyright © 2015, 2022 David Thompson <davet <at> gnu.org>
 ;;; Copyright © 2023 Nicolas Graves <ngraves <at> ngraves.fr>
+;;; Copyright © 2023 Kjartan Oli Agustsson <kjartanoli <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -116,6 +117,7 @@ (define-module (gnu packages version-control)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages web)
   #:use-module (gnu packages openstack)
+  #:use-module (gnu packages patchutils)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
@@ -3689,3 +3691,34 @@ (define-public hut
 interact with GraphQL APIs directly
 @end table")
     (license license:agpl3)))
+
+(define-public commit-patch
+  (package
+    (name "commit-patch")
+    (version "2.6.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/caldwell/commit-patch/releases/download/"
+                    version "/commit-patch-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0v11vjyisk243zi0ym90bnqb229j7iaqx1lwqdkszxzn1yxwq4ck"))))
+    (build-system copy-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'fix-paths
+                          (lambda* (#:key inputs #:allow-other-keys)
+                            (patch-shebang "commit-patch"))))
+           #:install-plan ''(("commit-patch" "bin/")
+                             ("commit-patch-buffer.el"
+                              "share/emacs/site-lisp/"))))
+    (inputs (list perl))
+    (propagated-inputs (list patchutils))
+    (synopsis "Commit parts of changes to VCS repositories")
+    (description
+     "commit-patch is a utility that lets you check in select portions of a
+file into Darcs, Git, Mercurial, Bazaar, Subversion, or CVS repositories.  It
+comes as a command line app and also an Emacs interface.")
+    (home-page "https://porkrind.org/commit-patch/")
+    (license license:gpl2)))

base-commit: e365c26a34fa485f9af46538fcea128db681c33d
-- 
2.41.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 18 Sep 2023 21:21:02 GMT) Full text and rfc822 format available.

Notification sent to Kjartan Oli Agustsson <kjartanoli <at> outlook.com>:
bug acknowledged by developer. (Mon, 18 Sep 2023 21:21:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Kjartan Oli Agustsson <kjartanoli <at> outlook.com>
Cc: 65721-done <at> debbugs.gnu.org
Subject: Re: bug#65721: [PATCH] gnu: Add commit-patch.
Date: Mon, 18 Sep 2023 23:20:06 +0200
Hi,

Kjartan Oli Agustsson <kjartanoli <at> outlook.com> skribis:

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

[...]

> +    (home-page "https://porkrind.org/commit-patch/")
> +    (license license:gpl2)))

Changed to ‘gpl2+’ because nothing says “version 2 only”.

Applied, thanks!

Ludo’.




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

This bug report was last modified 1 year and 206 days ago.

Previous Next


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