unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35601: First 'guix pull' does not display 'hash guix' hint
@ 2019-05-06 13:04 Diego Nicola Barbato
  2019-05-09 15:45 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Diego Nicola Barbato @ 2019-05-06 13:04 UTC (permalink / raw)
  To: 35601

Hi Guix,

Congratulations on 1.0.0!

I took the opportunity to revisit bug #33647 [0] and verify that commits
3bbd691 and d1d7283 have the desired effect.  Unfortunately they do
not: The first time a user runs guix pull on a freshly installed Guix
System no hint about running 'hash guix' is displayed even though it is
precisely when the hint was supposed to be displayed.

To reproduce simply run (after installing Guix System using the 1.0.0
installer) 'guix --version', which will yield 'guix (GNU Guix) 1.0.0',
then 'guix pull', which will display no hint about running 'hash guix',
then 'guix --version' again, which will return 'guix (GNU Guix) 1.0.0'
again, and finally 'hash guix' followed by 'guix --version', which now
will yield 'guix (GNU Guix) 1234somecommithash123456789abcdefghijklm'.

Regardless of the hint I still believe it is unfortunate that running
'guix pull && guix system reconfigure /etc/config.scm' for the first
time will rather counterintuitively downgrade the system instead of
upgrading it.

Regards,

Diego

[0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33647

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

* bug#35601: First 'guix pull' does not display 'hash guix' hint
  2019-05-06 13:04 bug#35601: First 'guix pull' does not display 'hash guix' hint Diego Nicola Barbato
@ 2019-05-09 15:45 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-05-09 15:45 UTC (permalink / raw)
  To: Diego Nicola Barbato; +Cc: 35601-done

Hi!

Diego Nicola Barbato <dnbarbato@posteo.de> skribis:

> To reproduce simply run (after installing Guix System using the 1.0.0
> installer) 'guix --version', which will yield 'guix (GNU Guix) 1.0.0',
> then 'guix pull', which will display no hint about running 'hash guix',
> then 'guix --version' again, which will return 'guix (GNU Guix) 1.0.0'
> again, and finally 'hash guix' followed by 'guix --version', which now
> will yield 'guix (GNU Guix) 1234somecommithash123456789abcdefghijklm'.

I *think* this is fixed for good by
a0dc97a517cbc4c82640e30cacb2a564d128bbe9.

> Regardless of the hint I still believe it is unfortunate that running
> 'guix pull && guix system reconfigure /etc/config.scm' for the first
> time will rather counterintuitively downgrade the system instead of
> upgrading it.

I agree.  Perhaps an option would be to somehow pre-populate
~/.config/guix/current for all users on Guix System, but I’m not quite
sure how to do that intelligently.

Thoughts?

Thanks,
Ludo’.

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

end of thread, other threads:[~2019-05-09 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-06 13:04 bug#35601: First 'guix pull' does not display 'hash guix' hint Diego Nicola Barbato
2019-05-09 15:45 ` 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).