Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1289409

Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong

From Roland Rosenfeld <roland@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong
Date 2026-04-13 16:50 +0200
Message-ID <MJqLT-eQQI-9@gated-at.bofh.it> (permalink)
References <MJ0HM-ez1E-3@gated-at.bofh.it> <MJ4s1-eBBa-1@gated-at.bofh.it> <MJ0HM-ez1E-3@gated-at.bofh.it> <MJ4s1-eBBa-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi gregor!

On Sun, 12 Apr 2026, gregor herrmann wrote:

> wrap-and-sort wasn't used in dpt-fixup before pkg-perl-tools 0.86.
> 
> The (original) change was in libconfig-model-dpkg-perl.
> 
> Then I played around with various options and opted for using wrap-and-sort
> for the time being, but this can lead to this double change as
> wrap-and-sort/cme/debputy almost but not completely agree on the formatting
> …
> 
> /*
> In libconfig-model-dpkg-perl's git I found
> b47f787095a12e708ac572dbfce245b212181ac8:
> 
>     Dpkg backend: use style like wrap-and-sort -ast
> 
>     See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849498#32 for
>     rationale
> */
> 
> 
> So yeah, we could switch dpt-fixup back to use cme (instead of
> wrap-and-sort); this would avoid _this_ annoyance but on the other hand
> might introduce changes which are more than just reformatting (that's
> #1125967).

If we define that "wrap-and-sort" does sorting the fields in our
preferred order, we could add another call of
 wrap-and-sort -ast -f debian/control
after the "cme modify dpkg-control" calls in lines 123/124.
This isn't a very clean solution, but avoids the pingpong, since it
always results in the order defined by wrap-and-sort.

(everything is better than the pingpong in the git history ;-)

Greetings
Roland

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar


Thread

Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong Roland Rosenfeld <roland@debian.org> - 2026-04-12 13:00 +0200
  Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong gregor herrmann <gregoa@debian.org> - 2026-04-12 17:00 +0200
    Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong Roland Rosenfeld <roland@debian.org> - 2026-04-13 16:50 +0200

csiph-web