flyte icon indicating copy to clipboard operation
flyte copied to clipboard

[Docs] CONTRIBUTING still says target v2, but PRs merge to main

Open Chiuuu0209 opened this issue 2 months ago • 1 comments

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 main for new Flyte 2 contributions
  • Sync with upstream/main instead of upstream/v2
  • Optionally a short note on what v2 / master are 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 main branch” (and release steps check out / pull main)

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 hit master for older V1 lines)
  • A v2 branch still exists, but it’s diverged from main and 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

Chiuuu0209 avatar Sep 14 '26 16:09 Chiuuu0209

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:


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!

runllm avatar Sep 14 '26 16:09 runllm