emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43614: closed ([PATCH 0/2] Record and replay package transformation


From: GNU bug Tracking System
Subject: bug#43614: closed ([PATCH 0/2] Record and replay package transformation options)
Date: Fri, 02 Oct 2020 21:31:02 +0000

Your message dated Fri, 02 Oct 2020 23:30:44 +0200
with message-id <875z7siad7.fsf@gnu.org>
and subject line Re: [bug#43614] [PATCH 0/2] Record and replay package 
transformation options
has caused the debbugs.gnu.org bug report #43614,
regarding [PATCH 0/2] Record and replay package transformation options
to be marked as done.

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


-- 
43614: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43614
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 0/2] Record and replay package transformation options Date: Fri, 25 Sep 2020 17:46:12 +0200
Hello Guix!

This patch set is to record in a profile’s ‘manifest’ the package
transformation options that were in effect when it was created and
to replay them when upgrading.

Let’s say you do:

  guix install emacs-next --with-branch=emacs-next=master

When you later run:

  guix upgrade

the ‘--with-branch’ option will be in effect, meaning that it’ll
again pull the latest Emacs and build it.

It’s a contrived example because it relies on external resources;
preserving ‘--with-input’ & co. probably makes more sense.

The kind of options I have in mind that are particularly important
to preserve are options that parameterize packages and the
hypothetical option that wraps an installed package into a “POLA
wrapper” as was discussed recently (the wrapper spawns the actual
program in a container).

Users of ‘guix package -m’ are unaffected by all this.  After all,
they can already program whatever transformations they want in
their manifest (though it would be nice to make those
transformations more readily usable at the Scheme level!).

Thoughts?

Ludo’.

Ludovic Courtès (2):
  guix build: Record package transformations in manifest entries.
  guix package: Re-apply package transformation when upgrading.

 doc/guix.texi                 | 27 ++++++++++++
 guix/scripts/build.scm        | 80 +++++++++++++++++++++++++++--------
 guix/scripts/pack.scm         | 29 +++++++------
 guix/scripts/package.scm      | 33 ++++++++++-----
 tests/guix-package-aliases.sh |  6 +++
 tests/guix-package.sh         | 17 +++++++-
 tests/packages.scm            | 23 ++++++++++
 7 files changed, 174 insertions(+), 41 deletions(-)

-- 
2.28.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#43614] [PATCH 0/2] Record and replay package transformation options Date: Fri, 02 Oct 2020 23:30:44 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Ludovic Courtès <ludo@gnu.org> skribis:

>   guix build: Record package transformations in manifest entries.
>   guix package: Re-apply package transformation when upgrading.

Pushed as 8e1907a72430aa989125b053573ef0897c480697 along with a news
entry.

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]