diff options
author | Anthonios Partheniou <partheniou@google.com> | 2021-08-25 12:41:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 12:41:18 -0400 |
commit | b86480edc60dcd30d0a1d11e1c8cdd1d7911ac89 (patch) | |
tree | 395a3650ea767fd80783fb4f59866401ee59c5e0 | |
parent | b79b55407b31933c9a8fe6de01478fa00a33fa2b (diff) | |
download | google-auth-library-python-b86480edc60dcd30d0a1d11e1c8cdd1d7911ac89.tar.gz |
chore: migrate default branch from master to main (#849)
-rwxr-xr-x | .kokoro/test-samples-impl.sh | 2 | ||||
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | docs/conf.py | 16 | ||||
-rw-r--r-- | docs/index.rst | 4 | ||||
-rw-r--r-- | owlbot.py | 5 |
5 files changed, 15 insertions, 16 deletions
diff --git a/.kokoro/test-samples-impl.sh b/.kokoro/test-samples-impl.sh index 311a8d5..8a324c9 100755 --- a/.kokoro/test-samples-impl.sh +++ b/.kokoro/test-samples-impl.sh @@ -80,7 +80,7 @@ for file in samples/**/requirements.txt; do EXIT=$? # If this is a periodic build, send the test log to the FlakyBot. - # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot. + # See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot. if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot $KOKORO_GFILE_DIR/linux_amd64/flakybot @@ -57,11 +57,11 @@ Contributions to this library are always welcome and highly encouraged. See `CONTRIBUTING.rst`_ for more information on how to get started. -.. _CONTRIBUTING.rst: https://github.com/googleapis/google-auth-library-python/blob/master/CONTRIBUTING.rst +.. _CONTRIBUTING.rst: https://github.com/googleapis/google-auth-library-python/blob/main/CONTRIBUTING.rst License ------- Apache 2.0 - See `the LICENSE`_ for more information. -.. _the LICENSE: https://github.com/googleapis/google-auth-library-python/blob/master/LICENSE +.. _the LICENSE: https://github.com/googleapis/google-auth-library-python/blob/main/LICENSE diff --git a/docs/conf.py b/docs/conf.py index b68467f..58e5b9a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,8 +53,8 @@ source_suffix = ".rst" # # source_encoding = 'utf-8-sig' -# The master toctree document. -master_doc = "index" +# The root toctree document. +root_doc = "index" # General information about the project. project = "google-auth" @@ -277,13 +277,7 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ( - master_doc, - "google-auth.tex", - "google-auth Documentation", - "Google, Inc.", - "manual", - ) + (root_doc, "google-auth.tex", "google-auth Documentation", "Google, Inc.", "manual") ] # The name of an image file (relative to this directory) to place at the top of @@ -323,7 +317,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [(master_doc, "google-auth", "google-auth Documentation", [author], 1)] +man_pages = [(root_doc, "google-auth", "google-auth Documentation", [author], 1)] # If true, show URL addresses after external links. # @@ -337,7 +331,7 @@ man_pages = [(master_doc, "google-auth", "google-auth Documentation", [author], # dir menu entry, description, category) texinfo_documents = [ ( - master_doc, + root_doc, "google-auth", "google-auth Documentation", author, diff --git a/docs/index.rst b/docs/index.rst index 9544259..8a5f13a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -62,7 +62,7 @@ google-auth is made available under the Apache License, Version 2.0. For more details, see `LICENSE`_ .. _LICENSE: - https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/LICENSE + https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/main/LICENSE Contributing ------------ @@ -71,4 +71,4 @@ We happily welcome contributions, please see our `contributing`_ documentation for details. .. _contributing: - https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/master/CONTRIBUTING.rst + https://github.com/GoogleCloudPlatform/google-auth-library-python/blob/main/CONTRIBUTING.rst @@ -25,4 +25,9 @@ assert 1 == s.replace( 'value: "docs"', ) +# Remove the replacement below once https://github.com/googleapis/synthtool/pull/1188 is merged + +# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files +assert 1 == s.replace(".kokoro/*.sh", "repo-automation-bots/tree/master", "repo-automation-bots/tree/main") + s.shell.run(["nox", "-s", "blacken"], hide_output=False) |