unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19764: Downgrade reported as an ugprade
@ 2015-02-04  9:15 Ludovic Courtès
  2015-02-04 16:18 ` Mark H Weaver
  2015-02-08 18:02 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2015-02-04  9:15 UTC (permalink / raw)
  To: 19764

As seen during a ‘guix package’ demo at FOSDEM, downgrades are reported
as upgrades as of 0.8.1.

Ludo’.

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

* bug#19764: Downgrade reported as an ugprade
  2015-02-04  9:15 bug#19764: Downgrade reported as an ugprade Ludovic Courtès
@ 2015-02-04 16:18 ` Mark H Weaver
  2015-02-08 18:09   ` Ludovic Courtès
  2015-02-08 18:02 ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2015-02-04 16:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 19764

ludo@gnu.org (Ludovic Courtès) writes:
> As seen during a ‘guix package’ demo at FOSDEM, downgrades are reported
> as upgrades as of 0.8.1.

I don't know about this one, but another problem with our upgrade
command is that it mishandles outputs other than "out", at least in the
console output.  It _always_ says it's upgrading them.

     Mark

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

* bug#19764: Downgrade reported as an ugprade
  2015-02-04  9:15 bug#19764: Downgrade reported as an ugprade Ludovic Courtès
  2015-02-04 16:18 ` Mark H Weaver
@ 2015-02-08 18:02 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2015-02-08 18:02 UTC (permalink / raw)
  To: 19764-done

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

> As seen during a ‘guix package’ demo at FOSDEM, downgrades are reported
> as upgrades as of 0.8.1.

Fixed in 46b23e1:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix package -p foo -i guile-1.8.8 -n
gnu/packages/guile.scm:50:2: rimarko: ni uzas guile-1.8.8 sed guile-2.0.11 disponeblas unuanivele
The following package would be downgraded:
   guile	2.0.11 → 1.8.8	/gnu/store/660m94139bka6mi7bdja5nvvqwq61zkk-guile-1.8.8
--8<---------------cut here---------------end--------------->8---

Ludo'.

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

* bug#19764: Downgrade reported as an ugprade
  2015-02-04 16:18 ` Mark H Weaver
@ 2015-02-08 18:09   ` Ludovic Courtès
  2015-02-09 14:55     ` Andreas Enge
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2015-02-08 18:09 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 19764

Mark H Weaver <mhw@netris.org> skribis:

> I don't know about this one, but another problem with our upgrade
> command is that it mishandles outputs other than "out", at least in the
> console output.  It _always_ says it's upgrading them.

From a quick check, ‘manifest-transaction-effects’ reports the right
thing when upgrading just a single output.

Could you send an example that illustrates the problem?

TIA,
Ludo’.

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

* bug#19764: Downgrade reported as an ugprade
  2015-02-08 18:09   ` Ludovic Courtès
@ 2015-02-09 14:55     ` Andreas Enge
  2015-02-09 17:19       ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2015-02-09 14:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 19764

Now, pseudo-upgrades are reported as downgrades. Namely, when the version
number of a package does not increase, but something changes with respect
to its inputs. I would suggest to treat them as upgrades.

Andreas

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

* bug#19764: Downgrade reported as an ugprade
  2015-02-09 14:55     ` Andreas Enge
@ 2015-02-09 17:19       ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2015-02-09 17:19 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 19764

Andreas Enge <andreas@enge.fr> skribis:

> Now, pseudo-upgrades are reported as downgrades. Namely, when the version
> number of a package does not increase, but something changes with respect
> to its inputs. I would suggest to treat them as upgrades.

Indeed.  Fixed in 3bea13b, thanks!

Ludo’.

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

end of thread, other threads:[~2015-02-09 17:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-04  9:15 bug#19764: Downgrade reported as an ugprade Ludovic Courtès
2015-02-04 16:18 ` Mark H Weaver
2015-02-08 18:09   ` Ludovic Courtès
2015-02-09 14:55     ` Andreas Enge
2015-02-09 17:19       ` Ludovic Courtès
2015-02-08 18:02 ` Ludovic Courtès

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