unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guix installation age warning sometimes wrong
Date: Tue, 25 Jul 2017 10:16:29 +0200	[thread overview]
Message-ID: <8760ehnd7m.fsf@gnu.org> (raw)
In-Reply-To: <CAEwRq=pK7NHcfOg7jAFTdZWUJ-daxOKvne4BNL=2AbY7tmwr0Q@mail.gmail.com> (Vincent Legoll's message of "Mon, 24 Jul 2017 19:55:31 +0200")

Hi,

Vincent Legoll <vincent.legoll@gmail.com> skribis:

> On Mon, Jul 24, 2017 at 7:06 PM, Troy Sankey <sankeytms@gmail.com> wrote:
>>   guix package: warning: Your Guix installation is 125 days old.
>>   guix package: warning: Consider running 'guix pull' followed by
>>   'guix package -u' to get up-to-date packages and security updates.
>>
>> ...presumably because it's reading the mtime/ctime on the symlink.  Is
>> there a more precise way to asses the age of the guix installation
>> symlink?
>
> This has been discussed previously, for example in this thread:
> https://lists.gnu.org/archive/html/guix-devel/2017-05/msg00123.html

Yeah currently this is based on the mtime.

Eventually I think we’ll rather check the Git commit that this
corresponds to, compared to the latest one available (though that’s
tricky since it involves making a network connection.)

So that’s what we have for now.  As long as you don’t fiddle manually
with the ‘latest’ symlink, everything should be fine; otherwise be
prepared for things like this.

Ludo’.

      reply	other threads:[~2017-07-25  8:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24 17:06 guix installation age warning sometimes wrong Troy Sankey
2017-07-24 17:55 ` Vincent Legoll
2017-07-25  8:16   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760ehnd7m.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=vincent.legoll@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).