-
Notifications
You must be signed in to change notification settings - Fork 33
default branch discussion: develop
vs master
#123
Comments
I think a lot of the confusion could be fixed with a better getting started guide for contributors that breaks down how we do things here at Origin. I'd vote for using the #contributing section of our docs for new contributors orientation. That way we have a single place to update the information and we can just link people there from each of our repos, Discord, etc. |
Better docs would help, but better defaults would be even better, IMO. If PRs will always be against As far as I can tell, it is only a designation that sets a default for when people open PRs: https://help.github.com/articles/setting-the-default-branch/ It is totally possible that there are good reasons to keep |
It's also the default branch that people see when they visit Github. We actually had |
(We seldom actually break develop - the tests still pass, and things work. However any two origin repo's develop branches may not be in sync with each other, and thus cloning the current develop for each project has good odds of getting you a broken local system) |
My 2 cents is that we should move to using 'master' for both origin-js and demo-dapp. If demo-dapp depends on changes in origin-js then we should only merge the pull request once the corresponding change has been merged to origin-js (ie do both at the same time). We should also ensure the master branch is never in a broken state |
I'm a newcomer to your project, but not a new developer. Maybe still too early to settle a In older projects, the tagged releases on github are the safe place to go for stable versions and cloning I expect to trip over details like this as I get acquainted with a new-to-me project. And more so for a project that's pretty new. Whether the unpaved roads are named |
Also newcomer here! Github has a standard collaboration flow called Github flow, that's what most open source projects use. I would strongly suggest sticking to it, the current workflow seems more like GitFlow that is rarely used in open source. I've recently posted an article with some tips for enhancing the github flow, things and tricks I've learned along the way. https://gaboesquivel.com/blog/2018/15-recommendations-to-enhance-your-github-flow/ Github Flow https://guides.github.com/introduction/flow/ |
using hub.github.com this is how the workflow looks like. All from the command line!
notice that with hub you don't use the conventional The pull request reviewer can download the PR code for testing using
Then on the Github UI click the button |
Now that I've taken the time to read both links from @gaboesquivel #123 (comment), both suggestions seem like very sensible, and pretty light-weight suggestions that would make life easier in the long run.
Maybe coordinating releases between
Devs, working on features in It implies the deploy of changes to |
I like this process too and agree that |
Considering this done per OriginProtocol/origin-devops#16 ☑️ |
In an effort to enforce the decision made here, I've disabled merge commits and rebase merging on the monorepo. This may not be ideal for rare cases when we are merging a feature branch into another feature branch. If necessary, I can reverse this setting on-demand or permanently. Thanks to @tomlinton for the suggestion. cc @franckc @wanderingstan |
Just a side-note: IMHO git-flow with |
Thanks for stopping by @hohwille 👍 |
We've gone back and forth on this, but I am creating this issue because our current setup is confusing for new contributors.
For example, see the thread on this PR: #121
EDIT: I'm not proposing we change anything right now, necessarily. I'm hoping this can just be an ongoing discussion and that we can collect everyone's thoughts here.
The text was updated successfully, but these errors were encountered: