[Housekeeping] Change from branching to forking #1844
Replies: 4 comments 5 replies
-
@RasmusKjeldgaard @jkaltoft I would like to hear your toughts on this 🧠 |
Beta Was this translation helpful? Give feedback.
-
I like it! And if we do it, we should remember to go and remove the write access of all the people who are currently invited to contribute. I think we should create a wiki-page inspired by the stackoverflow post, alongside a small guide on how to do this, if we go down that road. I like the idea of having branches only for release management, so we can pile up multiple breaking changes into major releases and so on. Good stuff! |
Beta Was this translation helpful? Give feedback.
-
There seems to be some benefits to using a forking strategy, although I am a bit concerned with each of the cons mentioned in https://stackoverflow.com/a/34343080/3482631 I'm also not complete sure what they mean by Your team process reflects the external contributor process and Your team contribution process doesn't match the external contributor process. However, in general I think we should give it a go. I haven't used forks before. Well, I have forked repos, but I haven't used forks as a workflow for collaboration. |
Beta Was this translation helpful? Give feedback.
-
Found another (random) blog post about the "fork-and-branch workflow" that could be a starting point for a guide for contributors:
https://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/ |
Beta Was this translation helpful? Give feedback.
-
Describe the housekeeping request
I think we should look into utilising forks instead of branches.
When a contributors forks a repository, it is essentially cloned to their own GitHub account. The contributor can then make the desired changes in their isolated clone of the repository. When they are done, they can then request that their forked version of the repository is merged with the original repository.
Much like what Is done with branches.
A major benefit of using forks above branches, is that contributors do not need to have permissions to push a branch. Everyone can create a fork and request to have It merged back to the original repository.
Which means we do not have to mess around with permissions whenever someone new wants to contribute. This would make the process of contributing easier.
Also it would allow us to use branches for other purposes. For example we could have an experimental branch or perhaps a branch where all changes for the next major version is committed.
This is just some initial toughts, but I think there would be much to gain from it.
Additionally I think this stack overflow comments does a good job of explaining the high level differences: https://stackoverflow.com/a/34343080/3482631
Are there any additional context?
#1842 would have to be fixed
Beta Was this translation helpful? Give feedback.
All reactions