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

Re: how do deal with versionless mercurial software ?

On Fr, 2013-10-04 at 13:40 +0200, Dominik George wrote:
> Vincent Lefevre <vincent@vinc17.net> schrieb:
> >Then, do you mean that VCS hashes are sortable?
> Of course not. One would have to do something like 0~YYYYMMDDnn
> +gitXXXX in that rare case.
> My argument for keeping the VCS hash is to ease identifying the code
> in the package.

You could put the VCS hash as text in the changelog entry, e.g. "New
upstream snapshot (git commit XXXX)." and just use the date as Debian
version (0~YYYYMMDD or 0.YYYYMMDD). In case you need to release two
upstream snapshots on the same date, you can append .2 (0~YYYYMMDD.2).

Benjamin Drung
Debian & Ubuntu Developer

Reply to: