Feature request: filter channel on "guix pull"

  • Open
  • quality assurance status badge
Details
2 participants
  • EuAndreh
  • Maxime Devos
Owner
unassigned
Submitted by
EuAndreh
Severity
wishlist
E
E
EuAndreh wrote on 26 May 2022 02:57
(address . bug-guix@gnu.org)
165352664123.29501.6150425452626404554@localhost
I'd like to be able to select a specific channel to be updated when running a
"guix pull" command.

Let's say I have a "channels.scm" file, containing 3 channels: "abc", "xyz" and
"guix", all pointing to the branch "main". When running "guix pull", all three
channels get updated via a "git pull", naturally.

However I'd like to select only channel "abc" to be updated, and leave "xyz" and
"guix" as is, untouched. In order to accomplish this today, I'd have to:

1. generate a temporary "tmp-channels.scm" file with "abc" and "guix" pinned to
the current commit given by "guix describe";
2. include in the temporary file the "xyz" channel, but that one still pointing
to the branch "main";
3. "guix pull -C tmp-channels.scm".

That way I get only the "xyz" channel to be upgraded, since all other channels
are pinned to a specific commit. I'd like to be possible to run a desired
"guix pull -c xyz" (or similar) command and get that same behaviour.

Since I don't plan to implement that feature soon enough, I'm registering it
here so that a fellow hacker seeking for an improvement opportunity can jump
in :)
M
M
Maxime Devos wrote on 26 May 2022 09:58
(address . control@debbugs.gnu.org)
a31ab6810863f90a8fd9b55f8c206119e207ee8f.camel@telenet.be
severity 55649 wishlist
thanks
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYo8zChccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jMxAQDd0BrMWkfdKjrQcMTtYkU3MvMq
GkpbV0/nqyLZte+N7gEAyhrrblIpXyI23KrfAdggYU/XvmiU3BQ+yk3bCBwZCQ0=
=fVai
-----END PGP SIGNATURE-----


?