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

debputy (0.1.84) unstable; urgency=medium

  * LSP/Lint:
    - Fix typo in common-licenses path in the hover doc
      of `debian/copyright`. Thanks to Bastian Germann
      <bage@debian.org> for providing the fix.
    - Fix false-positive warning for `dir/` no being
      `dir/*` in `Files-Excluded` of `debian/copyright`.
      Thanks to David Kalnischkies <david@kalnischkies.de>
      for providing the fix.
    - Fix false-positive warning about having duplicated
      `foo (= X)` relations in `Provides`. It can make
      sense to have multiple `foo (= X)` for different
      values of `X`. Thanks to David Kalnischkies
      <david@kalnischkies.de> for providing the fix.
    - Add more spelling exceptions to the `debputy`
      word lists. This includes `IPv4` and `IPv6` that
      should no longer trigger a spelling warning.

  [ Niels Thykier ]
  * Tweak the maintscripts generated for service management
    to make a similar change applied to `debhelper` git
    repository.
  * Manifest: Fix bug where `dest-dir` would not work for `install-doc`
    Thanks to Nicolas Boulenguez <nicolas@debian.org> (Closes: #1130935)

  [ Nicolas Boulenguez ]
  * MANIFEST-FORMAT: add missing semicolon in create-symlink examples

 -- Niels Thykier <niels@thykier.net>  Sat, 21 Mar 2026 12:40:05 +0000

debputy (0.1.83) unstable; urgency=medium

  * LSP/Lint:
    - Recognise `Name` and `Contact` in `d/upstream/metadata`

  [ Nicolas Boulenguez ]
  * Improve end-to-end tests to include a `autoconf`-like library build.
  * Correct the `libdir` passed to `autoconf`-like build systems
  * Fix crash with `dest-dir` in `install-doc` rule.

  [ Niels Thykier ]
  * dh_*: Add introspection hints for `debhelper`
  * debputy: provide better error messages for invalid dates in
    parsed in `debian/changelog`.
    Thanks to Nilesh Patra <nilesh@debian.org>
  * d/control: (Build-)Depend on `python3-debian (>= 1.1.0~)` to
    replace vendored code now that it has fully been merged back.
    As a side-effect, restrict our CI testing to match OSes that
    can provide `python3-debian`.
  * Makefile: Run e2e-tests as a part of the build tests
  * d/tests/control: Add a test for e2e-tests

 -- Niels Thykier <niels@thykier.net>  Sat, 28 Feb 2026 07:43:19 +0000

debputy (0.1.82) unstable; urgency=medium

  * Plugin API Change:
    - *Backwards incompatibility*: Remove unused
       `VirtualPath.is_detached` property from the public spec. As mentioned,
       it was unused, so no breakage expected. Note that the default
       implementation still has the method, so at this point it will only
       be visible as a typing warning and not a runtime error.

  * LSP/Lint:
    - Fix invalid structure sent via LSP protocol for document links. This
      could cause errors in the editor when the feature was used.
    - Fix missing `@` at the end of some `d/watch` variables, which would
      make `debputy` highlight and complete the variables wrongly.

  [ Nicolas Boulenguez ]
  * 15 refactor, typing fixes and other internal clean up commits
    to improve the maintainability for developers.

  [ Niels Thykier ]
  * docs: Remove obsolete warning about `lint --spellcheck --auto-fix`
  * debputy: fix crash if library was materialised before `dpkg-shlibdeps`
    Thanks to Nicolas Boulenguez <nicolas@debian.org> for reporting
    the bug and providing a minimal reproducer. (Closes: #1127427)

 -- Niels Thykier <niels@thykier.net>  Mon, 09 Feb 2026 19:30:52 +0000

debputy (0.1.81) unstable; urgency=medium

  [ Niels Thykier ]
  * Add a `py.typed` file to expose typing to consumers
  * fix: crash with `dh-sequence-zz-debputy-rrr` with `dbgsym` packages.
    Thanks to Chris Hofstaedtler <zeha@debian.org> (Closes: #1126403)
  * fix: incorrect error related to `Rules-Requires-Root` in `full` mode.
    In `full` mode, building packages with static ownership would fail
    since `dpkg-buildpackage` will not pass `DEB_RULES_REQUIRES_ROOT`
    in the environment (it only applies to `debian/rules` based builds).
    With this change, `debputy` behaves like `DEB_RULES_REQUIRES_ROOT`
    was set to `no` (with a slightly different warning message), since
    `debputy` is here to support "rootless" builds

  [ Nicolas Boulenguez ]
  * 19 refactor, typing fixes and other internal clean up commits
    to improve the maintainability for developers.

 -- Niels Thykier <niels@thykier.net>  Mon, 26 Jan 2026 18:22:05 +0000

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