[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better names for Guix versions from git?
From: |
Gábor Boskovits |
Subject: |
Re: Better names for Guix versions from git? |
Date: |
Wed, 26 Dec 2018 14:57:48 +0100 |
Hello,
swedebugia <address@hidden> ezt írta (időpont: 2018. dec. 25., K, 22:39):
>
> On 2018-12-25 20:49, Taylan Kammer wrote:
> > Currently, after running 'guix pull', the Guix version will be reported
> > by 'guix --version' as something like:
> >
> > 522d1b87bc88dd459ade51b1ee0545937da8d3b5
> >
> > I think it would be really nice if instead it were something like:
> >
> > 2018-12-25-522d1b
> >
> > where the date is the commit's date (year, month, day) in UTC+0.
> >
> > That's shorter, more descriptive, and just as unique. (The chances of
> > there being two commits in the same day with the same first 6 positions
> > in the hash should be negligient.)
> >
> > The package name is currently something like:
> >
> > guix-522d1b87b
> >
> > That could become:
> >
> > guix-2018-12-25-522d1b
> >
> > which is a bit longer but more descriptive.
> >
> > I looked into guix/self.scm a bit but couldn't easily tell how difficult
> > it would be to implement these changes.
> >
> > Thoughts? Worth it?
>
> I think it is worth it, in fact I was on my way to suggest the same.
>
> --
> Cheers Swedebugia
>
What do you think about a git describe like output?
This gives on current master: v0.16.0-362-g10275b746
this means the current branch is based on annotated tag
v0.16.0, 362 commits are added on top, and
the sort commit id is 10275b746.
Best regards,
g_bor
- Better names for Guix versions from git?, Taylan Kammer, 2018/12/25
- Re: Better names for Guix versions from git?, swedebugia, 2018/12/25
- Re: Better names for Guix versions from git?,
Gábor Boskovits <=
- Re: Better names for Guix versions from git?, Marius Bakke, 2018/12/26
- Re: Better names for Guix versions from git?, Taylan Kammer, 2018/12/27
- Re: Better names for Guix versions from git?, Björn Höfling, 2018/12/29
- Re: Better names for Guix versions from git?, swedebugia, 2018/12/29
- Re: Better names for Guix versions from git?, Ricardo Wurmus, 2018/12/29
- Re: Better names for Guix versions from git?, Björn Höfling, 2018/12/29