Re: Request for feedback: debcraft improve

Peter Pentchev <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmoizmsACgkQZR7vsCUn
3xOraRAAnUc/ZwyuYJHc9TtyWadfbqVdCmDWMxzIbH2SY4OmomiKXSISSgS/dAPO
S+Yr5jb51pa4XtmNyOQtF4O+IFfjM7/Z8a8qrToL8xI8aFQsWm8bgVT1VaBCnYB0
St3MxnvUEHzzu7+lm8oafejtqBaAAvjdOSCi/1Z1KgQTjw+02nF+BoeXsZSXw3fm
pxQ/6fGJN7GXNrUm8JJAF1pR9pOeSmQU5o2hHmPuWfXki01bGKW011F1E04i1uev
g1QeOokatzdW64NJ2jLcHWDUTHp0d9E7CWsdVKzldqXIwO9FkAUfpSL0HlMJfAwr
uF84eury52vOBne6FRO3J0E/bO52wH48pv+GxUgP4gJd5vbyYPm+DtVaSAC08pmV
5Lsb1cCdmwySqFZ8fZQrJVfOou/uN29xYQXQnmnnXFDK04MPgkiMnHq5saJtpuFx
x+dWiTNLcsn1QHyv3qiuP60tzNp6NRrqY3H8j//heTWSKS64F6vm+S/7a7rhpCRJ
3Via9Q6xhvPgk7Q2NUXwTOlMB6vMMRaOJjAMW+kYYdtz0WbbZ/hP66WEK0R9/lt1
7b30g+l3m/xP+gCY0J8DS5eWYXumWLCIlrveSVRHAedu8n+MfED8BM5r60LMdnB0
5PfosmHa851hvu0SFYYRGqyG4gGqHacSYIP4/sjYf9RPkA6I23o=
=3ZSx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.