all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Vong <alexvong1995@gmail.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Needs enhancement: "is my guix current?"
Date: Tue, 12 Dec 2017 18:56:53 +0800	[thread overview]
Message-ID: <87tvwwqkne.fsf@gmail.com> (raw)
In-Reply-To: <f3b496fd-1421-3046-2c44-7a39036ac0dd@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 11 Dec 2017 13:20:43 +0100")

[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]

Hello,

I think if you never run 'guix refresh', then the guix installed should
always be newer than the guix known to guix.

The argument is as followed:
When you install guix, the guix known to guix is at least 1 commit older
than the installed guix. When you run 'guix pull', the installed guix is
updated to its latest version in master and the guix known to guix is
also always at least 1 commit older than that latest version.
(The reason for the >= 1 commit lag is because it takes 1 commit to
update the hash for the guix known to guix.)

To sum up, if you never run 'guix refresh', then the guix installed
should always be newer than the guix known to guix. If you have run
'guix refresh', then we know nothing since 'guix refresh' only updates
the guix known to guix (whch mess up the invariant).

Hope this make sense!

Hartmut Goebel <h.goebel@crazy-compilers.com> writes:

> Hi,
>
> on my effort to solve the problems when updating to guix 0.14.0, I
> stepped over this simple question:
>
> Is the installed guix the current one, resp. the current one my guix
> knows of? Is there anyway to find out whether 20170924.19 or
> 0.13.0-6.a9468b4 is newer?
>
> guix installed:
>
>     # guix --version
>     guix (GNU Guix) 20170924.19
>
> guix knows to my guix:
>
>     # guix package -A guix
>     guix    0.13.0-6.a9468b4
>
>
> From the usability point of view, this information needs to be ovbiously
> available. Users should easily be able to to determine which version is
> the newer one.
>
> Since I do not know how these different version numbers are generated, I
> can't make any suggestions, though. Sorry.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2017-12-12 10:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11 12:20 Needs enhancement: "is my guix current?" Hartmut Goebel
2017-12-11 13:23 ` Ludovic Courtès
2017-12-12 10:56 ` Alex Vong [this message]
2017-12-12 12:54   ` Ludovic Courtès
2017-12-12 15:55     ` Alex Vong

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

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

  git send-email \
    --in-reply-to=87tvwwqkne.fsf@gmail.com \
    --to=alexvong1995@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.