GNU bug report logs -
#26608
Provide --only-substitutes flag to "guix package --upgrade"
Previous Next
Full log
View this message in rfc822 format
Hi Konrad,
Konrad Hinsen <konrad.hinsen <at> fastmail.net> skribis:
>> I just had a bright idea (yes!): this can be addressed by writing
>> something like this in ~/.config/guix/channels.scm:
>>
>> (map latest-commit-with-substitutes-available
>> %default-channels)
>>
>> The hypothetical ‘latest-commit-with-substitutes-available’ would use
>> (git) and (guix ci) to find the latest commit for which substitutes of
>> interest are available, and would return:
>
> I really like that idea, but it's a pity to limit it to channels.
What do you mean by “limit it to channels”? ‘%default-channels’ is an
alias for the official Guix channel (IOW, Guix itself.)
> Two scenarii I'd like to see covered are:
>
> 1) Find the latest commit with all substitutes required by a given
> manifest.
>
> 2) Find the latest commit with all substitutes required for updating a
> given profile.
>
> This is in fact only one problem with two user interfaces.
Yes, we could do that, and even maybe more sophisticated things (e.g.,
looking at the commit log to determine whether security fixes are
available, and adjusting the strategy accordingly.)
What I find interesting is that we can provide the tools to support such
policies, and then users can choose or implement the policy they want
directly in ~/.config/guix/channels.scm.
Ludo’.
This bug report was last modified 3 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.