From f7ea96569b8e23ea422a619d89fd9b25cd5702b3 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 1 Oct 2021 12:17:52 -0400 Subject: [PATCH 1/4] chore: add default_version and codeowner_team to .repo-metadata.json --- .repo-metadata.json | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index f132056d5..446be1303 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,14 +1,16 @@ { - "name": "bigquery", - "name_pretty": "Google Cloud BigQuery", - "product_documentation": "https://cloud.google.com/bigquery", - "client_documentation": "https://googleapis.dev/python/bigquery/latest", - "issue_tracker": "https://issuetracker.google.com/savedsearches/559654", - "release_level": "ga", - "language": "python", - "library_type": "GAPIC_COMBO", - "repo": "googleapis/python-bigquery", - "distribution_name": "google-cloud-bigquery", - "api_id": "bigquery.googleapis.com", - "requires_billing": false -} \ No newline at end of file + "name": "bigquery", + "name_pretty": "Google Cloud BigQuery", + "product_documentation": "https://cloud.google.com/bigquery", + "client_documentation": "https://googleapis.dev/python/bigquery/latest", + "issue_tracker": "https://issuetracker.google.com/savedsearches/559654", + "release_level": "ga", + "language": "python", + "library_type": "GAPIC_COMBO", + "repo": "googleapis/python-bigquery", + "distribution_name": "google-cloud-bigquery", + "api_id": "bigquery.googleapis.com", + "requires_billing": false, + "default_version": "", + "codeowner_team": "" +} From 54b69b2fb2c39be1c35ff94a797893637c338f26 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 4 Oct 2021 06:33:40 -0400 Subject: [PATCH 2/4] set default_version and codeowner_team --- .repo-metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.repo-metadata.json b/.repo-metadata.json index 446be1303..124b40eb9 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -11,6 +11,6 @@ "distribution_name": "google-cloud-bigquery", "api_id": "bigquery.googleapis.com", "requires_billing": false, - "default_version": "", - "codeowner_team": "" + "default_version": "v2", + "codeowner_team": "@googleapis/api-bigquery" } From 016519124a0f4235e02dea0a0f957e81fb899f83 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 5 Oct 2021 15:09:03 +0000 Subject: [PATCH 3/4] Don't copy docs/index.rst froom templates --- owlbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/owlbot.py b/owlbot.py index ace99e687..659b24528 100644 --- a/owlbot.py +++ b/owlbot.py @@ -109,6 +109,7 @@ excludes=[ "noxfile.py", "docs/multiprocessing.rst", + "docs/index.rst", ".coveragerc", ".github/CODEOWNERS", # Include custom SNIPPETS_TESTS job for performance. From bc7b1079a2d30d1adccd71a6438ae2d130fe7288 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 5 Oct 2021 15:10:02 +0000 Subject: [PATCH 4/4] housekeeping --- owlbot.py | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) diff --git a/owlbot.py b/owlbot.py index 659b24528..0f6f8fe99 100644 --- a/owlbot.py +++ b/owlbot.py @@ -171,52 +171,4 @@ ), ) - -# Remove the replacements below once -# https://github.com/googleapis/synthtool/pull/1188 is merged - -# Update googleapis/repo-automation-bots repo to main in .kokoro/*.sh files -s.replace( - ".kokoro/*.sh", - "repo-automation-bots/tree/master", - "repo-automation-bots/tree/main", -) - -# Customize CONTRIBUTING.rst to replace master with main -s.replace( - "CONTRIBUTING.rst", - "fetch and merge changes from upstream into master", - "fetch and merge changes from upstream into main", -) - -s.replace( - "CONTRIBUTING.rst", "git merge upstream/master", "git merge upstream/main", -) - -s.replace( - "CONTRIBUTING.rst", - """export GOOGLE_CLOUD_TESTING_BRANCH=\"master\"""", - """export GOOGLE_CLOUD_TESTING_BRANCH=\"main\"""", -) - -s.replace( - "CONTRIBUTING.rst", r"remote \(``master``\)", "remote (``main``)", -) - -s.replace( - "CONTRIBUTING.rst", "blob/master/CONTRIBUTING.rst", "blob/main/CONTRIBUTING.rst", -) - -s.replace( - "CONTRIBUTING.rst", "blob/master/noxfile.py", "blob/main/noxfile.py", -) - -s.replace( - "docs/conf.py", "master_doc", "root_doc", -) - -s.replace( - "docs/conf.py", "# The master toctree document.", "# The root toctree document.", -) - s.shell.run(["nox", "-s", "blacken"], hide_output=False)