Skip to content

Only upload a package if uploading its dependents, too - #9

Merged
chreekat merged 2 commits into
mainfrom
b/stack-push
Sep 25, 2026
Merged

chreekat merged 2 commits into
mainfrom
b/stack-push

Conversation

@chreekat

Copy link
Copy Markdown
Collaborator

Fixes #1.

Only publishes PI if bmv2 and p4c also change.

Only publishes bmv2 if p4c also changes.

This ensures no package gets rebuilt in place due to a republished dependency.

A replayed or out-of-order dispatch must no-op rather than revert OBS
to an older version.

Signed-off-by: Bryan Richter <b@chreekat.net>
Works around #1: uploading one package makes OBS rebuild its published
dependents under unchanged .deb filenames, and apt clients catching a
mirror mid-sync fail on the size/hash mismatch. Refusing to move a
level unless every level above it moves too means every rebuild comes
with a fresh version, hence a fresh filename.

Signed-off-by: Bryan Richter <b@chreekat.net>
@chreekat
chreekat merged commit ddf7313 into main Sep 25, 2026
2 checks passed
@chreekat
chreekat deleted the b/stack-push branch September 25, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

p4lang-bmv2 Ubuntu 22.04 package has problems when attempting to install it

1 participant