Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1250352
| From | Sean Whitton <spwhitton@spwhitton.name> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1103033: emacs: generate versioned Provides for all :core packages |
| Date | 2025-06-18 16:20 +0200 |
| Message-ID | <KZ1NT-brB3-9@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <KBjCh-dnCN-1@gated-at.bofh.it> <KBgXL-dlMz-1@gated-at.bofh.it> <KYsZP-b5qL-1@gated-at.bofh.it> <KBgXL-dlMz-1@gated-at.bofh.it> <KYsZP-b5qL-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hello,
On Mon 16 Jun 2025 at 05:59pm -07, Xiyue Deng wrote:
> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> control: reassign -1 src:emacs
>> control: retitle -1 emacs: generate versioned Provides for all :core packages
>>
>> Hello,
>>
>> On Sun 13 Apr 2025 at 08:55pm -07, Xiyue Deng wrote:
>>
>>> Option 1 also sounds good to me.
>>
>> Cool. I'm not planning to work on it but I can review patches.
>>
>
> I have made proof-of-concept patches as a pseudo-MR at [1] (this MR is
> against my own fork just for illustration). Basically, it uses an Emacs
> script to generate Debian compatible versions from the builtin package
> list, which is integrated with `debian-sync' in debian/rules (similar to
> the handling of debian/copyright.in). I'm currently making the provide
> list in emacs-common package which ships the compiled elisp files.
>
> Please review and comment.
Very interesting.
Have you considered using debhelper substvars for this? Like how we
have ${elpa:Depends}. It avoids needing a control.in. A control.in
isn't the end of the world but it might be cleaner not to have one.
Don't sharpquote lambdas; unlike in CL, doing so will mean they don't
get compiled (I think).
You can rewrite the cond using cl-case or pcase.
Use cl-incf (just incf in Emacs 31) instead of setq and 1+.
I see you're using package--builtin-versions. I'm not happy to be using
an internal variable -- it got us in trouble before!
--
Sean Whitton
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1103033: dh-elpa: Handle version of built-in package better Xiyue Deng <manphiz@gmail.com> - 2025-04-14 03:40 +0200
Bug#1103033: dh-elpa: Handle version of built-in package better Sean Whitton <spwhitton@spwhitton.name> - 2025-04-14 04:50 +0200
Bug#1103033: dh-elpa: Handle version of built-in package better Xiyue Deng <manphiz@gmail.com> - 2025-04-14 06:00 +0200
Bug#1103033: dh-elpa: Handle version of built-in package better Sean Whitton <spwhitton@spwhitton.name> - 2025-04-14 06:30 +0200
Bug#1103033: dh-elpa: Handle version of built-in package better Xiyue Deng <manphiz@gmail.com> - 2025-04-14 06:40 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Xiyue Deng <manphiz@gmail.com> - 2025-06-17 03:10 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-06-18 16:20 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Xiyue Deng <manphiz@gmail.com> - 2025-06-19 04:10 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-06-19 14:50 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-06-20 13:40 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-04 14:40 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-04 22:50 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-15 11:20 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-15 23:00 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-15 23:00 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-16 11:40 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-16 12:10 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-16 20:40 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-18 11:20 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-20 16:40 +0200
Bug#1103033: emacs: generate versioned Provides for all :core packages Sean Whitton <spwhitton@spwhitton.name> - 2025-07-21 10:30 +0200
csiph-web