Skip to content

Commit da86dc8

Browse files
authored
chore: removing owlbot directives for conversion to main (#73)
chore: removing owlbot directives for conversion to main
1 parent 673a714 commit da86dc8

1 file changed

Lines changed: 0 additions & 54 deletions

File tree

  • packages/google-cloud-artifact-registry

packages/google-cloud-artifact-registry/owlbot.py

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -50,58 +50,4 @@
5050
templated_files, excludes=excludes
5151
)
5252

53-
# Remove the replacements below once https://github.com/googleapis/synthtool/pull/1188 is merged
54-
55-
# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files
56-
s.replace(".kokoro/*.sh", "repo-automation-bots/tree/master", "repo-automation-bots/tree/main")
57-
58-
# Customize CONTRIBUTING.rst to replace master with main
59-
s.replace(
60-
"CONTRIBUTING.rst",
61-
"fetch and merge changes from upstream into master",
62-
"fetch and merge changes from upstream into main",
63-
)
64-
65-
s.replace(
66-
"CONTRIBUTING.rst",
67-
"git merge upstream/master",
68-
"git merge upstream/main",
69-
)
70-
71-
s.replace(
72-
"CONTRIBUTING.rst",
73-
"""export GOOGLE_CLOUD_TESTING_BRANCH=\"master\"""",
74-
"""export GOOGLE_CLOUD_TESTING_BRANCH=\"main\"""",
75-
)
76-
77-
s.replace(
78-
"CONTRIBUTING.rst",
79-
"remote \(``master``\)",
80-
"remote (``main``)",
81-
)
82-
83-
s.replace(
84-
"CONTRIBUTING.rst",
85-
"blob/master/CONTRIBUTING.rst",
86-
"blob/main/CONTRIBUTING.rst",
87-
)
88-
89-
s.replace(
90-
"CONTRIBUTING.rst",
91-
"blob/master/noxfile.py",
92-
"blob/main/noxfile.py",
93-
)
94-
95-
s.replace(
96-
"docs/conf.py",
97-
"master_doc",
98-
"root_doc",
99-
)
100-
101-
s.replace(
102-
"docs/conf.py",
103-
"# The master toctree document.",
104-
"# The root toctree document.",
105-
)
106-
10753
s.shell.run(["nox", "-s", "blacken"], hide_output=False)

0 commit comments

Comments
 (0)