[Docs] CONTRIBUTING still says target v2, but PRs merge to main
Describe the bug
I ran into this while getting ready to contribute.
CONTRIBUTING.md on main still says new PRs should target the v2 branch (and to rebase onto upstream/v2). In practice, Flyte 2 work seems to land on main — including recent PRs I looked at while preparing my own.
That’s confusing as a newcomer: I followed the guide, then noticed almost everything merges to main, and the same file’s release section also talks about merging into main.
Expected behavior
The contributing guide should match current practice, e.g.:
- Target
mainfor new Flyte 2 contributions - Sync with
upstream/maininstead ofupstream/v2 - Optionally a short note on what
v2/masterare for now (historical / V1), if maintainers still want those mentioned
I’m happy to send a small docs PR if that sounds right.
Additional context
What the doc says today:
- Under Create a Pull Request:
Target the v2 branch (not main) - Under Keeping Your Branch Updated:
git rebase upstream/v2 - Under Release Process: “Ensure all changes are merged into
mainbranch” (and release steps check out / pullmain)
What I’m seeing in the repo:
- Default branch is
main - Recent merged PRs are aimed at
main(e.g. #8000) - Open PRs are mostly against
main(a few still hitmasterfor older V1 lines) - A
v2branch still exists, but it’s diverged frommainand doesn’t look like the active contribution target
Are you sure this issue hasn't been raised already?
- [X] Yes
Have you read the Code of Conduct?
- [X] Yes
You are correct: the current practice is to target the main branch for Flyte 2 contributions, not v2. The CONTRIBUTING.md instructions referencing v2 are outdated and should be updated to direct contributors to use main, as recent PRs and the default branch confirm. The v2 branch is now historical, and new work should sync and rebase against main, with a note clarifying the role of v2 for legacy or V1 lines if needed.
This discrepancy is documented in the docs versioning and contribution guides, which state that main is the active branch for v2 docs and code, while v1 is for legacy releases. Updating the contributing guide to match this practice is appropriate and will reduce confusion for new contributors. Would you like a step-by-step breakdown of how to update the documentation or open a PR for this change?
Sources:
- https://www.union.ai/docs/v2/union/community/contributing-docs/submitting-contributions/#submit-a-contribution
- https://www.union.ai/docs/v2/flyte/community/contributing-docs/submitting-contributions/#submit-a-contribution
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.
Mention @herald to ask follow-up questions. See runllm.com for more!