Hi Sean,

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

> Hello,
>
> On Sun 08 Dec 2024 at 05:02pm -08, Xiyue Deng wrote:
>
>> dh-elpa should instead generate snapshot-friendly version number like
>> ,----
>> | foo (>= 1.0.0~)
>> `----
>
> I understand the issue better now thanks to your example.
>
> We wouldn't want to unconditionally generate >=1.0.0~.  It's useful that
> a 1.0.0~git.. version number does not satisfy a standard >=1.0.0
> dependency.  It's only when a pre-release is known to work fine that we
> would want >=1.0.0~ in ${elpa:Depends}.
>

I would expect that if `foo' depends on `(bar "1.0.0")', then bar with
`Package-Version: 1.0.0-git' would also satisfy the requirement, like
saying that bar has added some new interfaces required by foo, and may
(or may not) add more.  Just my 2 cents.

How does Emacs itself handle this kind of version dependencies?

> There are already snapshot, -git, .cvs etc. version numbers defined.
> See `version-to-list'.  Maybe dh_elpa could append a tilde in the
> presence of one of those.
>

I'm not sure this will help with the dap-mode/emacs-lsp-docker
situation, as the current Package-Version of emacs-lsp-docker doesn't
have a suffix :/

> -- 
> Sean Whitton

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature

Reply via email to