debputy (0.1.10)
[PTS] [DDPO]
NEW: VCS has unreleased changes: 0.1.11~1.gbpfa1c2d > 0.1.10
- Git: https://salsa.debian.org/debian/debputy.git
-
- Branch: main
- Path: debian/changelog
- Repo size: 10059776
- Browser: https://salsa.debian.org/debian/debputy.git
- Last scan: 2023-12-09 23:02:20+00
- Next scan: 2023-12-15 05:25:00+00
- Open issues: 19
- CI pipeline status: success
- Debian changelog in Git:
debputy (0.1.11~1.gbpfa1c2d) UNRELEASED; urgency=medium
** SNAPSHOT build @fa1c2d2c0f2677ec05e3b7d8a402f36c7df1f07e **
* Plugin API:
- VirtualPath now supports `open` with buffering.
- When declaring manifest snippets, automatically pick up
`FileSystemMatchRule` (and subclasses) up as `path hints` (used
to provide context for error messages)
* debputy: Convert transformation and install rules to using
`FileSystemMatchRule`s for paths. This unifies parsing of globs for
all rules except `clean-after-removal` (which still uses shell glob
semantics).
* online doc for path-metadata: Fix copy-paste mistake
* Fix crash bug where `d/tmp` is not a directory but an install rule is
used (unclear if this was reproducible in older versions).
* debputy: Fix internal error by `debputy` setting wrong "CoW"-flag on
some paths
* d/changelog: Clarify wording of a previous entry and fix a few typos.
* tests: Provide initial tests of basic install rules. Required some
refactoring related to the virtual file system to support these
tests.
-- Niels Thykier <niels@thykier.net> Sat, 09 Dec 2023 19:27:46 +0100
- This branch is 26 commits ahead of tag debian/0.1.10
- Git log:
commit bd2e168ac1e8dfdeb22a3af252d2c3809179edbc
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 21:49:04 2023 +0000
Apply black
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 5f6a321037d294e31914afbc2617f40f986cb4b6
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 21:47:58 2023 +0000
manifest: Correct spelling of `build-profiles-matches`
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 0f03fd01e50e567f1617b001a33e5a7fe4e6c3f4
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 21:47:30 2023 +0000
debputy: Correct error message that should have shown valid keys
Signed-off-by: Niels Thykier <niels@thykier.net>
commit f99aac953497c1fbb47036e4c095484248b25ee9
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 20:57:41 2023 +0000
migrate-from-dh: Support `dh-exec` conditionals in `d/install`
See: #64
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 66700c5f1a49dac04d17574525af6f4e47531fc8
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 20:55:15 2023 +0000
migrate-from-dh: Fix detection of `dh-exec` conditionals
This could cause the migration to generate corrupted manifest rules
that used the (parts of the) conditional as paths.
See: #64
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 58c4b4daea49879c133afc147f3231a7feba61d2
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 20:09:56 2023 +0000
migrate-from-dh: Improve some error messages to provide the actual file path
Signed-off-by: Niels Thykier <niels@thykier.net>
commit c4429d5a0e9cbee808ac274b845a6f3ffc5b69fc
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 19:04:38 2023 +0000
tests: Add more install rule tests
Gbp-Dch: ignore
Closes: debian/debputy#57
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 30d2fa2683f1df75dd56f2dbfd0beff7b9e0e79f
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 19:03:57 2023 +0000
installations: Fix regression in error message
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit cd615115ca574afdc1be013758de4f504973c0ae
Author: Niels Thykier <niels@thykier.net>
Date: Sat Dec 9 18:49:45 2023 +0000
d/changelog: Bump snapshot
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit fa1c2d2c0f2677ec05e3b7d8a402f36c7df1f07e
Author: Niels Thykier <niels@thykier.net>
Date: Fri Dec 8 13:17:13 2023 +0100
Align on the basename for the `scratch-dir`
The variants were causing false-positive assertion errors.
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 9e90e1461dd5242b83a7ed50907f7d2acd64f3e5
Author: Niels Thykier <niels@thykier.net>
Date: Thu Dec 7 08:21:20 2023 +0000
Fix typo in assertion error that caused false-positive errors
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit ea1a793ad7de94d1e97c9f892b77cad054630ba1
Author: Niels Thykier <niels@thykier.net>
Date: Thu Dec 7 07:39:49 2023 +0000
debputy: Fix internal error by `debputy` setting wrong "CoW"-flag on some paths
Signed-off-by: Niels Thykier <niels@thykier.net>
commit b80d7eca645550193e984aa35252b838e447d09a
Author: Niels Thykier <niels@thykier.net>
Date: Thu Dec 7 07:39:20 2023 +0000
Fix crash bug where `d/tmp` is not a directory but an install rule is used
Signed-off-by: Niels Thykier <niels@thykier.net>
commit a712713e5f0ee0753d8180333de01e3bcb4197bd
Author: Niels Thykier <niels@thykier.net>
Date: Wed Dec 6 21:02:05 2023 +0100
Migrate install rules to use `FileSystemMatchRule`
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 9a2131380a49d4e54bde7f3096593f37e1f2ed28
Author: Niels Thykier <niels@thykier.net>
Date: Wed Dec 6 19:35:55 2023 +0100
online doc for path-metadata: Fix copy-paste mistake
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 40fb97114fdfd9bb7c889b590bebb16c6bcd7dd2
Author: Niels Thykier <niels@thykier.net>
Date: Wed Dec 6 19:32:05 2023 +0100
debputy: Convert transformation rules to using path matches
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 1bd50a1923a0e327b41e118a20e64cb9164e7164
Author: Niels Thykier <niels@thykier.net>
Date: Wed Dec 6 19:27:13 2023 +0100
Plugin API: Automatically pick up path hints
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 5bcbdc962d1c33a3d79b64f0d5fc124c3d003868
Author: Niels Thykier <niels@thykier.net>
Date: Tue Dec 5 15:20:33 2023 +0100
Add more test for install rules
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit b6b372570cd2e8b4fbc0fdcbeb2777037ace0ea0
Author: Niels Thykier <niels@thykier.net>
Date: Tue Dec 5 14:48:19 2023 +0100
installations: Use `VirtualPath` instead of `PathMatch` for match filtering
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 05a3980fbfff30914d41abe4ca4f50f335b0c62c
Author: Niels Thykier <niels@thykier.net>
Date: Tue Dec 5 13:42:01 2023 +0100
Provide a special exception for pure virtual `TypeError`
This enables our ELF utilities to skip an optimization involving
`stat()` for mock / pure virtual paths.
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 2d52a4d6669c4c0a37bc9e7b50623d76b166cb3b
Author: Niels Thykier <niels@thykier.net>
Date: Tue Dec 5 13:33:28 2023 +0100
Support reference paths for `FSBackedFilePath`s
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 47664d0ec2e44450bbbc6e09050b52b73a288447
Author: Niels Thykier <niels@thykier.net>
Date: Tue Dec 5 13:26:53 2023 +0100
Plugin API: Support `open` with buffering
This enables the ELF utility code to work with `VirtualPath` rather
than raw fs_paths (making mocking and testing easier).
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 5926ad64846951dd716f6948c89d7463a620beaa
Author: Niels Thykier <niels@thykier.net>
Date: Tue Dec 5 13:20:02 2023 +0100
Let `PathMatcher` support skipping specific paths
Previously, we would always open all files to check them for
`#!`-lines to set a default mode even though we knew if the file would
not need this default mode. With this commit, we can now push the
filter into the matcher to avoid the analysis.
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit 63627f2397a22b139c0020ce897e67a06bab2b54
Author: Niels Thykier <niels@thykier.net>
Date: Mon Dec 4 09:51:19 2023 +0100
tests: Provide basic installation testing
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit ea9661b72db178080473f2c6b75aff46348ba66e
Author: Niels Thykier <niels@thykier.net>
Date: Mon Dec 4 09:44:13 2023 +0100
Support a reference path with symlink paths
This enables install tests to install symlinks without requiring a
physical symlink to be created / stat'ed. This makes the tests less
painful to write.
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>
commit c276f7859021c980ce3f3b4c586eebc180c22d6a
Author: Niels Thykier <niels@thykier.net>
Date: Mon Dec 4 09:27:41 2023 +0100
Let `VirtualDirectoryFSPath` have a reference path
This enables install tests to install directories with a fs_path that
does not exist (useful for making tests less painful to write).
Gbp-Dch: ignore
Signed-off-by: Niels Thykier <niels@thykier.net>