[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: version format for git snapshot

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
(Due to my workload, I may need 10 days to answer)

Reply to: