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


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

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

From gregor herrmann <gregoa@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1133353: pts-perl-tools: dpt fixup: dependency order pingpong
Date 2026-04-12 17:00 +0200
Message-ID <MJ4s1-eBBa-1@gated-at.bofh.it> (permalink)
References <MJ0HM-ez1E-3@gated-at.bofh.it> <MJ0HM-ez1E-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Control: retitle -1 pkg-perl-tools: dpt fixup: dependency order pingpong
Control: found -1 0.86

On Sun, 12 Apr 2026 12:48:03 +0200, Roland Rosenfeld wrote:

>when I run "dpt fixup" on a package, that's up to date, the following
>two commits are (always) added:

Yes, that's indeed annoying, and I'm the one (partially :)) 
responsible for it.

>From my point of view these should not differ in their order but use
>the same algorithm.

That would be ideal indeed.

>I'm sure, that this problem didn't exist in January, but don't see
>what exact change triggered the issue.

 From pkg-perl-tools changelog:

pkg-perl-tools (0.86) unstable; urgency=medium

   * dpt-fixup: (temporarily) adjust to changes in
     libconfig-model-dpkg-perl (cf. #1125967).

>As the version with ${...} is
>in my git history for a longer time, the behavior of wrap-and-sort
>must have changed, but wrap-and-sort from devscripts (2.25.15+deb13u1)
>on my trixie system behaves in the same way.

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).


Cheers,
gregor

-- 
  .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
  : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
  `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
    `-   

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next 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