-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
develop
branch
#404
Comments
Just in case this issue is read before Slack by Nico, please do not re-name the |
Interesting suggestion, I agree in principle but we should discuss this and the associated SOPs in a call where we are all present! |
@twhetzel Did you guys get to discuss this at your meeting on Monday? Were you convinced by my arguments on the merits of renaming @matentzn Some thoughts / suggestions since now I only meet with you biweekly and we have a very crammed agenda. In general I'd like to agree w/ discussing together. But I would consider deferring to Trish on the workflow, or otherwise rather than discuss on my call w/ you, make time otherwise (you & trish 1on1's or at a Friday meeting). Another alternative: You can defer to Trish and me if we want to set up an SOP (just for I guess this isn't really too time sensitive though. |
@matentzn agreed. There are some working processes we need to discuss and be aligned on, a few more than I realized initially based on the content of this repo. |
Today we created the We left the default branch as |
Overview
@matentzn I had a meeting with @twhetzel and she came up with a great idea that we decided to move forward with. I always thought it was strange that we did not have a
develop
branch. It would probably solve more problems than we realized. Consider this comment:Trish brings up that this issue is likely solved by a
develop
branch. If for some reason we feel the need to merge a PR before the full pipeline has been successfully run, then nothing will break on the production build (main
) if we simply merge intodevelop
. We would merge todevelop
and then could run it on that branch from wherever (local, Nico's virtual machine, GCP, etc).Sub-tasks
develop
1. Create
develop
a. Create a new
develop
branchb. Rename
main
->develop
, and make a newmain
branchI advise 'b'. See discussion in: What to do w/ currently open PRs?
2. What to do w/ currently open PRs?
a. Merge them in
main
, and possibly rebasedevelop
.b. Rename
main
->develop
, and make a newmain
branchI originally thinking 'a' since it felt safer, but I now think 'b' is much better. All our PRs will automatically be updated to merged into
develop
. See more in Details.Details
It looks like renaming the branch in GitHub is pretty safe, and GitHub has nice UX around this. See: article
Just need to rename local branches after:
Also I just did a backup of the
main
branch locally just in case.3. Default branch
If we rename
main
todevelop
, I think it will stay as the default branch. This means that even when we create a newmain
,develop
will still be the default.I haven't thought through or researched the pros/cons for this. Normally, in my experience,
main
is the default. However for TermHub we've haddevelop
as our default for over a year with no problems.The text was updated successfully, but these errors were encountered: