fix: drop the overlay's Keel source and 1001 pin; 990 everywhere #16
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel-wordpress!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/drop-keel-apt-overlay"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Same change as the other six recipes, plus what is specific to this one, which ships its Keel source enabled.
/etc/apt/sources.list.d/keel.sourcesor/etc/apt/preferences.d/keel(Pin-Priority 1001). At 1001, apt downgrades every package newer than the archive's (tracker#23). COVERAGE.md had already measured keel-archive-keyring 0.1.1 going back to 0.1.0. At those paths, the overlay also wins over the source and the 990 pin that Keel-Linux/common#30 ships.conf.d/zzz-keel-archivenow:trixie-testingdisabled, pin 990);sed 's/^Enabled: no$/Enabled: yes/'over the file, which on common's file would have enabled the testing track.conf.d/mainwrites/etc/apt/preferences.d/keel-staging(l=Keel Linux staging, 1001) before its upgrade, so the staging archive still wins over TurnKey's 999 pin during the build.conf.d/zz-project-packagesremoves it with the staging source, then fails if any apt file still names the build-time archive.keel.sources.bt_policy_verdictalso passes when apt keeps an installed project package that is newer than the archive's and comes from no other source. This is the no-downgrade case: at 1001 the candidate was the archive's older version.PR #15 conflict: a local test merge of
fix/configtest-at-first-bootinto this branch conflicts inCOVERAGE.mdonly (the coverage table and the totals).changelog,conf.d/main,tests/boot-test.batsandtests/lib/boot-test-lib.shmerge cleanly.Merge order: the seven recipes, then the pool, then common#30 together with inithooks#34.
Test plan
bats tests/: 239 tests pass. The new and changed tests were RED first.tests/coverage.sh 97: zzz-keel-archive 100 (37/37), zz-project-packages 100 (35/35), boot-test-lib.sh 99.32 (292/294)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.