Content-Length: 461905 | pFad | http://github.com/googleapis/google-cloud-python/commit/abd3207e07bf2daeb3a1889d9e1aba377ebe5df2

57 chore(python): rename default branch to main (#39) · googleapis/google-cloud-python@abd3207 · GitHub
Skip to content

Commit abd3207

Browse files
chore(python): rename default branch to main (#39)
* chore(python): rename default branch to main Source-Link: googleapis/synthtool@5c0fa62 Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:0ffe3bdd6c7159692df5f7744da74e5ef19966288a6bf76023e8e04e0c424d7d * chore: remove obsolete replacements in owlbot.py Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Nick Cain <nicain.seattle@gmail.com>
1 parent f821935 commit abd3207

File tree

4 files changed

+9
-51
lines changed

4 files changed

+9
-51
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-python:latest
3-
digest: sha256:1456ea2b3b523ccff5e13030acef56d1de28f21249c62aa0f196265880338fa7
3+
digest: sha256:0ffe3bdd6c7159692df5f7744da74e5ef19966288a6bf76023e8e04e0c424d7d

packages/google-cloud-apigee-connect/CONTRIBUTING.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ Coding Style
113113
export GOOGLE_CLOUD_TESTING_BRANCH="main"
114114

115115
By doing this, you are specifying the location of the most up-to-date
116-
version of ``python-apigee-connect``. The the suggested remote name ``upstream``
117-
should point to the official ``googleapis`` checkout and the
118-
the branch should be the main branch on that remote (``main``).
116+
version of ``python-apigee-connect``. The
117+
remote name ``upstream`` should point to the official ``googleapis``
118+
checkout and the branch should be the default branch on that remote (``main``).
119119

120120
- This repository contains configuration for the
121121
`pre-commit <https://pre-commit.com/>`__ tool, which automates checking

packages/google-cloud-apigee-connect/docs/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
# The encoding of source files.
7777
# source_encoding = 'utf-8-sig'
7878

79-
# The master toctree document.
80-
master_doc = "index"
79+
# The root toctree document.
80+
root_doc = "index"
8181

8282
# General information about the project.
8383
project = "google-cloud-apigee-connect"
@@ -280,7 +280,7 @@
280280
# author, documentclass [howto, manual, or own class]).
281281
latex_documents = [
282282
(
283-
master_doc,
283+
root_doc,
284284
"google-cloud-apigee-connect.tex",
285285
"google-cloud-apigee-connect Documentation",
286286
author,
@@ -315,7 +315,7 @@
315315
# (source start file, name, description, authors, manual section).
316316
man_pages = [
317317
(
318-
master_doc,
318+
root_doc,
319319
"google-cloud-apigee-connect",
320320
"google-cloud-apigee-connect Documentation",
321321
[author],
@@ -334,7 +334,7 @@
334334
# dir menu entry, description, category)
335335
texinfo_documents = [
336336
(
337-
master_doc,
337+
root_doc,
338338
"google-cloud-apigee-connect",
339339
"google-cloud-apigee-connect Documentation",
340340
author,

packages/google-cloud-apigee-connect/owlbot.py

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -34,48 +34,6 @@
3434
python.py_samples(skip_readmes=True)
3535
s.move(templated_files, excludes=[".coveragerc"]) # the microgenerator has a good coveragerc file
3636

37-
# Remove the replacements below once https://github.com/googleapis/synthtool/pull/1188 is merged
38-
39-
# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files
40-
s.replace(".kokoro/*.sh", "repo-automation-bots/tree/master", "repo-automation-bots/tree/main")
41-
42-
# Customize CONTRIBUTING.rst to replace master with main
43-
s.replace(
44-
"CONTRIBUTING.rst",
45-
"fetch and merge changes from upstream into master",
46-
"fetch and merge changes from upstream into main",
47-
)
48-
49-
s.replace(
50-
"CONTRIBUTING.rst",
51-
"git merge upstream/master",
52-
"git merge upstream/main",
53-
)
54-
55-
s.replace(
56-
"CONTRIBUTING.rst",
57-
"""export GOOGLE_CLOUD_TESTING_BRANCH=\"master\"""",
58-
"""export GOOGLE_CLOUD_TESTING_BRANCH=\"main\"""",
59-
)
60-
61-
s.replace(
62-
"CONTRIBUTING.rst",
63-
"remote \(``master``\)",
64-
"remote (``main``)",
65-
)
66-
67-
s.replace(
68-
"CONTRIBUTING.rst",
69-
"blob/master/CONTRIBUTING.rst",
70-
"blob/main/CONTRIBUTING.rst",
71-
)
72-
73-
s.replace(
74-
"CONTRIBUTING.rst",
75-
"blob/master/noxfile.py",
76-
"blob/main/noxfile.py",
77-
)
78-
7937
# ----------------------------------------------------------------------------
8038
# Run blacken session
8139
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/google-cloud-python/commit/abd3207e07bf2daeb3a1889d9e1aba377ebe5df2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy