Skip to content

Commit b86480e

Browse files
authored
chore: migrate default branch from master to main (#849)
1 parent b79b554 commit b86480e

File tree

5 files changed

+15
-16
lines changed

5 files changed

+15
-16
lines changed

.kokoro/test-samples-impl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ for file in samples/**/requirements.txt; do
8080
EXIT=$?
8181

8282
# If this is a periodic build, send the test log to the FlakyBot.
83-
# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
83+
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
8484
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
8585
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
8686
$KOKORO_GFILE_DIR/linux_amd64/flakybot

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ Contributions to this library are always welcome and highly encouraged.
5757

5858
See `CONTRIBUTING.rst`_ for more information on how to get started.
5959

60-
.. _CONTRIBUTING.rst: https://github.com/googleapis/google-auth-library-python/blob/master/CONTRIBUTING.rst
60+
.. _CONTRIBUTING.rst: https://github.com/googleapis/google-auth-library-python/blob/main/CONTRIBUTING.rst
6161

6262
License
6363
-------
6464

6565
Apache 2.0 - See `the LICENSE`_ for more information.
6666

67-
.. _the LICENSE: https://github.com/googleapis/google-auth-library-python/blob/master/LICENSE
67+
.. _the LICENSE: https://github.com/googleapis/google-auth-library-python/blob/main/LICENSE

docs/conf.py

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
#
5454
# source_encoding = 'utf-8-sig'
5555

56-
# The master toctree document.
57-
master_doc = "index"
56+
# The root toctree document.
57+
root_doc = "index"
5858

5959
# General information about the project.
6060
project = "google-auth"
@@ -277,13 +277,7 @@
277277
# (source start file, target name, title,
278278
# author, documentclass [howto, manual, or own class]).
279279
latex_documents = [
280-
(
281-
master_doc,
282-
"google-auth.tex",
283-
"google-auth Documentation",
284-
"Google, Inc.",
285-
"manual",
286-
)
280+
(root_doc, "google-auth.tex", "google-auth Documentation", "Google, Inc.", "manual")
287281
]
288282

289283
# The name of an image file (relative to this directory) to place at the top of
@@ -323,7 +317,7 @@
323317

324318
# One entry per manual page. List of tuples
325319
# (source start file, name, description, authors, manual section).
326-
man_pages = [(master_doc, "google-auth", "google-auth Documentation", [author], 1)]
320+
man_pages = [(root_doc, "google-auth", "google-auth Documentation", [author], 1)]
327321

328322
# If true, show URL addresses after external links.
329323
#
@@ -337,7 +331,7 @@
337331
# dir menu entry, description, category)
338332
texinfo_documents = [
339333
(
340-
master_doc,
334+
root_doc,
341335
"google-auth",
342336
"google-auth Documentation",
343337
author,

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ google-auth is made available under the Apache License, Version 2.0. For more
6262
details, see `LICENSE`_
6363

6464
.. _LICENSE:
65-
https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/LICENSE
65+
https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/main/LICENSE
6666

6767
Contributing
6868
------------
@@ -71,4 +71,4 @@ We happily welcome contributions, please see our `contributing`_ documentation
7171
for details.
7272

7373
.. _contributing:
74-
https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/CONTRIBUTING.rst
74+
https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/main/CONTRIBUTING.rst

owlbot.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@
2525
'value: "docs"',
2626
)
2727

28+
# Remove the replacement below once https://github.com/googleapis/synthtool/pull/1188 is merged
29+
30+
# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files
31+
assert 1 == s.replace(".kokoro/*.sh", "repo-automation-bots/tree/master", "repo-automation-bots/tree/main")
32+
2833
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)