unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: EuAndreh via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 55649@debbugs.gnu.org
Subject: bug#55649: Feature request: filter channel on "guix pull"
Date: Wed, 25 May 2022 21:57:21 -0300	[thread overview]
Message-ID: <165352664123.29501.6150425452626404554@localhost> (raw)

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 :)




             reply	other threads:[~2022-05-26  0:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26  0:57 EuAndreh via Bug reports for GNU Guix [this message]
2022-05-26  7:58 ` bug#55649: Feature request: filter channel on "guix pull" Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=165352664123.29501.6150425452626404554@localhost \
    --to=bug-guix@gnu.org \
    --cc=55649@debbugs.gnu.org \
    --cc=eu@euandre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).