Sean Whitton <spwhit...@spwhitton.name> writes:

> Hello,
>
> On Sun 08 Dec 2024 at 05:02pm -08, Xiyue Deng wrote:
>
>> Package: dh-elpa
>> Version: 2.1.5
>> Severity: normal
>>
>> dh-elpa detects the `Package-Version' cookie from Elisp source files and
>> generates Debian version numbers to be used in the substitute variable
>> ${elpa:Depends}.  However there is a small issue that it does not work
>> well with snapshot version numbers.
>
> Here, do you mean ELPA snapshot version numbers or Debian snapshot
> version numbers?
>

Here I mean the Debian snapshot version numbers, especially one with
"~", like `1.0.0~git20241207.dedbeaf'.

> In the past when these sorts of issues have arisen, we have concluded
> that rather than trying to make dh_elpa too clever, we should just add a
> patch in debian/patches to fix the Package-Version header.
>

I don't think that will help, because the Package-Version (e.g. 1.0.0)
will be considered higher than our snapshot version (1.0.0~git%cd.%h)
due to Debian's special handling of "~".  Bumping the version
Package-Version doesn't help as the snapshot version using "~" will
always be considered lower.  Unless we change the version to
`1.0.0git%cd.%h' or `1.0.0+git%cd.%h', that is.

Or maybe I missed something?

> -- 
> Sean Whitton

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature

Reply via email to