Bug #16465
release_process: clarify PACKAGES_MANIFEST vs. build-manifest
100%
Description
It’s already bitten several times, even if I didn’t remember the details during my last ticket filing spree.
The PACKAGES_MANIFEST
variable is misnamed, as one could think it’s about the `.packages` file while it’s really about the `.build-manifest`!
Two (complementary) things that can be improved here:
- rename that to
BUILD_MANIFEST
for clarity - improve the check right after defining the desired variable. Right now we only check the file’s existence. But then it’s used this way:
wiki/src/contribute/release_process.mdwn-* Prepare tagged snapshots of upstream APT repositories:
wiki/src/contribute/release_process.mdwn-
wiki/src/contribute/release_process.mdwn: ./bin/tag-apt-snapshots "${PACKAGES_MANIFEST:?}" "${TAG:?}"
and ./bin/tag-apt-snapshots
can be quite unhappy about being fed one file instead of the other.
If that command isn’t used for anything else, maybe it could check the file extension, which would spot trivial issues like the one I’ve gotten into? That plus the simple variable renaming should be robust enough to me.
Subtasks
History
#1 Updated by anonym 2019-02-14 09:01:46
- Status changed from New to Confirmed
All your proposals sound good to me and I would happily review’n’merge a branch implementing them.
#2 Updated by intrigeri 2019-02-14 16:09:34
+1
#3 Updated by intrigeri 2019-09-07 10:08:24
- Assignee set to intrigeri
#4 Updated by intrigeri 2019-09-07 10:09:18
- Status changed from Confirmed to In Progress
- Feature Branch set to test/17029+17027+17028+16931+force-all-tests
#5 Updated by intrigeri 2019-09-08 15:52:23
- Status changed from In Progress to Needs Validation
- Assignee deleted (
intrigeri) - Target version set to Tails_4.0
- Feature Branch changed from test/17029+17027+17028+16931+force-all-tests to https://salsa.debian.org/tails-team/tails/merge_requests/37#note_108671
#6 Updated by segfault 2019-09-12 16:14:15
- Status changed from Needs Validation to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:tails|e889519458da6235b299e4077a03d88a4fbdea7e.