[Dnsmasq-discuss] Snapshot archives downloaded from gitweb are not versioned properly

imnozi at gmail.com imnozi at gmail.com
Mon Sep 12 07:22:42 UTC 2022


On Mon, 12 Sep 2022 08:26:14 +0200
Geert Stappers via Dnsmasq-discuss <dnsmasq-discuss at lists.thekelleys.org.uk> wrote:

> Hello Johnny,
> ( Cc: dnsmasq-discuss at lists.thekelleys.org.uk )
> 
> 
> On Mon, Sep 12, 2022 at 11:51:22AM +0800, Johnny S. Lee via Dnsmasq-discuss wrote:
> > The contents of file VERSION from the tar.gz files of the latest 3 commits:
> > 
> > dnsmasq-c4b9bc6/VERSION: (HEAD -> master)
> > dnsmasq-4447d48/VERSION: (tag: v2.87rc1, origin/master, origin/HEAD)
> > dnsmasq-04cc2ae/VERSION:  
> 
> I do read "there is something wrong", but I don't get what.
> Hopefully do others understand it. If not, elaborate the inconvenience.

*I* might expect the displayed version info to contain reasonably consistent information. How often is the VERSION file changed? Is the VERSION file meaningful only at the time of a release and can change 'drastically' between releases? Or should it contain data like "tag: v2.87rc1, origin/master, origin/HEAD" through the life of rc1 (for example)?

N

> 
>  
> > Would it be better adding "%(describe)" to the format in file VERSION?  
> 
> I do read that as "I might have a solution for it".
> I tried to understand it and my attempt did bring:
> 
> --- a/VERSION
> +++ b/VERSION
> @@ -1 +1 @@
> -$Format:%d$
> +$Format:%d %(describe)$
> 
> 
> Is that what you are trying to say?
> 
> 
> 
> Groeten
> Geert Stappers




More information about the Dnsmasq-discuss mailing list