Skip to content

chore(librarian): allow onboarding new packages#14450

Merged
parthea merged 2 commits intomainfrom
allow-onboarding-new-packages
Sep 16, 2025
Merged

chore(librarian): allow onboarding new packages#14450
parthea merged 2 commits intomainfrom
allow-onboarding-new-packages

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented Sep 16, 2025

This PR resolves the following error by ignoring libraries which which do not have entries in release-please-manifest.json when onboarding new packages. These are likely libraries that have already onboarded. We will also preserve existing entries in state.yaml for these libraries.

(py392) partheniou@partheniou-vm-3:~/git/google-cloud-python/scripts/configure_state_yaml$ python3 configure_state_yaml.py 
Traceback (most recent call last):
  File "/usr/local/google/home/partheniou/git/google-cloud-python/scripts/configure_state_yaml/configure_state_yaml.py", line 94, in <module>
    configure_state_yaml()
  File "/usr/local/google/home/partheniou/git/google-cloud-python/scripts/configure_state_yaml/configure_state_yaml.py", line 67, in configure_state_yaml
    "version": release_please_manifest[f"packages/{package_name}"],
KeyError: 'packages/google-cloud-dlp'

Towards googleapis/librarian#761

@parthea parthea requested a review from a team September 16, 2025 16:25
@parthea parthea requested a review from a team as a code owner September 16, 2025 16:25
@parthea parthea merged commit aa54771 into main Sep 16, 2025
24 checks passed
@parthea parthea deleted the allow-onboarding-new-packages branch September 16, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants