From: "Ludovic Courtès" <ludo@gnu.org>
To: 45295@debbugs.gnu.org
Subject: bug#45295: “sudo guix system reconfigure” triggers re-clone/update of Git checkout
Date: Thu, 17 Dec 2020 15:01:43 +0100 [thread overview]
Message-ID: <87mtycila0.fsf@inria.fr> (raw)
Hi!
If you do, as a regular user:
guix pull
sudo guix system reconfigure …
the ‘guix system reconfigure’, as part of the downgrade-detection
machinery, triggers an update of the channel checkout(s) in
~root/.cache, even though ~USER/.cache is already up-to-date.
One way to avoid it might be to special-case the checkout cache
directory for when ‘SUDO_USER’ is set.
Thoughts?
Ludo’.
next reply other threads:[~2020-12-17 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-17 14:01 Ludovic Courtès [this message]
2021-01-17 22:06 ` bug#45295: “sudo guix system reconfigure” triggers re-clone/update of Git checkout Ludovic Courtès
2022-01-09 19:55 ` bug#45295: Alternative Jorge Acereda
2022-01-09 20:17 ` Maxime Devos
2022-01-09 20:19 ` 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=87mtycila0.fsf@inria.fr \
--to=ludo@gnu.org \
--cc=45295@debbugs.gnu.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).