On Sun, Jul 06, 2025 at 10:38:46AM +0200, Carsten Schoenert wrote:
[snip]
> other things...
> 
> debian/control:
> Please do the ordering of the Build-Depends in alphabetical ordering, this
> helps me and others too see the "right" listed package I'm searching there
> because we are humans and finding things quicker if they are ordered
> alphabetical.
> You can use wrap-and-sort (e.g. with the options '-ast') to do that for you.
> This would also do a bit of reordering in debian/tests/control so the
> content is a bit better readable there.

Lately I've been using the debputy tool to do that:
- `apt install dh-debputy`
- add X-Style: black to the source stanza of the debian/control file
- `debputy reformat`

Of course, as with any opinionated formatting tool, every now and then
the authors change the formatting style, but in my experience this
happens very, very rarely with debputy.

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@debian.org pe...@morpheusly.com
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature

Reply via email to