-
Notifications
You must be signed in to change notification settings - Fork 586
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
replace all mentions of master to main #4109
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @jakkdl! I think from here the process does need admin permissions, so I'll aim to get to this within the next couple of weekends :-)
git reset --hard origin/master | ||
git reset --hard origin/main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is pyenv
, which still uses master
.
print("Current master:", MASTER) | ||
print("Current main:", MASTER) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's rename this constant too
where = os.path.expanduser("~/.cache/hypothesis-build-runtimes/pyenv/") | ||
subprocess.run( | ||
"git fetch && git reset --hard origin/master", | ||
"git fetch && git reset --hard origin/main", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pyenv again. It's pretty weird that our scripts operate an entirely separate git repo, but here we are.
@@ -16,7 +16,7 @@ Details of how to guest post on here: | |||
1. This site is [a Jekyll site on GitHub](https://github.com/HypothesisWorks/HypothesisWorks.github.io). | |||
To add a post, create a markdown file in the _posts directory with the | |||
appropriate structure and send a pull request. | |||
2. You will want to add an entry for yourself to [the authors data file](https://github.com/HypothesisWorks/HypothesisWorks.github.io/blob/master/_data/authors.yml) | |||
2. You will want to add an entry for yourself to [the authors data file](https://github.com/HypothesisWorks/HypothesisWorks.github.io/blob/main/_data/authors.yml) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for (much) later: ooh, on top of the general finish-the-website-update #2943, I should make sure that all the urls point to this repo and archive the old one.
see #4108
just a big search&replace of master -> main. Though selective, as some instances are links to other repos, or referring to terms like "Golden Master".
This will of course disastrously fail CI