Is the dev
/main
branch approach the best option?
#237
TimJentzsch
started this conversation in
General
Replies: 1 comment
-
Yeah, I'm not thrilled with this. However, as far as I can tell the "default branch for PRs" and "the branch shown with the bare link" are always the same :( I'm much more comfortable forcing developers to carry this burden than end users. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The repository currently uses the
main
(default) branch for the current release version and thedev
branch for developing new features.As a new contributor, this can be rather annoying:
dev
before creating your branch.dev
.dev
(this can be easy to forget due to muscle memory, at least it already happened to me that I went tomain
before creating a new branch).dev
.I think this problem is made evident by two of the open PRs targeting
main
instead ofdev
.On the other hand, the examples are an important learning resource, especially for
bevy
-related projects. Looking at examples that no longer work is definitely frustrating.Is there a better approach on how to handle this?
One solution might be to have
main
to still be the default branch, but to contain the current development state. Arelease
branch could take the role of the currentmain
branch and contain the currently released version of the plugin.The README could then link to that branch for the examples.
This approach probably still has problems regarding the discoverability of examples, but would fix most of the footguns for developers (because the default branch is the development target).
I'm curious to hear about your experiences with this branching approach and if you have any ideas on how to improve the situation!
This might also be valuable for other
bevy
-related repositories.Beta Was this translation helpful? Give feedback.
All reactions