#563 prevent running builds against targets that mismatch the currently checked out branch
Opened 2 months ago by decathorpe. Modified 2 months ago

It is currently very easy to shoot yourself in the foot by running something like

fedpkg chain-build --target f39-build-side-12345

while accidentally still being in a checkout of the f40 branch.

This will work, but will not do what's intended - it will build the contents of the f40 branch against the f39 side-tag.

It would be great if fedpkg bailed and printed an error if target and dist-git branch mismatched (possibly with an escape hatch for when you know what you're doing).


Log in to comment on this ticket.

Metadata