From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#25852: Users not updating their installations of Guix Date: Fri, 12 May 2017 08:06:48 +0200 Message-ID: <87lgq2sj5z.fsf@elephly.net> References: <20170223211156.GA24382@jasmine> <877f429kju.fsf@gnu.org> <87wpc1k0e5.fsf@netris.org> <87efy9gyr5.fsf@gnu.org> <87k27wporb.fsf@netris.org> <877f1oua8u.fsf@gnu.org> <86vap8yf36.fsf@gmail.com> <878tm4sc0l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d93jD-0004Ex-KW for bug-guix@gnu.org; Fri, 12 May 2017 02:07:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d93jC-0003yn-Et for bug-guix@gnu.org; Fri, 12 May 2017 02:07:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d93jC-0003yc-Bo for bug-guix@gnu.org; Fri, 12 May 2017 02:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d93jC-0005aM-30 for bug-guix@gnu.org; Fri, 12 May 2017 02:07:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <878tm4sc0l.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25852-done@debbugs.gnu.org, myglc2 Ludovic Courtès writes: > myglc2 skribis: > >> How about extending this ... >> >>> + (warning (G_ "Your Guix installation is getting old. Consider >>> +running 'guix pull' followed by '~a' to get up-to-date >>> +packages and security updates.\n") >> >> ... to inform the user how old the installation is? > > Good idea. I did that and pushed as > 7fd952e05203d975fcb6cdabd2f742ade1b31b66. Does this do the right thing when .config/guix/latest points at a git checkout? The mtime of the “.config/guix/latest” link on one of my machines is from 2016, so Guix says it is too old, but it points to a git checkout, which is recent. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net