On Fri, Jun 05, 2026 at 09:08:50PM +0800, Otto Kekäläinen wrote:
> Hi,
> 
> Thanks for testing!
> 
> > 1. Its loosing d/copyright information:
> 
> Seems there is a but in the sed commands in
> https://salsa.debian.org/debian/debcraft/-/blob/main/src/container/improve.d/copyright-years.sh
> that does this. I will need to debug and fix it.
> 
> > 2. Depends are sorted alphabethically - fine so far.  I could
> >    imagine there are maintainers who want to keep a certain
> >    sorting.  Can this feature be somehow suppressed?
> 
> This is how wrap-and-sort -ast works. Formatting is in
> https://salsa.debian.org/debian/debcraft/-/blob/main/src/container/improve.d/formatting.sh
> 
> I wish wrap-and-sort had good defaults and that we all could simply
> run 'wrap-and-sort' without any options. However this is not the case,
> and I think the "golden standard" fo rmost people is to run it with
> -ast (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895570).
> Having tools that automatically format and fix packages is
> unreasonably hard to implement if a lot of people have personal
> preferences on the details.

Hmm, people do know about `debputy reformat` and X-Style: black, right?

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
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