Re: Upgrading packages with substitutes only (bug #26608)

2017-06-19 Thread Leo Famulari
On Sun, Jun 18, 2017 at 10:44:34AM -0700, Timothy Sample wrote: > Leo Famulari writes: > > On Sun, Jun 18, 2017 at 11:38:45AM +0200, Ricardo Wurmus wrote: > >> In my opinion “--only-substitutes” should stop and report a list. > >> If it continued without complaining there could be problems: > >>

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-19 Thread Timothy Sample
l...@gnu.org (Ludovic Courtès) writes: > In the future I was also thinking that the build farm could tag Git > commits that it has fully built, and thus ‘guix pull’ could be told to > pull to the latest fully-built commit. I like this quite a bit. In fact, this is more in the spirit of what I wan

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-19 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Ludovic Courtès writes: > >> BTW, should --only-substitutes filter out packages without a substitute, >> or should it simply stop and report the list of missing substitutes >> (after which the user could use --do-not-upgrade)? > > In my opinion “--only-substitutes” shou

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-18 Thread Carlo Zancanaro
On Sun, Jun 18 2017, Timothy Sample wrote: > While the user experience would suffer a bit, it’s no real hardship to > type > > $ guix package \ > --do-not-upgrade $(guix package --only-substitutes -u) \ > -u > > This is definitely possible. Just checking: is the proposal that

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-18 Thread Ricardo Wurmus
Timothy Sample writes: >>> In my opinion “--only-substitutes” should stop and report a list. >>> If it continued without complaining there could be problems: >>> >>> * partial upgrades could leave the profile in an unusable state > > Maybe I don’t understand Guix that well yet, but I don’t think

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-18 Thread Timothy Sample
Leo Famulari writes: > On Sun, Jun 18, 2017 at 11:38:45AM +0200, Ricardo Wurmus wrote: >> >> Ludovic Courtès writes: >> >> > BTW, should --only-substitutes filter out packages without a substitute, >> > or should it simply stop and report the list of missing substitutes >> > (after which the u

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-18 Thread Leo Famulari
On Sun, Jun 18, 2017 at 11:38:45AM +0200, Ricardo Wurmus wrote: > > Ludovic Courtès writes: > > > BTW, should --only-substitutes filter out packages without a substitute, > > or should it simply stop and report the list of missing substitutes > > (after which the user could use --do-not-upgrade)

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-18 Thread Ricardo Wurmus
Ludovic Courtès writes: > BTW, should --only-substitutes filter out packages without a substitute, > or should it simply stop and report the list of missing substitutes > (after which the user could use --do-not-upgrade)? In my opinion “--only-substitutes” should stop and report a list. If it c

Re: Upgrading packages with substitutes only (bug #26608)

2017-06-17 Thread Ludovic Courtès
Hello Timothy, Timothy Sample skribis: > I’ve been using GuixSD for a couple of months now, and it is super > cool. Thanks for all your hard work! There is one little thing, > though. :) If it’s just this one thing, that’s okay. ;-) > Ludo suggested to check each package using the “substitute

Upgrading packages with substitutes only (bug #26608)

2017-06-16 Thread Timothy Sample
Hi Guix, I’ve been using GuixSD for a couple of months now, and it is super cool. Thanks for all your hard work! There is one little thing, though. :) There’s a feature request (bug #26608) about adding an “--only-substitutes” flag to “guix package -u”, which would only upgrade packages that have