Package: dh-debputy
Version: 0.1.93
Severity: normal
X-Debbugs-Cc: [email protected]

Hi,

there is a call of

   debputy lint --auto-fix

integrated into routine-update and this works nicely in many cases.
Thanks a lot for this helpful tool.  Unfortunately it seems to be a bit
to aggressive in "fixing" things.  I recently worked on horizon-eda where
some overrides where deliberately renamed to deactivate these by the
maintainer.  Thi has lead to the following change:

    debputy lint --auto-fix (routine-update)

diff --git a/debian/changelog b/debian/changelog
index 6d633a6..851810b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ horizon-eda (2.7.2-1) UNRELEASED; urgency=medium
   * Avoid explicitly specifying -Wl,--as-needed linker flag.
   * Trim trailing whitespace.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * debputy lint --auto-fix (routine-update)
 
  -- Andreas Tille <[email protected]>  Sat, 15 Aug 2026 13:53:31 +0200
 
diff --git a/debian/rules b/debian/rules
index d1e9aef..049dd30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,12 +8,12 @@ export PREFIX=/usr
 %:
        dh $@ --buildsystem=meson
 
-__override_dh_auto_build:
+override_dh_auto_build:
        doxygen doxygen.config
        make pymodule
        dh_auto_build
 
-__override_dh_auto_install:
+override_dh_auto_install:
        dh_auto_install
 #      mkdir -p $(CURDIR)/debian/usr/lib/python3.8/dist-packages
 #      cp build/horizon.so $(CURDIR)/debian/usr/lib/python3.8/dist-packages/


While override_dh_auto_install did not break the build the change to
override_dh_auto_build was unfortunate.  Thinking about it I would have
prefered that this would not have been "fixed".

I have no really strong opinion about this but I would have prefered
a lintian warning over a broken rules file in this case.

Kind regards
   Andreas.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'buildd-unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.5+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-debputy depends on:
ii  debhelper             14.3
ii  dwz                   0.17-1
ii  man-db                2.13.1-1
ii  perl                  5.42.2-3
ii  python3               3.14.6-1
ii  python3-colored       2.2.4-1
ii  python3-colorlog      6.10.1-1
ii  python3-debian        1.1.1
ii  python3-ruamel.yaml   0.18.14-4
ii  strip-nondeterminism  1.15.1-1

Versions of packages dh-debputy recommends:
ii  python3-argcomplete  3.7.0-1

Versions of packages dh-debputy suggests:
ii  debputy-lsp          0.2.2
ii  hunspell-en-us       1:2020.12.07-4
ii  python3-hunspell     0.5.5-2+b13
pn  python3-junit.xml    <none>
ii  python3-levenshtein  0.27.1-2+b1
ii  python3-lsprotocol   2025.0.0-3
ii  python3-pygls        1.3.0-4

-- no debconf information

Reply via email to