Commit aa54771
authored
chore(librarian): allow onboarding new packages (#14450)
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#7611 parent acf0e4f commit aa54771
1 file changed
+32
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| |||
0 commit comments