debputy (0.1.94) unstable; urgency=medium

  * LSP/Lint:
    - Tweak message for misplaced deb822 field.
      Thanks to Otto Kekäläinen <otto@debian.org>
    - Ignore `d/rules` targets with early `_` for typo checks.
      Thanks to Andreas Tille <tille@debian.org> (Closes: #1144502)

  * meson: Use meson install --no-rebuild by default for compat 14+
  * d/control: Mark `python3-pytest-cov`  as a test-only build-dependency.
    Thanks to Alexandre Detiste <alexandre.detiste@gmail.com> (Closes: #1143724)
  * debputy: support `DPKG_ROOT` in `pam-auth-update` `postinst` snippet

 -- Niels Thykier <niels@thykier.net>  Wed, 19 Aug 2026 16:54:39 +0000

debputy (0.1.93) unstable; urgency=medium

  * LSP/Lint:
    - Add basic documentation of `XS-Go-Import-Path`
    - Fix bug where hover docs where sometimes not shown
    - Provide rudimentary linting of most typing mappings

  * Manifest:
    - Support "on upgrade from version X" as maintscript condition
    - Support `before-upgrade` and `unconditionally-in-script`

  * Integration mode:
    - Remove `dh_computeautosubstvars` in the `dh-sequence-zz-debputy`
      (but not `dh-sequence-zz-debputy-rrr`) mode. It did nothing
      in the `dh-sequence-zz-debputy`, and `debputy` should be replacing
      it fully at that integration mode. For the `-rrr` mode, we need it
      since metadata-detectors are not run, so we need to rely on
      `dh` for `substvars`.

  * debputy: Fix crash if two deb packages both had an ELF debug with same
    ELF ID.  (Closes: debputy#150)
  * debputy: Fix confusing error about unknown search dirs for `discard` rules
    (Closes: debputy#149)
  * debputy: Support `d/tmp-deb` and `d/tmp-udeb` out of the box in `dh`-based
    integration modes such as `dh-sequence-zz-debputy`). That is,
    `debian/tmp-deb` will automatically be considered a search path for `deb`
    packages and ditto for `debian/tmp-udeb` for `udeb` packages. This enables
    smoother handling of `deb` + `udeb` multi-build source packages that
    produces provided they follow this convention.

    This change does not apply to `full` integration mode, as it tracks
    installations directories from the build system automatically. Although
    the default implementations use a similar pattern, so to the casual
    observer it will in many cases look like it does.
    (Closes: debputy#151)
  * debputy: ignore `udeb` in `auto-depends-solink`. That is, `debputy`
    will now automatic dependencies for `solink` provided the library
    is installed into exactly on `deb` package. Previously, it had to
    be installed into exactly one binary (`deb` or `udeb`) package.
    However, the `-dev` package should never need to Depends on the
    `udeb`, so it was safe to ignore here.
    (Closes: debputy#152)

 -- Niels Thykier <niels@thykier.net>  Sun, 19 Jul 2026 08:44:43 +0000

debputy (0.1.92) unstable; urgency=medium

  * Manifest:
    - Support custom maintainer script snippets via the new per-package
      `maintscript-snippets` keyword. It provides the ability to do some
       snippets for common scripts like `postinst`.

       However, it has some known limitations around `udeb` packages, `dpkg`
       triggers, and `debconf`. For `debconf`, while the scripts can use
       `debconf` via `requires: debconf`, there is currently no support for
       the `config` script, which in many cases makes the support
       moot.

       Additionally, there is no support for explicit ordering of the
       snippets relative to automated snippets. There may be use-case that
       cannot be supported currently as a consequence.

       Part of debputy#28

  * Include INTEGRATION-MODES.md in the docs.
    Thanks to Sven Joachim <svenjoac@gmx.de> (Closes: #1141681)


 -- Niels Thykier <niels@thykier.net>  Fri, 17 Jul 2026 17:54:41 +0000

debputy (0.1.91) unstable; urgency=medium

  [ Sébastien Noel ]
  * fix FTBFS for packages using cmake+pkgconf

 -- Niels Thykier <niels@thykier.net>  Mon, 06 Jul 2026 16:24:33 +0000

debputy (0.1.90) unstable; urgency=medium

  * debputy: Install pam files into `/etc/pam.d` to match
    debhelper.
  * Port `debhelper`'s new `get_build_tool` to `debputy`

 -- Niels Thykier <niels@thykier.net>  Tue, 16 Jun 2026 19:16:32 +0000

debputy (0.1.89) unstable; urgency=medium

  * debputy: Fix `SyntaxWarning` about invalid escape sequence.
    Thanks to Sven Joachim <svenjoac@gmx.de> for filing the bug
    and providing a patch. Also thanks to
    Jochen Sprickerhof <jspricke@debian.org> for also be quick
    to report the problem. (Closes: #1139930)
  * CI: Tweak the CI setup and dependencies

 -- Niels Thykier <niels@thykier.net>  Sat, 13 Jun 2026 19:31:46 +0000

debputy (0.1.88) unstable; urgency=medium

  * LSP/Lint:
    - Bump latest S-V to 4.7.4
    - Fix 2 "off-by-one" errors when checking `d/changelog` line length
      so it now triggers exactly when `lintian` would rather than 2
      characters too late.

  * Manifest:
    - Support `install-target-variables` for the `make` build system
      (Closes: debputy#128, debputy#146)

  * migrate-from-dh:
    - Migration with `tmpfiles` now assume compat 14. This is due
      to the change below about generating `--remove` and `--purge`
      snippets for `tmpfiles`.

  * Plugin API:
     - Support `Foo | None` types better in source/parsed formats.
       Previously, the had to be written as `Optional[Foo]`

  * debputy: add dependency for `tmpfiles` like `debhelper` now does
  * debputy: Generate `--remove` and `--purge` snippets for `tmpfiles`

 -- Niels Thykier <niels@thykier.net>  Sat, 13 Jun 2026 08:21:24 +0000

debputy (0.1.87) unstable; urgency=medium

  * LSP/Lint:
    - Add a few more spellcheck exclusion patterns (Closes: #1138793)
    - Use `GitHub` as canonical spelling for the `d/watch` template

  * Manifest:
    - Support `dpkg-gensymbols` as a per-package keyword. It has
      the `check-level` keyword that can be used to tweak the
      check level of `dpkg-gensymbols` (`dpkg-gensymbols -c`).

  * Plugin API:
    - Initial support for `type Foo` aliases used as types in
      source and parsed formats.

  * debputy: Generalise logic for loading debconf module
  * debputy: skip compression of common `R` data files
  * debian-wordlist.dic: Add some more known Debian / technical jargon
  * debputy.pod: Document the interaction between quotes and spellchecking
  * d/t/control: Add missing `python3-pytest-asyncio` dependency to
    a test. It did not fail, but just added unnecessary warnings
    and skipped a few tests as an unintended result.

 -- Niels Thykier <niels@thykier.net>  Sat, 06 Jun 2026 10:37:33 +0000

debputy (0.1.86) unstable; urgency=medium

  [ Niels Thykier ]
  * debputy: Avoid installing unnecessary files into `udeb` packages
    - Make `PPF` have package type and restrict some of them including
      `debian/changelog` and `debian/copyright` to be `deb` only.
    - Do not install upstream changelogs into `udeb` packages
    Thanks to Nicolas Boulenguez <nicolas@debian.org>
    (Closes: #1132773)
  * debputy: call only `pam-auth-update` once on removal
  * debputy: Unconditionally remove `/usr/share/doc` in all `udeb` packages
  * debputy: fix incorrect `systemd-sysusers` invocation in postinst.
    Thanks to Paul Gevers <elbrus@debian.org> (Closes: debputy#145)
  * debputy: find changelogs/news files to compress case-insensitively
    (Closes: debputy#144)

  [ Paul Gevers ]
  * Fix minor issues in MANIFEST-FORMAT.md
  * Update sources for the previous changes

 -- Niels Thykier <niels@thykier.net>  Sun, 19 Apr 2026 19:34:31 +0000

debputy (0.1.85) unstable; urgency=medium

  * migrate-from-dh:
    - remove `tmpfile`, not `tmpfiles` when they are identical

  * d/copyright: Remove (now) obsolete stanza
  * debputy: Fix crash when building `udeb` packages.
    Thanks to Nicolas Boulenguez <nicolas@debian.org> (Closes: #1132014)

 -- Niels Thykier <niels@thykier.net>  Thu, 02 Apr 2026 09:17:04 +0000

# For older changelog entries, run 'apt-get changelog dh-debputy'
