Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jakkdl
Copy link
Contributor

@jakkdl jakkdl commented Sep 19, 2024

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

Copy link
Member

@Zac-HD Zac-HD left a 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
Copy link
Member

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)
Copy link
Member

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

Comment on lines 272 to +274
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",
Copy link
Member

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)
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants