diff --git a/.librarian/config.yaml b/.librarian/config.yaml index 2fcf99df7626..9a4d901b6bb2 100644 --- a/.librarian/config.yaml +++ b/.librarian/config.yaml @@ -1,51 +1,28 @@ -# 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 + - generate_blocked: true + id: google-cloud-config diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 3af4eb460caf..bbd03fcacef7 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 @@ -1274,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 new file mode 100644 index 000000000000..0741c6952ad8 --- /dev/null +++ b/librarian.yaml @@ -0,0 +1,81 @@ +# 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: 2233f63baf69c2a481f30180045fcf036242781d + sha256: fe0d4bb6d640fa6e0b48aa828c833c458f6835b6643b664062a288995b244c3c +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 + - 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 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 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