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
In the interest of inclusivity, should we change the main git branch from master to main? This would be in line with changes to large Python repos, including CPython, Numpy, Flask, and Django, as well as the default main branch for all new GitHub repos.
Are you willing to help implement and maintain this feature? Yes
One more note: there are some links in the old documentation that are linked to files on the master branch, for examples, links to the LICENSE.txt, CONTRIBUTING.md and links to example source files. Changing "master" to "main" also breaks the old documentation (including the latest v0.4.0 documentation).
Does GitHub automatically redirect any links of master branch to "main"? If not, do we want to update the old documentation in the gh-pages?
One more note: there are some links in the old documentation that are linked to files on the master branch, for examples, links to the LICENSE.txt, CONTRIBUTING.md and links to example source files. Changing "master" to "main" also breaks the old documentation (including the latest v0.4.0 documentation).
Does GitHub automatically redirect any links of master branch to "main"? If not, do we want to update the old documentation in the gh-pages?
While I don't want to limit anyone's access to information, do we expect many individuals to be clicking through our old documentation? On that topic, is there typically an expectation to support old documentation versions once new versions are released?
Releasing v0.4.1 within the few weeks and sticking to the regular schedule for v0.5.0 sounds good to me.
Alright, we'll need to assign a release manager. Do you want to do it again @meghanrjones? Or we can choose someone who hasn't done it before like @michaelgrund or @core-man if they are keen to try. This is a pretty small release so shouldn't be too difficult
😄 I'd like to do the release v0.4.1 if either meghanrjones or michaelgrund is not available then.
Releasing v0.4.1 within the few weeks and sticking to the regular schedule for v0.5.0 sounds good to me.
Alright, we'll need to assign a release manager. Do you want to do it again @meghanrjones? Or we can choose someone who hasn't done it before like @michaelgrund or @core-man if they are keen to try. This is a pretty small release so shouldn't be too difficult
😄 I'd like to do the release v0.4.1 if either meghanrjones or michaelgrund is not available then.
Releasing v0.4.1 within the few weeks and sticking to the regular schedule for v0.5.0 sounds good to me.
Alright, we'll need to assign a release manager. Do you want to do it again @meghanrjones? Or we can choose someone who hasn't done it before like @michaelgrund or @core-man if they are keen to try. This is a pretty small release so shouldn't be too difficult
😄 I'd like to do the release v0.4.1 if either meghanrjones or michaelgrund is not available then.
Maybe a good idea to wait until after the SciPy sprints on 17/18 July so that the edit links don't break. But do it before the ESWN developer workshop on 17-19 Aug. Sometime late July 2021 perhaps for PyGMT v0.4.1?
What about releasing v0.4.1 on Aug. 7? It's the weekend after the AGU abstract submission deadline, and 10 days before the ESWN developer workshop.
Reacted by Max Jones, Wei Ji, Yao Jiayuan and Will Schlitzer
I renamed the branch from master to main. GitHub says that all the PR targets will be updated but contributors will need to update their local environment. Here are the commands provided:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Reacted by Wei Ji, Dongdong Tian and Will Schlitzer
Activity
seisman commentedon Jun 24, 2021
I'm OK with the change.
michaelgrund commentedon Jun 24, 2021
Mee, too! Are there any technical issues which could come up when changing the master branch?
core-man commentedon Jun 24, 2021
I don't think so from my experience for this change 😄
weiji14 commentedon Jun 24, 2021
Guidance is at https://github.com/github/renaming. Contributors will need to point their git remote to the new 'main' branch locally on their computers, and there will need to be a Pull Request to rename 'master' to 'main' across our documentation/CI scripts/etc.
maxrjones commentedon Jun 24, 2021
I support the change. Seems that github has made the process rather streamlined.
willschlitzer commentedon Jun 25, 2021
I don't have the rights to rename the default branch, but I have submitted a draft PR changing documentation and CI scripts.
maxrjones commentedon Jun 25, 2021
At the same time, we could update the 'master' CPT references in the docstrings for these two functions:
./pygmt/src/grd2cpt.py
./pygmt/src/makecpt.py
seisman commentedon Jun 26, 2021
But they are called "master" CPT in GMT.
seisman commentedon Jun 29, 2021
One more note: there are some links in the old documentation that are linked to files on the master branch, for examples, links to the LICENSE.txt, CONTRIBUTING.md and links to example source files. Changing "master" to "main" also breaks the old documentation (including the latest v0.4.0 documentation).
Does GitHub automatically redirect any links of master branch to "main"? If not, do we want to update the old documentation in the gh-pages?
willschlitzer commentedon Jun 29, 2021
While I don't want to limit anyone's access to information, do we expect many individuals to be clicking through our old documentation? On that topic, is there typically an expectation to support old documentation versions once new versions are released?
15 remaining items
core-man commentedon Jul 23, 2021
😄 I'd like to do the release v0.4.1 if either meghanrjones or michaelgrund is not available then.
willschlitzer commentedon Jul 23, 2021
Famous last words! 😝
maxrjones commentedon Jul 23, 2021
Great, thanks for volunteering!
michaelgrund commentedon Jul 25, 2021
Thanks @core-man for doing it 😉.
seisman commentedon Jul 25, 2021
What about releasing v0.4.1 on Aug. 7? It's the weekend after the AGU abstract submission deadline, and 10 days before the ESWN developer workshop.
seisman commentedon Jul 30, 2021
@core-man Please make an issue to track the v0.4.1 release. See #1333 for an example issue for v0.4.0.
maxrjones commentedon Aug 4, 2021
I renamed the branch from master to main. GitHub says that all the PR targets will be updated but contributors will need to update their local environment. Here are the commands provided:
maxrjones commentedon Aug 25, 2021
@weiji14, do you know how to update the default branch on DAGsHub?
weiji14 commentedon Aug 25, 2021
Why? The DAGsHub repo is just a mirror of the GitHub repo. I think the master branch should have disappeared already.
maxrjones commentedon Aug 25, 2021
I was wondering because the default branch is listed as add_hotspot_data now that the master branch is gone (https://dagshub.com/GenericMappingTools/pygmt/branches), but it's not a big deal.
weiji14 commentedon Aug 25, 2021
Ah I see. I didn't see any setting for that, so maybe raise it with DAGsHub, if you can find their issue tracker.