unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28743: guix package dry-run upgrade shows not required derivations (UI issue)
       [not found]                     ` <87tvzbj8o9.fsf@gnu.org>
@ 2017-10-08  7:06                       ` Oleg Pykhalov
  2021-09-16  7:18                         ` bug#28743: guix package dry-run upgrade incorrect behaviour with verbosity zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2017-10-08  7:06 UTC (permalink / raw)
  To: 28743; +Cc: Alex Kost

Previous discussion thread and attached debugging files:
https://lists.gnu.org/archive/html/help-guix/2017-10/msg00000.html


After patching no new generation created.  But dry-run still shows
available upgrades and that will be build some derivations.

ludo@gnu.org (Ludovic Courtès) writes:

> I’ve pushed the above patch as eca16a3d1d9e6b2c064e0105c1015258bf2755f2.
> Now we need to fix the UI side of things.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#28743: guix package dry-run upgrade incorrect behaviour with verbosity
  2017-10-08  7:06                       ` bug#28743: guix package dry-run upgrade shows not required derivations (UI issue) Oleg Pykhalov
@ 2021-09-16  7:18                         ` zimoun
  2022-01-04 23:06                           ` bug#28743: guix package dry-run upgrade shows not required derivations (UI issue) zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2021-09-16  7:18 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: Alex Kost, 28743

Hi,

This old bug [1] is about dry-run.  IIUC, it is not now fixed as shown
below.  However, there is another annoying thing about the option
’--verbosity’.

1: <http://issues.guix.gnu.org/issue/28743>

On Sun, 08 Oct 2017 at 10:06, Oleg Pykhalov <go.wigust@gmail.com> wrote:
> ludo@gnu.org (Ludovic Courtès) writes:

> Previous discussion thread and attached debugging files:
> https://lists.gnu.org/archive/html/help-guix/2017-10/msg00000.html
>
>
> After patching no new generation created.  But dry-run still shows
> available upgrades and that will be build some derivations.
>
>> I’ve pushed the above patch as eca16a3d1d9e6b2c064e0105c1015258bf2755f2.
>> Now we need to fix the UI side of things.

Let create a profile with a package without the grafts, then check the
update with dry-run, make the upgrade, check the dry-run upgrade again.
All seem fine, right?

--8<---------------cut here---------------start------------->8---
$ guix package -i r-shiny -p /tmp/foo --no-grafts 2>/dev/null
$ guix package -p /tmp/foo --upgrade --dry-run
The following package would be upgraded:
   r-shiny (dependencies or package changed)

The following derivation would be built:
   /gnu/store/bqsnn9k5jw3gklbzkzhknqpfikvl3bdy-profile.drv

$ guix package -p /tmp/foo --list-generations
Generation 1	Sep 16 2021 09:04:48	(current)
  r-shiny	1.6.0	out	/gnu/store/gq31n44a6b815xlrh0zph6vwc7wqqw8c-r-shiny-1.6.0

$ guix package -p /tmp/foo --upgrade --dry-run
The following package would be upgraded:
   r-shiny (dependencies or package changed)

The following derivation would be built:
   /gnu/store/bqsnn9k5jw3gklbzkzhknqpfikvl3bdy-profile.drv

$ guix package -p /tmp/foo --upgrade
The following package will be upgraded:
   r-shiny (dependencies or package changed)

The following derivation will be built:
   /gnu/store/bqsnn9k5jw3gklbzkzhknqpfikvl3bdy-profile.drv

building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building profile with 1 package...

$ guix package -p /tmp/foo --list-generations
Generation 1	Sep 16 2021 09:04:48
  r-shiny	1.6.0	out	/gnu/store/gq31n44a6b815xlrh0zph6vwc7wqqw8c-r-shiny-1.6.0

Generation 2	Sep 16 2021 09:06:05	(current)

$ guix package -p /tmp/foo --upgrade --dry-run
guix package: warning: nothing to do
--8<---------------cut here---------------end--------------->8---

However, let do the same thing with the option ’--verbosity=2’ (equal
deprecated ’--verbose’).

--8<---------------cut here---------------start------------->8---
$ rm -fr /tmp/foo*
$ guix package -i r-shiny -p /tmp/foo --no-grafts 2>/dev/null
$ guix package -p /tmp/foo --upgrade --dry-run --verbosity=2
The following package would be upgraded:
   r-shiny (dependencies or package changed)

$ guix package -p /tmp/foo --list-generations
Generation 1	Sep 16 2021 09:04:48
  r-shiny	1.6.0	out	/gnu/store/gq31n44a6b815xlrh0zph6vwc7wqqw8c-r-shiny-1.6.0

Generation 2	Sep 16 2021 09:06:05	(current)

$ guix package -p /tmp/foo --upgrade --verbosity=2
guix package: warning: nothing to do
--8<---------------cut here---------------end--------------->8---

Et voilà!  Still a bug.  Same with any other ’verbosity’ value.


All the best,
simon




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#28743: guix package dry-run upgrade shows not required derivations (UI issue)
  2021-09-16  7:18                         ` bug#28743: guix package dry-run upgrade incorrect behaviour with verbosity zimoun
@ 2022-01-04 23:06                           ` zimoun
  0 siblings, 0 replies; 3+ messages in thread
From: zimoun @ 2022-01-04 23:06 UTC (permalink / raw)
  To: 28743-done

Hi,

I cannot reproduce this old bug [1].

 1: <http://issues.guix.gnu.org/issue/28743>

So, closing.


Cheers,
simon




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-04 23:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87o9pqz457.fsf@gmail.com>
     [not found] ` <87tvzhcpi3.fsf@gmail.com>
     [not found]   ` <87wp4c7eo5.fsf@gmail.com>
     [not found]     ` <87k20catud.fsf@gnu.org>
     [not found]       ` <874lrf52k5.fsf@gmail.com>
     [not found]         ` <87efqj9v0b.fsf@gnu.org>
     [not found]           ` <87d162tpy9.fsf@gmail.com>
     [not found]             ` <87d1617ndp.fsf@gnu.org>
     [not found]               ` <87lgkojkrl.fsf@gmail.com>
     [not found]                 ` <87h8vbkj91.fsf@gnu.org>
     [not found]                   ` <87fuav1k78.fsf@gmail.com>
     [not found]                     ` <87tvzbj8o9.fsf@gnu.org>
2017-10-08  7:06                       ` bug#28743: guix package dry-run upgrade shows not required derivations (UI issue) Oleg Pykhalov
2021-09-16  7:18                         ` bug#28743: guix package dry-run upgrade incorrect behaviour with verbosity zimoun
2022-01-04 23:06                           ` bug#28743: guix package dry-run upgrade shows not required derivations (UI issue) zimoun

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