docs: document main/dev branching strategy - #282
Conversation
Following the accepted ADR [1], update contributing docs, README, PR template, and CI to reflect the new main/dev branching model: - README: add branching model summary to the Contributing section - help-and-contrib.md: add Branching Model subsection with PR targeting guide, and update the contribution workflow to branch from the correct upstream base - PR template: add a Target Branch section with a verification checkbox - CI (test.yml): add dev to push/pull_request branch triggers [1] https://github.com/redhat-developer/rhdh-adr/blob/main/decisions/007-rhdh-local-branching-strategy.md Assisted-by: Claude
Dependency bumps should land on dev first and flow to main through the normal release process, rather than landing directly on the stable branch. Assisted-by: Claude
rm3l
left a comment
There was a problem hiding this comment.
A separate PR will be created to update the CI side (also need some updates to the nightly job).
Co-authored-by: Armel Soro <[email protected]>
Assisted-by: Claude
Relative links don't resolve correctly in GitHub PR templates. Use blob/HEAD to avoid hardcoding a branch name while keeping the link functional. Assisted-by: Claude
PR Summary by QodoDocument main/dev branching model in contributing docs and PR template
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
Context used✅ Cross-repo context Not relevant to this PR:
redhat-developer/rhdh Not relevant to this PR:
redhat-developer/rhdh-plugins 1.
|
All PRs should target dev (or release-x.y for bug fixes). Maintainers manage main via merges and cherry-picks; contributors should not target it directly. Assisted-by: Claude
There was a problem hiding this comment.
I'd consider creating an AGENTS.md (and CLAUDE.md with linked @AGENTS.md) file to specify this explicitly for AI tools. They should read the docs and README too, but they don't always keep it in context.
There was a problem hiding this comment.
Good point. An AGENTS.md file is being added in this other PR: #255
I can make sure to mention this in that PR. Does that make sense?
Co-authored-by: Zbyněk Drápela <[email protected]> Assisted-by: Claude
Co-authored-by: Zbyněk Drápela <[email protected]>
|
main/dev branching strategy



Target branch
Description
Documents the
main/devbranching model adopted in ADR 007:upstream/devorupstream/main)devto push/pull_request branch triggersWhich issue(s) does this PR fix or relate to
PR acceptance criteria
How to test changes / Special notes to the reviewer
dev