From 48a48edc799caeafa31b42a0552fa363bc7fd4df Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Fri, 10 Apr 2026 08:21:15 +0000 Subject: [PATCH 1/5] chore: migrate google-area120-tables to librarian --- .librarian/config.yaml | 59 +++++++++++-------------------------- .librarian/state.yaml | 3 ++ librarian.yaml | 67 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 42 deletions(-) create mode 100644 librarian.yaml diff --git a/.librarian/config.yaml b/.librarian/config.yaml index 2fcf99df7626..e95f239a077b 100644 --- a/.librarian/config.yaml +++ b/.librarian/config.yaml @@ -1,51 +1,26 @@ -# This repo is now in legacylibrarian "release-only mode" -# as part of the migration to librarian. -# -# Attempting to regenerate using legacylibrarian will fail, -# and releasing will not expect commits to be generated by -# legacylibrarian. -release_only_mode: true +# This file is being migrated to librarian@latest, and is no longer maintained by hand. +release_only_mode: true global_files_allowlist: - # Allow the container to read and write the root `CHANGELOG.md` - # file during the `release` step to update the latest client library - # versions which are hardcoded in the file. - - path: "CHANGELOG.md" - permissions: "read-write" - + - path: CHANGELOG.md + permissions: read-write libraries: -# libraries have "release_blocked: true" so that releases are -# explicitly initiated. -# TODO(https://github.com/googleapis/google-cloud-python/issues/16180): -# `google-django-spanner` is blocked until the presubmits are green. - - id: "google-django-spanner" + - id: google-django-spanner release_blocked: true -# TODO(https://github.com/googleapis/google-cloud-python/issues/16487): -# Allow releases for google-cloud-storage once this bug is fixed. - - id: "google-cloud-storage" + - id: google-cloud-storage release_blocked: true -# TODO(https://github.com/googleapis/google-cloud-python/issues/16494): -# Allow generation for google-cloud-bigtable once this bug is fixed. - - id: "google-cloud-bigtable" - generate_blocked: true -# TODO(https://github.com/googleapis/google-cloud-python/issues/16489): -# Allow releases for bigframes once the bug above is fixed. - - id: "bigframes" + - generate_blocked: true + id: google-cloud-bigtable + - id: bigframes release_blocked: true -# TODO(https://github.com/googleapis/google-cloud-python/issues/16506): -# Allow generation/release for google-cloud-firestore once this bug is fixed. - - id: "google-cloud-firestore" - generate_blocked: true + - generate_blocked: true + id: google-cloud-firestore release_blocked: true -# TODO(https://github.com/googleapis/google-cloud-python/issues/16165): -# Allow generation for google-cloud-dialogflow once this bug is fixed. - - id: "google-cloud-dialogflow" - generate_blocked: true -# TODO(https://github.com/googleapis/google-cloud-python/issues/16520): -# Allow release for google-crc32c once this bug is fixed. - - id: "google-crc32c" + - generate_blocked: true + id: google-cloud-dialogflow + - id: google-crc32c release_blocked: true -# TODO(https://github.com/googleapis/google-cloud-python/issues/16600): -# Allow release for google-cloud-spanner after tests are fixed. - - id: "google-cloud-spanner" + - id: google-cloud-spanner release_blocked: true + - generate_blocked: true + id: google-area120-tables diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 3af4eb460caf..8e48cfb88df6 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -271,6 +271,9 @@ libraries: - docs/CHANGELOG.md remove_regex: - packages/google-area120-tables/ + release_exclude_paths: + - packages/google-area120-tables/.repo-metadata.json + - packages/google-area120-tables/docs/README.rst tag_format: '{id}-v{version}' - id: google-auth version: 2.49.2 diff --git a/librarian.yaml b/librarian.yaml new file mode 100644 index 000000000000..8b0b7bc266e0 --- /dev/null +++ b/librarian.yaml @@ -0,0 +1,67 @@ +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +language: python +version: v0.10.1-0.20260410064550-f49f20f3e64c +repo: googleapis/google-cloud-python +sources: + googleapis: + commit: 66fcc021fec9e5249e69da17068bea999f113622 + sha256: ce31966528ca99123c566542606ecf02d42c916a07dbf22910cee9996e9eaefb +release: + ignored_changes: + - .repo-metadata.json + - docs/README.rst +default: + output: packages + tag_format: '{name}: v{version}' + python: + common_gapic_paths: + - samples/generated_samples + - tests/unit/gapic + - testing + - '{neutral-source}/__init__.py' + - '{neutral-source}/gapic_version.py' + - '{neutral-source}/py.typed' + - tests/unit/__init__.py + - tests/__init__.py + - setup.py + - noxfile.py + - .coveragerc + - .flake8 + - .repo-metadata.json + - mypy.ini + - README.rst + - LICENSE + - MANIFEST.in + - docs/_static/custom.css + - docs/_templates/layout.html + - docs/conf.py + - docs/index.rst + - docs/multiprocessing.rst + - docs/README.rst + - docs/summary_overview.md + library_type: GAPIC_AUTO +libraries: + - name: google-area120-tables + version: 0.14.0 + apis: + - path: google/area120/tables/v1alpha1 + description_override: provides programmatic methods to the Area 120 Tables API. + keep: + - CHANGELOG.md + - docs/CHANGELOG.md + python: + name_pretty_override: Area 120 Tables + metadata_name_override: area120tables + default_version: v1alpha1 From ab92c3db5a29fb3156eeb12e4245a8fdecdb8366 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Fri, 10 Apr 2026 08:25:01 +0000 Subject: [PATCH 2/5] chore: update googleapis commit to match last regeneration --- librarian.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/librarian.yaml b/librarian.yaml index 8b0b7bc266e0..e611e332139d 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -16,8 +16,8 @@ version: v0.10.1-0.20260410064550-f49f20f3e64c repo: googleapis/google-cloud-python sources: googleapis: - commit: 66fcc021fec9e5249e69da17068bea999f113622 - sha256: ce31966528ca99123c566542606ecf02d42c916a07dbf22910cee9996e9eaefb + commit: 2233f63baf69c2a481f30180045fcf036242781d + sha256: fe0d4bb6d640fa6e0b48aa828c833c458f6835b6643b664062a288995b244c3c release: ignored_changes: - .repo-metadata.json From 6938a2c683ce1b517f504a68b71323075664308f Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Fri, 10 Apr 2026 08:27:23 +0000 Subject: [PATCH 3/5] chore: regenerate google-area120-tables --- .../google-area120-tables/.repo-metadata.json | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/packages/google-area120-tables/.repo-metadata.json b/packages/google-area120-tables/.repo-metadata.json index f0ffeaf75062..401f6f9adfaf 100644 --- a/packages/google-area120-tables/.repo-metadata.json +++ b/packages/google-area120-tables/.repo-metadata.json @@ -1,16 +1,15 @@ { - "api_description": "provides programmatic methods to the Area 120 Tables API.", - "api_id": "area120tables.googleapis.com", - "api_shortname": "area120tables", - "client_documentation": "https://googleapis.dev/python/area120tables/latest", - "default_version": "v1alpha1", - "distribution_name": "google-area120-tables", - "issue_tracker": "", - "language": "python", - "library_type": "GAPIC_AUTO", - "name": "area120tables", - "name_pretty": "Area 120 Tables", - "product_documentation": "https://area120.google.com", - "release_level": "preview", - "repo": "googleapis/google-cloud-python" + "api_description": "provides programmatic methods to the Area 120 Tables API.", + "api_id": "area120tables.googleapis.com", + "api_shortname": "area120tables", + "client_documentation": "https://googleapis.dev/python/area120tables/latest", + "default_version": "v1alpha1", + "distribution_name": "google-area120-tables", + "language": "python", + "library_type": "GAPIC_AUTO", + "name": "area120tables", + "name_pretty": "Area 120 Tables", + "product_documentation": "https://area120.google.com", + "release_level": "preview", + "repo": "googleapis/google-cloud-python" } \ No newline at end of file From 2614eead07631e5a104f252a98270fea5a6aa2c4 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Fri, 10 Apr 2026 08:29:08 +0000 Subject: [PATCH 4/5] chore: migrate google-cloud-config to librarian --- .librarian/config.yaml | 2 ++ .librarian/state.yaml | 3 +++ librarian.yaml | 14 ++++++++++++++ 3 files changed, 19 insertions(+) diff --git a/.librarian/config.yaml b/.librarian/config.yaml index e95f239a077b..9a4d901b6bb2 100644 --- a/.librarian/config.yaml +++ b/.librarian/config.yaml @@ -24,3 +24,5 @@ libraries: release_blocked: true - generate_blocked: true id: google-area120-tables + - generate_blocked: true + id: google-cloud-config diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 8e48cfb88df6..bbd03fcacef7 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -1277,6 +1277,9 @@ libraries: - docs/CHANGELOG.md remove_regex: - packages/google-cloud-config/ + release_exclude_paths: + - packages/google-cloud-config/.repo-metadata.json + - packages/google-cloud-config/docs/README.rst tag_format: '{id}-v{version}' - id: google-cloud-configdelivery version: 0.4.0 diff --git a/librarian.yaml b/librarian.yaml index e611e332139d..0741c6952ad8 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -65,3 +65,17 @@ libraries: name_pretty_override: Area 120 Tables metadata_name_override: area120tables default_version: v1alpha1 + - name: google-cloud-config + version: 0.5.0 + apis: + - path: google/cloud/config/v1 + description_override: Infrastructure Manager API + keep: + - CHANGELOG.md + - docs/CHANGELOG.md + python: + name_pretty_override: Infrastructure Manager API + product_documentation_override: https://cloud.google.com/infrastructure-manager/docs/overview + api_shortname_override: config + metadata_name_override: config + default_version: v1 From 3f43ae419e20c5f81220eeb35b7dd998658a3b29 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Fri, 10 Apr 2026 08:46:25 +0000 Subject: [PATCH 5/5] chore: regenerate google-cloud-config --- .../google-cloud-config/.repo-metadata.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/google-cloud-config/.repo-metadata.json b/packages/google-cloud-config/.repo-metadata.json index 15118132fe79..5210406c4cda 100644 --- a/packages/google-cloud-config/.repo-metadata.json +++ b/packages/google-cloud-config/.repo-metadata.json @@ -1,16 +1,16 @@ { - "api_description": "Infrastructure Manager API", - "api_id": "config.googleapis.com", - "api_shortname": "config", - "client_documentation": "https://cloud.google.com/python/docs/reference/config/latest", - "default_version": "v1", - "distribution_name": "google-cloud-config", - "issue_tracker": "https://issuetracker.google.com/issues/new?component=536700", - "language": "python", - "library_type": "GAPIC_AUTO", - "name": "config", - "name_pretty": "Infrastructure Manager API", - "product_documentation": "https://cloud.google.com/infrastructure-manager/docs/overview", - "release_level": "preview", - "repo": "googleapis/google-cloud-python" + "api_description": "Infrastructure Manager API", + "api_id": "config.googleapis.com", + "api_shortname": "config", + "client_documentation": "https://cloud.google.com/python/docs/reference/config/latest", + "default_version": "v1", + "distribution_name": "google-cloud-config", + "issue_tracker": "https://issuetracker.google.com/issues/new?component=536700", + "language": "python", + "library_type": "GAPIC_AUTO", + "name": "config", + "name_pretty": "Infrastructure Manager API", + "product_documentation": "https://cloud.google.com/infrastructure-manager/docs/overview", + "release_level": "preview", + "repo": "googleapis/google-cloud-python" } \ No newline at end of file