Bug#1088443: debian-policy: Recommend Debian package version format when upstream has no releases
- To: Simon Josefsson <simon@josefsson.org>, 1088443@bugs.debian.org
- Cc: Otto Kekäläinen <otto@debian.org>, Andrey Rakhmatullin <wrar@debian.org>
- Subject: Bug#1088443: debian-policy: Recommend Debian package version format when upstream has no releases
- From: Bill Allombert <ballombe@debian.org>
- Date: Sun, 1 Dec 2024 13:40:27 +0100
- Message-id: <[🔎] Z0xZO-CDePdso7SN@seventeen>
- Reply-to: Bill Allombert <ballombe@debian.org>, 1088443@bugs.debian.org
- In-reply-to: <87h67ry9o7.fsf@kaka.sjd.se>
- References: <CAOU6tACwAO2J2Cf=YrNXbR_xaoVMVv=2q+1L1GwYVSYq4WobxQ@mail.gmail.com> <Z0eN1kRJZbaQ7gU1@belkar.wrar.name> <CAOU6tABgeFFezcxur5g2__P0K7Bpvf_d2NhnDP=nvzqbPPx_Ug@mail.gmail.com> <Z0gF3mX8yEX12yFU@belkar.wrar.name> <CAOU6tACwAO2J2Cf=YrNXbR_xaoVMVv=2q+1L1GwYVSYq4WobxQ@mail.gmail.com> <CAOU6tADEassZR4hFdtW1EbTL7Or+Eu0dh4=KMaXEvxFxXTH5vA__38965.3663661861$1732780645$gmane$org@mail.gmail.com> <CAOU6tACwAO2J2Cf=YrNXbR_xaoVMVv=2q+1L1GwYVSYq4WobxQ@mail.gmail.com> <87h67ry9o7.fsf@kaka.sjd.se> <CAOU6tACwAO2J2Cf=YrNXbR_xaoVMVv=2q+1L1GwYVSYq4WobxQ@mail.gmail.com>
On Thu, Nov 28, 2024 at 10:44:40AM +0100, Simon Josefsson wrote:
> Otto Kekäläinen <otto@debian.org> writes:
>
> >> The commit hash. 007c9af.
> >
> > OK, thanks.
> >
> > I disagree here - to me the git commit hash is the single most
> > important identifier for the software version if there are no actual
> > releases.
>
> FWIW, I used to believe the same but this changed my mind -- gnulib is a
> rolling stable package with no releases:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069268#10
>
> I believe versions numbers are for humans; incremental integers, dates
> and possibly semantic versioning are useful ideas. I don't object to a
> git commit identifier in a version number, but I also wouldn't want to
> enforce it as a general rule. For gnulib I settled on recording the
> full git commit identifier in debian/changelog instead.
This bug report makes a good point that version should be kept to be copy-pastable and
comparable by humans.
By itself, the git commit hash does not provide any information without a copy
of the git repository. debian/changelog should be sufficient for that purpose.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: