GNU bug report logs -
#22629
Towards a new 'guix pull'
Previous Next
Reported by: ludo <at> gnu.org (Ludovic Courtès)
Date: Thu, 11 Feb 2016 10:36:02 UTC
Severity: important
Merged with 28471
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 02 Sep 2018 17:11:10 +0200
with message-id <87h8j86ik1.fsf <at> gnu.org>
and subject line Re: bug#22629: Channels!
has caused the debbugs.gnu.org bug report #22629,
regarding Towards a new 'guix pull'
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
22629: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22629
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello!
Here’s a series of improvements that I think we should make in ‘guix
pull’:
• Use Git instead of downloading a whole snapshot every time. The Git
checkout would be kept in ~/.cache/guix/pull/checkouts, say.
A related question is whether to use Git itself, which is pretty big
per ‘guix size’, or to use some libgit2 bindings such as
<https://git.dthompson.us/guile-git.git> (the closure of libgit2 is
435 MiB; that of Git is 761 MiB.)
• Build & install not only Scheme code, but also locales and the Info
manual.
• Have a “channel” mechanism, similar to ‘nix-channel’, that would
allow users to have several Guix variants available in parallel
instead of just “latest”. Could work like this:
guix channel add latest git://git.sv.gnu.org/guix.git master
guix channel add stable git://git.sv.gnu.org/guix.git stable
guix channel pull latest
guix channel set latest
# here i see the latest versions of everything
guix channel set stable
# and here everything is old but super stable ;-)
All 3 items can be done separately, I think.
Any takers? :-)
Ludo’.
PS: I do not mention the issue of authenticating code here, which is
obviously very important and deserves to be treated separately.
Related to that is the question of making sure that what you think
is the latest version really is the latest version. We need someone
to sign certificates saying what the latest commit ID of a repo is.
See the “The Update Framework” paper!
[Message part 3 (message/rfc822, inline)]
Hello,
ludo <at> gnu.org (Ludovic Courtès) skribis:
> ludo <at> gnu.org (Ludovic Courtès) skribis:
>
>> The patches that follow implement this last bit, though in a slightly
>> different way. Users would now have the option to provide
>> ~/.config/guix/channels.scm along these lines:
>>
>> (cons (channel
>> (name 'guix-hpc)
>> (url "https://gitlab.inria.fr/guix-hpc/guix-hpc.git")
>> (branch "origin/master"))
>> %default-channels)
>
> What follows is version 2 of the patches, which I’d like to push within
> a day or two. The main changes are:
I fixed a typo that would lead ‘--url’ to be ignored and pushed.
Please report any problems you may have!
I’m closing this 2.5-year old issue now. :-)
Ludo’.
This bug report was last modified 6 years and 322 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.