--
You received this message because you are subscribed to the Google Groups "JanusGraph developer list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank You,
Irving Duran
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-de...@googlegroups.com.
Do we allow direct but protected push to the main repo? If not, PR will be needed to push to each branch in all approaches.
The work is the same. There is no easy way out. The steps may be slightly different. The goal is the same too, to let the change go to appropriate branches and maintain a relatively clean commit history.
Let’s look at two examples, Spark and TinkerPop, both of which use the PR model, from my understanding. Please correct me if wrong.
Spark flow:
1. JIRA
2. Pull request against master (contributor)
3. Merge PR (committer)
4. Cherry-pick the commit to an old branch if needed, direct push, no PR (committer)
In rare cases and if the conflicts are non-trivial, the committer will request a PR from the contributor against the old branch and then merge.
TinkerPop flow:
1. JIRA
2. Pull request against master or an old branch (contributor)
3. Merge PR (committer)
4. Merge branch from an old branch that has the PR to master, direct push, no PR (committer).
Again, the work is similar. There is no big difference.
Spark has additional requirements on the PR and commit message format and hides all pure ‘merge commit’.
Thanks,
Jerry
--
You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/6fdac80a-63a6-49a0-915d-e6b562b61277%40googlegroups.com.
1. +1. I would like to add that maintenance branch 'fixes' should include non-breaking enhancements. E.g. https://github.com/JanusGraph/janusgraph/pull/682 , https://github.com/JanusGraph/janusgraph/pull/689 . That is to say we should target the lowest branch possible.2. I think 'rebase and merge' is the default when possible. I think 'merge' is selected when there would be issues doing a rebase. In our case, I think we should always be able to do rebase and merge since we require that the PR is rebased and squashed.3. I started tagging items with Milestones then I realized I was tagging both PRs and issues. Should there be a preference for one or the other or both?
Robert Dale
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-dev/315a1544-d7cc-4fda-9f43-b35bd5c9883b%40googlegroups.com.