GNU bug report logs - #44650
Do not suggest `guix pull --news' after first pull

Previous Next

Package: guix;

Reported by: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Date: Sun, 15 Nov 2020 01:57:02 UTC

Severity: normal

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#44650: closed (Do not suggest `guix pull --news' after first
 pull)
Date: Mon, 16 Nov 2020 13:57:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 16 Nov 2020 14:55:51 +0100
with message-id <20201116135551.7k5kggstlsmw2unn <at> pelzflorian.localdomain>
and subject line Re: bug#44650: Do not suggest `guix pull --news' after first pull
has caused the debbugs.gnu.org bug report #44650,
regarding Do not suggest `guix pull --news' after first pull
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
44650: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44650
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: bug-guix <at> gnu.org
Subject: Do not suggest `guix pull --news' after first pull
Date: Sun, 15 Nov 2020 02:56:30 +0100
[Message part 3 (text/plain, inline)]
After doing a `guix pull` on the new VM image
<https://alpha.gnu.org/gnu/guix/guix-system-vm-image-1.2.0rc1.x86_64-linux.xz>,
the following is displayed:

> hint: Run `guix pull --news' to read all the news.
> 
> hint: After setting `PATH', run `hash guix' to make sure your shell refers to `/home/guest/.config/guix/current/bin/guix'.

The former `guix pull --news` is without effect (it is the very first
time I did a `guix pull`).  It is a no-op.  Users should not get the
suggestion to run `guix pull --news`.


Within (guix scripts pull)’ build-and-install procedure, the value of
(display-channel-news-headlines profile) is <unspecified>.

The attached patch changes it to return #f.  I have verified running
`guix pull --news' is not suggested anymore with it (although I have
not tested if news are still displayed).

It would perhaps be nicer if the news since version 1.2.0 were
displayed, but I do not know how to make it so.  I guess since the
original guix package must come from the guix package in (gnu packages
package-management), it is impossible to determine the version from
which news should be computed.

Regards,
Florian
[0001-pull-Do-not-suggest-running-guix-pull-news-on-the-fi.patch (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 44650-done <at> debbugs.gnu.org
Subject: Re: bug#44650: Do not suggest `guix pull --news' after first pull
Date: Mon, 16 Nov 2020 14:55:51 +0100
On Mon, Nov 16, 2020 at 12:35:08PM +0100, Ludovic Courtès wrote:
> Perfect, you can push to ‘version-1.2.0’, thank you!
> 
> Ludo’.

Thank you.  Pushed as 29ed17d6345d30b0646f0a9b63ab201e0e6871ec.  Done.

Regards,
Florian


This bug report was last modified 4 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.