unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: "Stéfane Fermigier" <sf@fermigier.com>
Cc: 72495@debbugs.gnu.org
Subject: bug#72495: `guix --version` not really helpful
Date: Tue, 10 Sep 2024 15:16:30 +0200	[thread overview]
Message-ID: <87ttenejip.fsf@gmail.com> (raw)
In-Reply-To: <CABuJJj5pzd_En7X5S9r8-VzLwgO3ABZ6ycowE0K-GzRPLx2g3A@mail.gmail.com> ("Stéfane Fermigier"'s message of "Tue, 6 Aug 2024 12:14:56 +0200")

Hi,

On Tue, 06 Aug 2024 at 12:14, Stéfane Fermigier <sf@fermigier.com> wrote:
> When I type:
>
> guix --version
>
> I get:
>
> guix (GNU Guix) 6689a96ce86497299bd29f183b744116fd2d6e32
>
> That's not really helpful (i.e. it doesn't tell how old / up to date my system is). A proper version number (e.g. "x.y.z-devel", etc.) and/or a date
> would be nice.

Maybe what you want is “guix describe”.  For instance, it outputs:

    $ guix describe
    Generation 8	Sep 09 2024 15:14:29	(current)
      guix 056910e
        repository URL: https://git.savannah.gnu.org/git/guix.git
        commit: 056910ec864cb7cf3225a0c27679d94405db7dcd

It does not tell how old or up-to-date your system is but it informs you
about your last “guix pull”.  It seems a good starts.

About a proper version number, I am not convinced it suits well some
rolling-release.  Troll inside. ;-)

Cheers,
simon




      parent reply	other threads:[~2024-09-10 16:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06 10:14 bug#72495: `guix --version` not really helpful Stéfane Fermigier
2024-08-06 16:20 ` bug#72495: Ashvith Shetty
2024-09-10 13:16 ` Simon Tournier [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=87ttenejip.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=72495@debbugs.gnu.org \
    --cc=sf@fermigier.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).