-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 19 Dec 2024 07:16:06 +0000 Source: debputy Architecture: source Version: 0.1.57~bpo12+1 Distribution: bookworm-backports Urgency: medium Maintainer: Debputy Maintainers <debputy@packages.debian.org> Changed-By: Niels Thykier <niels@thykier.net> Changes: debputy (0.1.57~bpo12+1) bookworm-backports; urgency=medium . * Rebuild for bookworm-backports. * Restore autopkgtests now that the relevant dependencies are present in -backports. * Remaining delta compared to testing: - Remove two optional build-dependencies. They are present in -backports now but the CI is using stable and therefore fails. The relevant dependencies are currently 1:1 with testing and the CI has working tests for them in sid/testing. . debputy (0.1.57) unstable; urgency=medium . * LSP/Lint: - Fix crash/exception on using fields in the wrong stanza of `debian/control`. - Fix crash/exception on having obsolete fields in deb822 files. - Demote "Non-canonical spelling" of field name to `pedantic` (LSP `hint`) from `informational`. - Improve the hover docs for the `Multi-Arch` field and its values. Thanks to Justin B Rye. . [ Niels Thykier ] * Add `.gitignore` to dest directories created when an upstream build system creates it to ensure it does not appear in the `git status` output. This is safe, since `debputy` always ignores `.gitignore` by default in binary packages for any glob/recursive matching. * Remove `exec` bit from files in `usr/share/themes` when building packages. * debputy lsp server: Add `--force-locale` option. This can be used to ensure that `debputy lsp server` always uses the given locale code for translations. This will ignore any locale code provided by the editor (if it provides one at all) as well as any OS/environ locale setting (that is, LC_ALL et al. is ignored). Since there are no translations, so it is not very useful immediately. . [ Justin B Rye ] * More textual reviews from d-l10n-english . debputy (0.1.56) unstable; urgency=medium . * LSP/Lint: Check for trailing separator in `Maintainer` field. (see #1089649) * Tweak docs and make bug tracker URLs available on `debputy --help` * Fix regex value validation to use the correct interpreter for the field. . debputy (0.1.55) unstable; urgency=medium . * LSP/Lint: - Fix crash when no `Source` field was present in `d/control` - Use more authoritative references for some diagnostics. Many `debputy` related issues are now correctly reported `Policy X` issues instead. - Fix typo of `X-Python3-Version`. Thanks Colin Watson <cjwatson@debian.org>. . [ Niels Thykier ] * debputy lint: No longer correct spelling mistakes via `--auto-fix`. The spell checker had too many false positives, so these are now no longer candidates for automatic non-interactive fixing. * debputy lint: Include source/authority reference in the diagnostic when reporting an issue. . [ Colin Watson ] * Fix `X-Pyton3-Version` typo when reporting `X-Python-Version` as as obsolete. . debputy (0.1.54) unstable; urgency=medium . * LSP/Lint: - Reduce the chance of short dh config stems matching typos. This should prevent most false positives "typos" of the rarely used `.wm` file (used by `dh_installwm`) that would trigger on most other two letter extensions such as `.md`. (Closes: debputy#123) - Exclude package names in spellchecking. Thanks to Matthias Geiger (@werdahias) (Closes: debputy#124) . * build system: Automatically derive search dirs from build systems * Avoid using `debian/.debhelper` for dbgsym packages in full integration mode * Fix crash bug when combining two environments (could happen with some configurations in `debian/debputy.manifest`). * Fix crash bug with the `debputy lint` terminal report. . 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. . debputy (0.1.52) unstable; urgency=medium . * LSP/Lint: - Only remove the `X[CBS]-` prefixes from `d/control` field names when checking for known fields and duplicated fields. - When completing field names, properly account for the `X[CBS]-` prefix to avoid recommending a field that would be considered a duplicate. - Add `X-Cargo-Crate` as a known field for `d/control`. - Add some `Homepage` related diagnostics for `d/control`. Check for insecure protocol and superfluous clutter in the URL/URI similar to lintian. . debputy (0.1.51) unstable; urgency=medium . * LSP/Lint: - Textual improvements to hover documentation and completion documentation. Thanks to Justin B Rye. - Allow exactly 80 chars per line in the extended description (Closes: debputy#122) - Warn about unknown top-levels in d/upstream/metadata. Previously, they were silently ignored unless they were typo-distance to a known field. This more closely matches the behavior of lintian. - Flag use of `Built-Using`/`Static-Built-Using` in arch:all packages. These fields are reserved for arch:any packages. - Provide better diagnostic for `>` and `<` version operators. Previously, they triggered a "parse error" diagnostic. Now they are identified as obsolete version operators with quick-fix suggestion to replace them with a non-obsolete counterpart. - Fix bug where known values were not always marked as obsolete - Fix assertion error on empty `Section:` field - Fix a case where completion docs would be on the form of `[TAG]: None`. This happened if there was no documentation for the field, but it was marked as obsolete or had a usage hint such as "RARE". The `: None` part is now omitted for this case leaving only the `[TAG]` part. - Mark `main/X` sections as replaced by `X`. The message for this diagnostic is a bit more aggressive than it should be but it triggers a warning and the proper quick-fix making it a net improvement. - Promote the correct section on completion if `debputy` can derive it. This is done by fiddling with the sort order, so it will now appear as the first completion option. . [ Niels Thykier ] * Improve translation documentation * BuildSystemRule: Fix typo of `MESON_TESTTHREADS` and `--wrap-mode=nodownload` . [ Justin B. Rye ] * Improve the hover documentation and completion documentation (those listed under `LSP/Lint` above). . debputy (0.1.50) unstable; urgency=medium . * LSP: - Tweaked many of the hover doc and completion docs for Deb822 files. - Avoid false positive "typo of `.wm`" for vim's hidden `.swp` files. Thanks to David Kalnischkies <david@kalnischkies.de> for reporting the issue. (Closes: debputy#121) - Initial support for `debian/upstream/metadata`. Top-level keys are now known, have hover docs and can be completed. Unknown keys are accepted without warning provided they are not considered a typo of a known field. . * migrate-from-dh: - Support migrating from `dh_shell_completions`. . * Fix synopsis for `DM-Upload-Allowed` field * Refactored the hover doc and known field logic for Deb822 based files and extracted most of it into separate data files. * debputy lsp server: Handle multiple initializations more gracefully. This is mostly relevant for debugging via the `--tcp` option. * Add support zsh/fish-completion files as known packaging files that `debputy` can install. Note that `debputy` uses `completion` rather than `completions` (compared to `dh_shell_completions`). The `debputy migrate-from-dh` will spot and fix the difference. * d/control: Add `debputy-lsp` to Suggests . debputy (0.1.49) unstable; urgency=medium . * LSP/Lint: - Tweak hover docs and add synopsis for a lot of fields - Add missing dependency validation for `Pre-Depends` - Check for missing files like `debian/copyright`. For the LSP style, it is reported for the `Source` field of the `d/control` file. - Add two trivial checks for extended description - Ensure `debhelper` is at least 13.19~ to avoid false-positive diagnostic (Closes: debputy#120) . * Move some LSP reference data to a separate data file * Support translation of fields and many values. No translations done yet. Checksums-Sha1: 52b234df67e59ff7c39fe98305301ccba1e837cb 2037 debputy_0.1.57~bpo12+1.dsc e4343341f051e769bf50477aa47d4aac6b0c1470 661068 debputy_0.1.57~bpo12+1.tar.xz Checksums-Sha256: 19068f97ecda42bc92f16e43c9bf569a86eb04fde725ed466821af3ca7840ac6 2037 debputy_0.1.57~bpo12+1.dsc 404046995b8403ccaf5edfda2561f485503570a46bc690d1689d081a3a3ad030 661068 debputy_0.1.57~bpo12+1.tar.xz Files: fa829e64dc0faf498437a12a75f2ca57 2037 devel optional debputy_0.1.57~bpo12+1.dsc 4d66799143cd73ce48b627822234f297 661068 devel optional debputy_0.1.57~bpo12+1.tar.xz -----BEGIN PGP SIGNATURE----- iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmdjzxASHG5pZWxzQHRo eWtpZXIubmV0AAoJEHQNaIiDZdKJ4h0H/jKKtFOvmLmWMDVK3GtmQidOC1PqXbxK sBqDUgmZCOvZbpjCUKuaCLMIgGCYNd48kbhDMRxpJl3vlUPcjfITp0/vAojhynYg MmMKXPlxwvgO0B4pYAzFkJ5ldn15nZhe/0akQf6LlwvpVH/ejGzKet28iLNQMwai bX6tPcaDnXwgwFoqvE9I5v2Ye0lwGhT1MJrSpoRCHKt71iXKkJu6COJbnHKvYXh3 XkGduhNShAtOQzzlw+VyKkQ+IebtNx0BBcmqvXrCbAKLloz/6zXL//4j6jqQCLwk HnaQVNjs1es+z14Sxogy3Ede7clh4pVJeRJUpyXEfAZzupanzGkTBcA= =yEkY -----END PGP SIGNATURE-----