diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 288 | ||||
-rw-r--r-- | debian/control | 12 | ||||
-rwxr-xr-x | debian/rules | 7 | ||||
-rw-r--r-- | debian/source/lintian-overrides | 5 |
4 files changed, 298 insertions, 14 deletions
diff --git a/debian/changelog b/debian/changelog index 4125e3e..2ff5421 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,291 @@ +debputy (0.1.48-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.48. + * Merging debian version 0.1.48. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:23:26 +0200 + +debputy (0.1.48) unstable; urgency=medium + + * INTEGRATION-MODES.md: Correct `bullseye` that should have been `bookworm` + * Also set PKG_CONFIG in the `perl-build` build system like with + is done in the `perl-makemaker` build system. + * Remove lintian-overrides since `debputy` no longer uses `dh` + * d/control: Fix typo in description + * debputy.pod: Document security aspects of `debputy lsp server` + and `debputy lint`. + * debputy: Fix inaccurate directory listing in an error message. + * debputy: Ensure `u+rwX` as min mode when installing paths into the + packages. This change prevent crashes when upstream has marked + paths as read-only (such as `0444`). + Thanks to Andrey Rakhmatullin <wrar@debian.org> (Closes: #1078906) + Note: Paths can still get their user write bit removed via + transformations or built-in rules (such as files in `etc/sudoers.d` + which must be `0440`) + * debputy: Require directory mode to always have `u+rwx`. Previously, + only the `u+rx` mode was required. There is no known use-case for + directories to not have a read, write and execute for the owner. + + -- Niels Thykier <niels@thykier.net> Sun, 18 Aug 2024 09:47:40 +0000 + +debputy (0.1.47-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.47. + * Merging debian version 0.1.47. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:23:12 +0200 + +debputy (0.1.47) unstable; urgency=medium + + * LSP/Lint: + - Fix missing textwrap.dedent for hover docs + - Tweak wording for undocumented fields + - Tweak wording for the `important` value from `Priority` + - Tweak rendering of header of hover docs for known value + - In hover docs, recognize `debputy-plugin-X` similar to `dh-sequence-Y` + - Make a d/changelog diagnostic message a bit more precise + + * migrate-from-dh: + - Add remark about https://bugs.debian.org/1067653 in relevant + warnings. + + * Expand documentation on integration modes (Closes: debputy#117) + * debputy: Fix a warning from auto-detecting when the source + package has no `debhelper` compat level. + * debputy: Restore log output from `pygls` (`debputy lsp server`) + + + -- Niels Thykier <niels@thykier.net> Tue, 13 Aug 2024 12:44:52 +0000 + +debputy (0.1.46-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.46. + * Merging debian version 0.1.46. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:22:59 +0200 + +debputy (0.1.46) unstable; urgency=medium + + * LSP: + - Improve wording of and fix typo in hover docs. + - Fix a typo of `hyphen-` that would distrupt "name to section" + checks for `hyphen-` packages. + + [ Niels Thykier ] + * LSP: Fix typo of `hyphen-` and improve wording `Multi-Arch` field + * debputy: Hoist `nocheck` and `nodoc` into `DEB_BUILD_OPTIONS` + Thanks to Chris Hofstaedtler <zeha@debian.org> + * Skip `debian/foo.1` for packager provided files typo checks. + Thanks to Chris Hofstaedtler <zeha@debian.org> + * Set `PKG_CONFIG` ENV var for `perl-makemaker` + * Fix bug in initialization of `EnvironmentModification` (only affects + packages in `full` integration mode). + * Fix bug in escape_util and have it use more readable output by default + * Fix bug where pre-compressed manpage would be corrupted. + Thanks to Andrey Rakhmatullin <wrar@debian.org> (Closes: #1078448) + + [ Guillem Jover ] + * LSP: Fix typos in several descriptions + + + -- Niels Thykier <niels@thykier.net> Sat, 10 Aug 2024 18:16:23 +0000 + +debputy (0.1.45-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.45. + * Merging debian version 0.1.45. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:22:45 +0200 + +debputy (0.1.45) unstable; urgency=medium + + * Manifest: + - Add new `default-build-environment`, `build-environments` and `build-rules` + for the new `full` integration mode where `debhelper` is no longer driving + the build. + - Port all `debhelper` provided build systems to have an native `debputy` + counter part with a few tweaks. + + + * LSP/Lint: + - Add `xpm` as a known extension for packager files + - Add `Build-Driver` as a known field for `debian/control`. + - Add `Files-Excluded` and `Files-Included` as known fields for DEP-5 + - Quote values in completation items for the manifest. This means that + the value for `manifest-version` is now properly YAML quoted. + + * debputy: Remove `--spellcheck` from "random" subcommands + * debputy: Fix missing warning with `--debug` (it was supposed to be omitted, + but never was due to exception flow). + * debputy reformat: Fix bug where orphaned packages would have a style by + default + * doc: Document decision on plugin module import vs. initialization design + * LSP/Lint: Fix crash with certain field being duplicated + * MANIFEST-FORMAT.md: Fix wording + * Add initial minimal `Build-Driver` support meaning that `debputy` can now use + `dpkg-buildpackage`'s new `Build-Driver` support to drive the build without + relying on `dh`. This requires bleeding edge features in `dpkg-buildpackage` + and `debputy`. + * Avoid stacktrace for CTRL + C during `run_command` + * Improve error tracking related to plugins + * Add remark about `env:` manifest variables sometimes respecting + `build-environment`. + + -- Niels Thykier <niels@thykier.net> Sun, 04 Aug 2024 12:37:21 +0000 + +debputy (0.1.44-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.44. + * Merging debian version 0.1.44. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:22:30 +0200 + +debputy (0.1.44) unstable; urgency=medium + + * LSP: + - Provide hover docs for packages in relationship fields. Due to + implementation limitations, OR relations (`foo | bar`) do not + work. The hover doc relies on the system's APT cache with all + the limitations from that (like the data not matching the target + distribution) + - Fix wording in the synopsis hover doc + + * debputy reformat: If possible provide the reformatting tool when the + style cannot be applied. + * debputy: Remove `printf` debug when log level is changed + * debputy: Prefer using line numbers in error messages when available + * editor-config: Improve the LSP config for `eglot` + * debputy: Improve mode correction for `*.pm` files. + Thanks to Russ Allbery <rra@debian.org> (Closes: #1076346) + + -- Niels Thykier <niels@thykier.net> Mon, 15 Jul 2024 11:24:40 +0000 + +debputy (0.1.43-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.43. + * Merging debian version 0.1.43. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:22:17 +0200 + +debputy (0.1.43) unstable; urgency=medium + + * debputy: Only warn about missing `-dev` SO symlinks for libraries + in common lib paths (such as usr/lib/${MA}) + * debputy: Fix bug where `DH_VERBOSE` would fail to print all + commands + * debputy: Distinguish between `--debug` and `DH_VERBOSE` in terms + of verbosity. + * debputy: Restore `Multi-Arch: same` field in dbgsym packages. + Thanks to Russ Allbery <rra@debian.org> + + -- Niels Thykier <niels@thykier.net> Sun, 07 Jul 2024 07:18:46 +0000 + +debputy (0.1.42-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.42. + * Merging debian version 0.1.42. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:22:01 +0200 + +debputy (0.1.42) unstable; urgency=medium + + * LSP/Lint: + - Fix exception on some syntax errors + - Add `X?-Ruby-Versions` as a known (obsolete) field + - Include the final line of context (`debputy lint`-only) + - Syntax check dependency relation fields + - Detect incorrect version operators in `Provides` + - Fix crash on package stanzas without `Package` field + - Flag usage of `|` in relationship fields that does not + support it + - Fix invalid ranges for some checks when using field comments + + -- Niels Thykier <niels@thykier.net> Sat, 06 Jul 2024 18:50:17 +0000 + +debputy (0.1.41-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.41. + * Merging debian version 0.1.41. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 26 Aug 2024 12:21:37 +0200 + +debputy (0.1.41) unstable; urgency=medium + + * LSP/Lint: + - Fix typo in diagnostic message + - Reduce the number of false positive pkgfile typo warnings. + Thanks to Otto Kekäläinen <otto@debian.org> (Closes: debputy#109) + - Avoid recommending name segment for packaging files that do not + support that. Note all `debhelper` files currently "support" + name segments as far as `debputy` can tell, since `dh_assistant` + does not track this feature. + * debputy reformat: Fix error in instructions + * debputy-documentation.json: Add `debian/lintian-brush.conf` as + known file. + + -- Niels Thykier <niels@thykier.net> Tue, 02 Jul 2024 20:52:51 +0000 + +debputy (0.1.40-0.0~progress7.99u1) graograman-backports; urgency=medium + + * Uploading to graograman-updates, remaining changes: + - Updating maintainer field. + - Updating uploaders field. + - Updating bugs field. + - Updating vcs fields. + - Updating source format. + * Merging upstream version 0.1.40. + * Merging debian version 0.1.40. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 01 Jul 2024 20:12:35 +0200 + debputy (0.1.40) unstable; urgency=medium * Manifest changes: diff --git a/debian/control b/debian/control index 47dab2d..5c8f27d 100644 --- a/debian/control +++ b/debian/control @@ -77,9 +77,15 @@ Description: Manifest style Debian-based package builder (debhelper integration) Package builder that provides a declarative manifest for building Debian-based packages. . - This version integrates with the debhelper sequencer dh and will replace - several of debhelper's tools that are covered by debputy. - . The debputy package builder aims to reduce cognitive load for the packager and provide better introspection to packagers, linters and the Debian janitor. + . + This version integrates with the debhelper sequencer dh. Multiple integration + modes are possible with dh. The most trivial integration mode is + dh-sequence-zz-debputy-rrr, which is a mostly standard dh sequence with very + few changes aimed entirely at removing the need for fakeroot when assembling + the .deb. + . + For more information on all integration modes and what they do, please see + https://salsa.debian.org/debian/debputy/-/blob/main/INTEGRATION-MODES.md diff --git a/debian/rules b/debian/rules index 1221eb2..424cabe 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,6 @@ #!/usr/bin/make -f -export PERL5LIB=$(CURDIR)/lib -export PATH:=$(CURDIR):$(PATH) export DEBPUTY_CMD=$(CURDIR)/debputy.sh %: - dh $@ --with debputy - -override_dh_debputy: - dh_debputy --plugin self-hosting-plugins/debputy-self-hosting.json + $(DEBPUTY_CMD) --plugin self-hosting-plugins/debputy-self-hosting.json internal-command dpkg-build-driver-run-task $@ diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides deleted file mode 100644 index 43506f5..0000000 --- a/debian/source/lintian-overrides +++ /dev/null @@ -1,5 +0,0 @@ -# https://salsa.debian.org/debian/debputy/-/issues/77 -missing-build-dependency-for-dh-addon debputy (does not satisfy dh-debputy:any) [debian/rules] -missing-build-dependency-for-dh_-command dh_debputy (does not satisfy dh-debputy:any) [debian/rules] -# https://bugs.debian.org/1067653 substvar hints are no longer universally applicable -debhelper-but-no-misc-depends dh-debputy |