debputy (0.1.53)
[PTS] [DDPO]
COMMITS: VCS has seen 10 commits since the archive/debian/0.1.53 tag
- Git: https://salsa.debian.org/debian/debputy.git
-
- Branch: main
- Path: debian/changelog
- Repo size: 2654208
- Browser: https://salsa.debian.org/debian/debputy
- Last scan: 2024-11-14 09:51:18+00
- Next scan: 2024-11-22 17:50:00+00
- Open issues: 50
- Merge requests: 1
- CI pipeline status: success
- Debian changelog in Git:
debputy (0.1.53) unstable; urgency=medium
* LSP/Lint:
- Enable code actions (quick-fixes) for `d/patches/series`
- Remove quick-fix for patch not using `.patch` extension. It
would fail to rename the patch file, meaning it would cause
the `series` files to be invalid.
- Fix crash bug caused for (Static-)Built-Using
- Replace crash bug with a pedantic lint diagnostic for Uploaders
- Restrict (Static-)Built-Using to `=` version operator
- Fix confused metadata about `XS-Ruby-Versions` and `X-DhRuby-Root`
- Recognize `debian/changelog.dch` as a changelog when using filename
based matching in the `debputy lsp server` mode.
- Validate Debian version in `debian/changelog` is valid.
- Downgrade `R³` with `Build-Driver diagnostic` to informational
(down from a warning).
- Remove work around in Homepage check for `debputy lint --auto-fix`.
Previously, there was a guard preventing multiple overlapping
diagnostics because it would crash `debputy lint --auto-fix`, since
they both had a quick-fix. This has now been removed since
`debputy lint --auto-fix` no longer crashes on this case.
- Provide more validations on the Homepage field of `d/control`
- Flag use of `|` relations in (Static-)Built-Using
- Detect `dsfg` typo of `dfsg` in `d/changelog`
* Provide a how-to guide for using `debputy`'s maintainer support
features like `debputy lint`, `debputy reformat', and the
LSP features. The document is provided in
`/usr/share/doc/dh-debputy`.
* For very trivial arch:all "docs-only" packages, `debputy` will
now automatically set `Multi-Arch` to `foreign` if no
`Multi-Arch` field is set for the package. The package name
must end with `-doc` or `-docs` for this change to apply. This
is to avoid false positives with certain special cases like a
`Multi-Arch: no` package depending on a `Multi-Arch: same` package
to emulate `Multi-Arch: allowed` (which has its use-cases).
* debputy lint: Cope better with overlapping edits for `--auto-fix`
* debputy lint: Provide better error message on overlapping edit
in case can still be triggered.
-- Niels Thykier <niels@thykier.net> Sat, 09 Nov 2024 14:42:17 +0000
- This branch is 10 commits ahead of tag archive/debian/0.1.53
- Git log:
commit e17472983a14e1bad5507411e297bf89e7baa5b3
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 14 09:48:16 2024 +0000
Improve an error message in the build system API
It is a not a public API (yet), so this is just an internal error
message that cannot happen (since `debputy` would FTBFS if it did).
Gbp-Dch: ignore
commit 32fdd44e3d7e29bf88f0b797850f7ea05253396d
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 14 09:40:23 2024 +0000
Fix some more type errors
Gbp-Dch: ignore
commit 1256d9e800149abffc96ed41df3ef3e43d1db3e1
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 14 09:33:14 2024 +0000
Resolve typing errors in debputy/util.py
Technically, it fixes a possible `None`-error, but I do not think it
would happen in practice. Accordingly, I `Gbp-Dch: ignore`'ing this.
Gbp-Dch: ignore
commit 33c9814a7278f2ac6ddc211859cc59aa7f87515f
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 14 09:28:02 2024 +0000
Fix crash bug when combining two environments
Fixes type errors in `debputy/typoes.py`.
commit f82d0df2e19edf51c5059bdde653f397d1e5494c
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 14 08:37:18 2024 +0000
Add more TYPE_CHECKING guards and import tweaks
Gbp-Dch: ignore
commit 0630dadc87a3dc54e48328950530532914afdc36
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 14 08:28:05 2024 +0000
Fix import to using typing rather than typing_extensions
Gbp-Dch: ignore
commit 946babb028d62e91ba0ce28d27f200be8c951e78
Author: Niels Thykier <niels@thykier.net>
Date: Thu Nov 14 08:17:29 2024 +0000
Tweak some imports to avoid circular imports with older Python
Gbp-Dch: ignore
commit 365f7024caa70959047ffcddc06e1682d37f42fb
Author: Niels Thykier <niels@thykier.net>
Date: Wed Nov 13 16:30:21 2024 +0000
Avoid using `debian/.debhelper` for dbgsym packages in full integration mode
It triggered `clean` to always use `dh_clean` even if `debhelper`
tooling was not otherwise used.
commit 5165f328274ca4589f286fb0a464ddb99ad8b0ee
Author: Niels Thykier <niels@thykier.net>
Date: Wed Nov 13 14:40:59 2024 +0000
build system: Automatically derive search dirs from build systems
When using a build system (auto-detected or from the manifest),
`debputy` will now automatically add its dest-dir as a installation
search dir for the packages affected by the build system. Previously,
you would have to manually add the dest-dir as a search dir for the
packages in the manifest unless it was `d/tmp`.
Note that there is no longer a "global default search" (`d/tmp`) in
"full" integration mode as a side-effect. The global default search
dir did not make sense here. As an example, you could have deb vs udeb
builds, where deb used `d/tmp` and udebs used `d/tmp-udeb`. In this
case, it does not make sense for the udebs to fallback into the
`d/tmp-udeb` (but they would as long as the global default search dir
still applied).
commit 5a0ea79a04b60eb0f898d5b6bc75f6dec46ba9a1
Author: Niels Thykier <niels@thykier.net>
Date: Mon Nov 11 12:32:31 2024 +0000
LSP/Lint: Reduce the chance of short dh config stems matching typos
Reduce the max edit-distance to 1 for short file stems to avoid
matching any short extension with `.wm`. Additionally, add some more
"not a typo of something" extension like `md`, `tmp`, and `bak` for
good measure.
Closes: #123