GNU bug report logs - #45300
[Suggestion] Add option --with-patch

Previous Next

Package: guix;

Reported by: Philippe SWARTVAGHER <philippe.swartvagher <at> inria.fr>

Date: Thu, 17 Dec 2020 16:15:01 UTC

Severity: normal

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

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: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45300: closed ([Suggestion] Add option --with-patch)
Date: Sun, 27 Dec 2020 16:26:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 27 Dec 2020 17:25:43 +0100
with message-id <877dp3tdvc.fsf <at> gnu.org>
and subject line Re: bug#45300: [PATCH] Add option --with-patch
has caused the debbugs.gnu.org bug report #45300,
regarding [Suggestion] Add option --with-patch
to be marked as done.

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


-- 
45300: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45300
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Philippe SWARTVAGHER <philippe.swartvagher <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: [Suggestion] Add option --with-patch
Date: Thu, 17 Dec 2020 12:42:34 +0100
Hello,

We already have `--with-branch=`, `with-commit=`, ... An additional
option could be `--with-patch=package=add-extra-feature.patch` which
would apply the patch file `add-extra-feature.patch` located in the my
current directory to the sources of `package` before Guix starts
building `package`.

This would bring the possibility to easily share patches (for tests,
reviews, ... for instance) without having to commit the patch in the
source repository of the package, without changing the package
definition, and without applying ourselves the patch to our local source
repository of the package.

Thanks !

-- 
Philippe SWARTVAGHER

PhD Student
TADaaM team, Inria Bordeaux Sud-Ouest




[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Philippe SWARTVAGHER <philippe.swartvagher <at> inria.fr>
Cc: 45300-done <at> debbugs.gnu.org
Subject: Re: bug#45300: [PATCH] Add option --with-patch
Date: Sun, 27 Dec 2020 17:25:43 +0100
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

>>From 12c8df7c61537e3834fac4bf0e8e340cbac2d2df Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludovic.courtes <at> inria.fr>
> Date: Mon, 21 Dec 2020 14:52:38 +0100
> Subject: [PATCH] transformations: Add '--with-patch'.
>
> Suggested by Philippe Swartvagher <philippe.swartvagher <at> inria.fr>.
>
> * guix/transformations.scm (transform-package-patches): New procedure.
> (%transformations): Add it as 'with-patch'.
> (%transformation-options, show-transformation-options-help/detailed):
> Add '--with-patch'.
> * tests/transformations.scm ("options->transformation, with-patch"): New
> test.
> * doc/guix.texi (Package Transformation Options): Document it.

Pushed as e38d90d497e19e00263fa28961c688a433154386!

Ludo’.


This bug report was last modified 4 years and 142 days ago.

Previous Next


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