[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: version format for git snapshot
From:       Pau Garcia i Quiles <pgquiles () elpauer ! org>
Date:       2015-09-15 3:48:06
Message-ID: CAKcBokvB6Y3K5kxbope68gmk4puGecx=AJD3ZeDdpgUPjZOXpA () mail ! gmail ! com
[Download RAW message or body]

On Tue, Sep 15, 2015 at 1:24 AM, Colin Watson <cjwatson@debian.org> wrote:


> > This is what I generally do: last release + "git" + ISO 8601 date and
> time
> > + 10-char substring of the commit id. I. e:
> >
> > 0.5+git20150531T211420-cdd9d98f2c-1
>
> IME it is in fact useful to have version numbers that stand a chance of
> fitting in people's short-term memory.
>
>
That's definitely an advantage of your schema over my schema.

The idea of having the commit id in the version string was to make versions
(easily) machine processable. But if one is not going to release more than
one snapshot a day (and I guess very few people do -- I rarely do!), then
it's something to consider, definitely. Hmmm I'll have to think what to do
next time I'm going to package snapshots! :-)

Thank you for sharing!

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

[Attachment #3 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep \
15, 2015 at 1:24 AM, Colin Watson <span dir="ltr">&lt;<a \
href="mailto:cjwatson@debian.org" target="_blank">cjwatson@debian.org</a>&gt;</span> \
wrote:</div><div class="gmail_quote"><div>  </div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span \
class=""> &gt; This is what I generally do: last release + &quot;git&quot; + ISO 8601 \
date and time<br> &gt; + 10-char substring of the commit id. I. e:<br>
&gt;<br>
&gt; 0.5+git20150531T211420-cdd9d98f2c-1<br>
<br>
</span>IME it is in fact useful to have version numbers that stand a chance of<br>
fitting in people&#39;s short-term memory.<br>
<span class=""><font \
color="#888888"><br></font></span></blockquote><div><br></div><div>That&#39;s \
definitely an advantage of your schema over my schema.</div><div><br></div><div>The \
idea of having the commit id in the version string was to make versions (easily) \
machine processable. But if one is not going to release more than one snapshot a day \
(and I guess very few people do -- I rarely do!), then it&#39;s something to \
consider, definitely. Hmmm I&#39;ll have to think what to do next time I&#39;m going \
to package snapshots! :-)<br></div><div><br></div><div>Thank you for \
sharing!</div></div><div><br></div>-- <br><div class="gmail_signature">Pau Garcia i \
Quiles<br><a href="http://www.elpauer.org" \
target="_blank">http://www.elpauer.org</a><br>(Due to my workload, I may need 10 days \
to answer)</div> </div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic