You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to suggest that we change our default branches to main and drop master. This is inline with what GitHub itself is doing. Other projects are already undergoing this transition. Think this will be relatively simple for Zarr to do (though we may want to check if master is hard-coded anywhere). Thoughts? 🙂
It's definitely hard-coded in a few places (workflows, readthedocs configuration, etc.) but in doing it elsewhere, I've never run into a true blocker. 👍
conda-forge is the hardest case I've seen (lots of reasons for that). Though that just means things move more slowly. I don't think we have the same kind of issues as there though.
zarr-governance $ git grep master
CODE_OF_CONDUCT.md:https://github.com/zarr-developers/.github/blob/master/CODE_OF_CONDUCT.md
CORE_DEV_GUIDE.md:with the [general contributor guide](https://github.com/zarr-developers/.github/blob/master/CONTRIBUTING.md).
CORE_DEV_GUIDE.md:[Code of Conduct](https://github.com/zarr-developers/.github/blob/master/CODE_OF_CONDUCT.md).
CORE_DEV_GUIDE.md:- Our [contributor guide](https://github.com/zarr-developers/.github/blob/master/CONTRIBUTING.md).
CORE_DEV_GUIDE.md:- Our [code of conduct](https://github.com/zarr-developers/.github/blob/master/CODE_OF_CONDUCT.md).
GOVERNANCE.md:as well as the [Code of Conduct](https://github.com/zarr-developers/.github/blob/master/CODE_OF_CONDUCT.md).
but supposedly GitHub redirects. Testing now on the .github repository.
Have switched a bunch of repos over. Think it would be good if someone looked at how to do this for the webpage repo. Going to add PRs to numcodecs and zarr-python
Also it is worth noting that when using the rename branch feature on GitHub it automatically handles redirection for us. So links pointing to master will redirect to main. Not that we shouldn't go back and update them, but we should feel more comfortable making the change
So did a test run of updating GitHub pages by using zarr_implementations as a guinea pig. This should help with the webpage repo.
The key takeaway is once we have a PR up to fix the webpage repo, we should rename the branch to main before merging it. That way GitHub pages will redeploy on merge using main.
Did the opposite order with zarr_implementations and had to create a trivial PR ( zarr-developers/zarr_implementations#56 ) to merge and redeploy. This shouldn't be needed if we rename the branch to main before merging the PR there.
Didn't see any master references in the webpage repo (outside of external links that haven't been fixed). So just went with a trivial change in PR ( zarr-developers/zarr-developers.github.io#50 ). Handled the branch renaming beforehand and merged. Seems to have redeployed the page and is working. Though please let me know if you spot any issue and can take another look
Activity
joshmoore commentedon Feb 25, 2022
It's definitely hard-coded in a few places (workflows, readthedocs configuration, etc.) but in doing it elsewhere, I've never run into a true blocker. 👍
jakirkham commentedon Feb 25, 2022
conda-forge is the hardest case I've seen (lots of reasons for that). Though that just means things move more slowly. I don't think we have the same kind of issues as there though.
joshmoore commentedon Feb 25, 2022
Added a checklist with the completed repos marked off.
joshmoore commentedon Feb 26, 2022
An example of links that are a bit trickier:
but supposedly GitHub redirects. Testing now on the
.githubrepository.Edit: indeed! 👍
jakirkham commentedon Feb 26, 2022
Relative links can also point to the same locations, but avoid direct branch references
joshmoore commentedon Feb 26, 2022
Between repositories?
jakirkham commentedon Feb 26, 2022
That's fair. Probably not
joshmoore commentedon Feb 26, 2022
Ah, there is!
HEAD:https://github.com/zarr-developers/.github/blob/HEAD/CODE_OF_CONDUCT.md
jakirkham commentedon Feb 26, 2022
TIL 😀
joshmoore commentedon May 20, 2022
Changed zarr-specs to use "main" after merging the 3.0-dev branch.
jakirkham commentedon May 20, 2022
Have switched a bunch of repos over. Think it would be good if someone looked at how to do this for the webpage repo. Going to add PRs to numcodecs and zarr-python
jakirkham commentedon May 20, 2022
Also it is worth noting that when using the rename branch feature on GitHub it automatically handles redirection for us. So links pointing to
masterwill redirect tomain. Not that we shouldn't go back and update them, but we should feel more comfortable making the changejakirkham commentedon May 20, 2022
Opened PRs for everything but the webpage repo
jakirkham commentedon May 20, 2022
So did a test run of updating GitHub pages by using
zarr_implementationsas a guinea pig. This should help with the webpage repo.The key takeaway is once we have a PR up to fix the webpage repo, we should rename the branch to
mainbefore merging it. That way GitHub pages will redeploy on merge usingmain.Did the opposite order with
zarr_implementationsand had to create a trivial PR ( zarr-developers/zarr_implementations#56 ) to merge and redeploy. This shouldn't be needed if we rename the branch tomainbefore merging the PR there.jakirkham commentedon May 20, 2022
Didn't see any
masterreferences in the webpage repo (outside of external links that haven't been fixed). So just went with a trivial change in PR ( zarr-developers/zarr-developers.github.io#50 ). Handled the branch renaming beforehand and merged. Seems to have redeployed the page and is working. Though please let me know if you spot any issue and can take another lookjakirkham commentedon May 20, 2022
Last change needed is PR ( zarr-developers/zarr-python#1033 ) and then this is done! 🎉
sanketverma1704 commentedon May 23, 2022
Thanks for taking care of this @jakirkham. 🙌🏻
jakirkham commentedon May 23, 2022
Thanks Josh for getting the ball rolling 😄
It's always possible there are lingering issues. Feel free to raise issues on the respective repos and xref this issue
joshmoore commentedon May 23, 2022
🕺🏽