Skip to content

Don't target release tags for dynrpm branches#772

Merged
cottsay merged 1 commit into
masterfrom
cottsay/dynrpm-patch-fix
May 1, 2026
Merged

Don't target release tags for dynrpm branches#772
cottsay merged 1 commit into
masterfrom
cottsay/dynrpm-patch-fix

Conversation

@cottsay

@cottsay cottsay commented Apr 30, 2026

Copy link
Copy Markdown
Member

I wrote this code a long time ago so it's hard to remember, but it's likely I was trying to be clever by targeting the release tags instead of the release branches for the branching source when creating dynrpm branches. In theory, this would have allowed the dynrpm generator to be run without relying on the rosrelease generator running before it, but in practice it just broke the patching system.

This commit aligns the branch matching function with the rpm and debian generators, restoring proper patch re-application and aligning the behavior with the existing generators.

I wrote this code a long time ago so it's hard to remember, but it's
likely I was trying to be clever by targeting the release tags instead
of the release branches for the branching source when creating dynrpm
branches. In theory, this would have allowed the dynrpm generator to be
run without relying on the rosrelease generator running before it, but
in practice it just broke the patching system.

This commit aligns the branch matching function with the rpm and debian
generators, restoring proper patch re-application and aligning the
behavior with the existing generators.
@cottsay cottsay requested a review from claraberendsen April 30, 2026 21:45
@cottsay cottsay self-assigned this Apr 30, 2026
@cottsay cottsay added the bug label Apr 30, 2026
@cottsay cottsay merged commit 7b5216c into master May 1, 2026
17 checks passed
@cottsay cottsay deleted the cottsay/dynrpm-patch-fix branch May 1, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants