Closed parthea closed 3 years ago
@dandhlee @plamut FYI this PR provides a one-liner to pull and run the migration script via cURL; the main-migration branch within google-cloud-python holds the scripts, so if they need to be updated or modified, you will be able to access the most recent versions via cURL.
(for example, I just pushed a PR that uses "chore:" instead of "docs:" for the commit message)
@nicain Thanks, that's useful.
One side note, the name of the remote is hardcoded and assumed to be origin
, while I personally use origin
for my own forks and refer to the original repo as upstream
.
In addition, not all references to master
are replaced. Some of them legitimately, e.g. URLs to repos that have not migrated yet, but some others files need extra manual changes (sync-repo-settings.yaml
, for example).
Something to keep in mind if anybody else uses a similar setup and if a repo has its own specifics. Best to read the script source first, it's pretty short and straightforward anyway.
@tseaver we're not marking entries checked off until we've verified that the continuous tests run after the migration, I'll unmark the ones you've checked off for my PRs!
Hmm, OK, sorry about that. The continuous tests tend to run against the last release -- is that going to be an issue?
No worries, I'll edit the snippet up top to reflect that, it was only referenced in our internal doc iirc.
I think that's fine, as long as Kokoro runs against main
and not master
and there's no issues on those then it should be fine.
@dandhlee, @parthea PR needing review: https://github.com/googleapis/python-bigtable/pull/411
All task are complete
Please follow these steps to change the default branch from master to main:
master
in the repository. Open a PR in the repo to replace the termmaster
withmain
. We have automation which will revert changes made to templated files so we also need to add replacements inowlbot.py
to replacemaster
withmain
similar to this PR. See this bash script that I used to create the branch for the linked PR. Note: Once this synthtool PR is merged and the synthtool templates have propagated to the repo via owlbot, we can remove the replacements in owlbot.py added in this step.