-
Notifications
You must be signed in to change notification settings - Fork 111
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
Migrate default branch from master to main #681
Labels
area/plumbing
Issues or PRs related to the plumbing infrastructure but needing attention in a non-plumbing repo.
kind/misc
Categorizes issue or PR as a miscellaneuous one.
Comments
tekton-robot
added
area/plumbing
Issues or PRs related to the plumbing infrastructure but needing attention in a non-plumbing repo.
kind/misc
Categorizes issue or PR as a miscellaneuous one.
labels
Jan 18, 2021
Thanks for taking on this important work @vdemeester !!!! |
This was referenced Feb 2, 2021
vdemeester
added a commit
to vdemeester/tektoncd-plumbing
that referenced
this issue
Feb 3, 2021
This updates any reference to tektoncd/community master branch to main as we are renaming branches. Related to tektoncd#681 Signed-off-by: Vincent Demeester <[email protected]>
2 tasks
vdemeester
added a commit
to vdemeester/tektoncd-plumbing
that referenced
this issue
Feb 3, 2021
This updates any reference to tektoncd/community master branch to main as we are renaming branches. Related to tektoncd#681 Signed-off-by: Vincent Demeester <[email protected]>
vdemeester
added a commit
to vdemeester/tektoncd-plumbing
that referenced
this issue
Feb 3, 2021
This updates any reference to tektoncd/community master branch to main as we are renaming branches. Related to tektoncd#681 Signed-off-by: Vincent Demeester <[email protected]>
vdemeester
added a commit
to vdemeester/tektoncd-plumbing
that referenced
this issue
Feb 3, 2021
This updates any reference to tektoncd/plumbing master branch to main as we are renaming branches. This is gonna be a bit of a "chicken-and-egg" situation, so we may need to get this in "just" after renaming and apply things manually to get everything back up correctly. Related to tektoncd#681 Signed-off-by: Vincent Demeester <[email protected]>
This was referenced Feb 3, 2021
tekton-robot
pushed a commit
that referenced
this issue
Feb 4, 2021
This updates any reference to tektoncd/plumbing master branch to main as we are renaming branches. This is gonna be a bit of a "chicken-and-egg" situation, so we may need to get this in "just" after renaming and apply things manually to get everything back up correctly. Related to #681 Signed-off-by: Vincent Demeester <[email protected]>
tekton-robot
pushed a commit
that referenced
this issue
Feb 9, 2021
This updates any reference to tektoncd/community master branch to main as we are renaming branches. Related to #681 Signed-off-by: Vincent Demeester <[email protected]>
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/plumbing
Issues or PRs related to the plumbing infrastructure but needing attention in a non-plumbing repo.
kind/misc
Categorizes issue or PR as a miscellaneuous one.
Last year, we talked a little bit about renaming the master branch to main for all the
tektoncd projects. So far, we change the organization settings to make all new repository
use
main
as default branch. The only two repository that are usingmain
as defaultbranch are tektoncd/results and tektoncd/operator.
As promised last year, GitHub has delivered a feature to rename the master branch to main1 and since later last week, it is now finally available ! We can thus move on to our plan :).
According to the GitHub documentation, it will "redirect web requests for the old branch name to the new branch name". This means however, that any script, plumbing, tooling that is working on master might fail after renaming. So the plan is the following:
work on making our scripts / plumbing more durable to allow both master and main (aka not making the assumption that the default branch is master)
then go through our repos and rename things
https://github.com/tektoncd/operator
https://github.com/tektoncd/results
https://github.com/tektoncd/friends
https://github.com/tektoncd/homebrew-tools
homebrew impact ?no impact (and risk is very low)https://github.com/tektoncd/community
https://github.com/tektoncd/website
https://github.com/tektoncd/plumbing
https://github.com/tektoncd/hub
https://github.com/tektoncd/experimental
https://github.com/tektoncd/chains
https://github.com/tektoncd/dashboard
https://github.com/tektoncd/cli
https://github.com/tektoncd/triggers
https://github.com/tektoncd/pipeline
https://github.com/tektoncd/catalog
For each repository, the process should go as follow:
main
branch (as well as withmaster
as much as we can)(so that we get the redirection, changing PR base, …)…
main
instead ofmaster
.main
instead ofmaster
(e.g. link to the community files).Worst case, we "fail, learn and repeat" 😉.
The current proposed timeline is the following:
and https://github.com/tektoncd/dashboard
/area plumbing
/kind misc
/assign
The text was updated successfully, but these errors were encountered: