Le 15/01/14 12:38, Bináris a écrit :
> Is there a way to get human readable version numbers again, like in the
> SVN times? This is a small annoying thing that is really unimportant
> compared to other newborn problems.
> Earlier we had a decimal number that had some meaning. Now there is a
> long hexa string that informs only machines.

Hello,

If your repository has tagged some commit, you can use 'git describe'
which will find the nearest tag, count the commit and forge a version
for you out of it.  Something like:

  $ git describe
  2.0.0-24-g709bc9a

Which mean:

Version 2.0.0 + 24 commits

The last commit is a git commit having sha1 709bc9a.


You would need at least one tag though.

-- 
Antoine "hashar" Musso


_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to