-
Notifications
You must be signed in to change notification settings - Fork 261
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
Move to 'main' for default branch (vs 'master') #6907
Comments
This was agreed in the Egeria face-to-face meeting 5-7 October 2022 held at IBM, Hursley. We will start sharing information & planning for this change across all repos where main isn't already the primary branch & make this change in the coming weeks. Any questions please discuss on slack, mailing list, or in this issue |
Following the branch rename, all users with local clones will need to do :
Alternatively users may create a new clone Open PRs will be updated automatically, and some redirection of URLs will be in place. More information can be found at https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch This is targetted prior to release 3.13 |
Posted info to slack (#egeria-discussion) & egeria-technical mailing list. |
Proposed schedule
|
This will be discussed in the developer call today. I am still proposing the change is made next Thursday. |
On dev call 2022-10-13 Agreed that this proposal is still reasonable for 20 Oct. Discussed impact on users:
What else needs to be updated?
Also asked whether charts affected
Discussed 'egeria-ui'
I will arrange a wider email advising users of the change for next thu |
List of tasks for migration: Pre-migration notice:
Any archived repositories will not be updated,. nor will those used by non-egeria teams(such as ds for all) Note: 'code' below includes
This should therefore cover code linkage, documentation, tutorials etc. If you are aware of any other omissions -- for example text in diagrams, please comment below and I'll update. alternatively submit a PR after the rename. Migration (approx order based on impact)
And then advice
The aim is to finish this during the day of Thu 20 Oct, with some tidying up/minor repositories continuing to 21 Oct. During this time there may be some inconsistencies due to the cross-repo linkages we have. |
Does the "code" change in egeria-docs mean the changes to the documentation? |
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
When updating your local branch, you may see an error when issuing the third statement (git branch)
This occurs if your fork does not yet have a main branch This worked for me pre-rename test, but of course fails for a repository I’ve really been working with… To resolve this
Then repeat from I’ve contacted github support to see if there is a better approach (edited) |
odpi/egeria#6907 master->main rename
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
odpi/egeria#6907 master->main rename
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
odpi/egeria#6907 master->main rename
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
odpi/egeria#6907 master->main rename
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
odpi/egeria#6907 rename master to main
odpi/egeria#6907 master->main rename
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
odpi/egeria#6907 further updates master->main
odpi/egeria#6907 further updates master->main
odpi/egeria#6907 further updates master->main
odpi/egeria#6907 further updates master->main
odpi/egeria#6907 further updates master->main
odpi/egeria#6907 further updates master->main
odpi/egeria#6907 further updates master->main
|
This work is now complete (with observations above) Please raise issues local to the relevant repo on any errors found, and ideally a PR! Closing as complete... |
odpi/egeria#6907 further updates master->main
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
odpi/egeria#6907 further updates master->main
Is there an existing issue for this?
Please describe the new behavior that that will improve Egeria
I propose we switch our main branch from master to main.
Many repositories have now done this, and all of our new repositories are already using main.
There are two approaches
The latter is simplest & clearest - no accidental onward use of main
In both cases build scripts will need updating main->master (easy), and individuals will need to update their environment. However github automatically sends email advising of this.
This should apply to each egeria repo (to be listed below) & if we agree with the principal we can discuss rollout
Originally raised as #3486
Alternatives
No response
Any Further Information?
No response
Would you be prepared to be assigned this issue to work on?
The text was updated successfully, but these errors were encountered: