• Home
  • Raw
  • Download

Lines Matching +full:owlbot +full:- +full:py

4 google-cloud-java monorepo.
22 Ensure google-cloud-java repository does not have [a pull request with "autorelease: snapshot" labe…
23 https://github.com/googleapis/google-cloud-java/pulls?q=is%3Apr+is%3Aopen+label%3A%22autorelease%3A…
26 This is a pull request to append "-SNAPSHOT" to versions in pom.xml files in the
30 a "-SNAPSHOT" version. To have consistency with other modules, ensure the pom.xml files in
31 the repository has "-SNAPSHOT" versions too.
34 ### Checkout google-cloud-java repository
37 $ git clone https://github.com/googleapis/google-cloud-java
47 curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer \
55 command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
56 eval "$(pyenv init -)"
57 eval "$(pyenv virtualenv-init -)"
65 -> IdeaProjects/
66 -> google-cloud-java
67 -> ...
69 …nds in the home directory (or IdeaProjects). Otherwise, run it at `google-cloud-java`'s parent dir…
89 Downloading Python-3.9.13.tar.xz...
90 -> https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tar.xz
91 Installing Python-3.9.13...
93 Installed Python-3.9.13 to /usr/local/google/home/suztomo/.pyenv/versions/3.9.13
112 At the root of google-cloud-java repository clone, run:
115 $ python3.9 -m pip install -r generation/new_client/requirements.txt
123 $ sudo apt-get install gh
129 You will run new-client.py script with the following parameters.
156 For example, "https://cloud.google.com/api-keys/" in
167 Run `new-client.py` with the arguments above:
170 $ python3.9 generation/new_client/new-client.py generate \
171 --api_shortname=apikeys \
172 --proto-path=google/api/apikeys \
173 --name-pretty="API Keys API" \
174 --product-docs="https://cloud.google.com/api-keys/" \
175 --api-description="API Keys lets you create and manage your API keys for your projects."
185 $ git checkout -b new_module_java-discoveryengine
187 $ git commit -m 'feat: [apikeys] new module for apikeys'
188 $ gh pr create --title 'feat: [apikeys] new module for apikeys'
192 In the description, record the `python3.9 generation/new_client/new-client.py generate ...`
198 `python3.9 generation/new_client/new-client.py generate --help`.
201 ~/google-cloud-java$ python3.9 generation/new_client/new-client.py generate --help
202 /usr/local/google/home/suztomo/google-cloud-java/generation/new_client
203 Usage: new-client.py generate [OPTIONS]
206 --api_shortname TEXT Name for the new directory name and
208 --name-pretty TEXT The human-friendly name that appears in
210 --product-docs TEXT Documentation URL that appears in README.md
212 --api-description TEXT Description that appears in README.md
214 --release-level [stable|preview]
215 A label that appears in repo-metadata.json.
218 --transport [grpc|http|both] A label that appears in repo-metadata.json
220 --language TEXT [default: java]
221 --distribution-name TEXT Maven coordinates of the generated library.
222 By default it's com.google.cloud:google-
223 cloud-<api_shortname>
224 --api-id TEXT The value of the apiid parameter used in
227 --requires-billing BOOLEAN Based on this value, README.md explains
230 --destination-name TEXT The directory name of the new library. By
231 default it's java-<api_shortname>
232 --proto-path TEXT Path to proto file from the root of the
239 --cloud-api BOOLEAN If true, the artifact ID of the library is
240 'google-cloud-'; otherwise 'google-'
242 --group-id TEXT The group ID of the artifact when
245 --owlbot-image TEXT The owlbot container image used in
246 OwlBot.yaml [default: gcr.io/cloud-devrel-
247 public-resources/owlbot-java]
248 --library-type TEXT A label that appear in repo-metadata.json to
251 --googleapis-gen-url TEXT The URL of the repository that has generated
254 https://github.com/googleapis/googleapis-
256 --help Show this message and exit.
265 ~/google-cloud-java$ python3.9 generation/new_client/new-client.py generate \
266 --api_shortname=maps-routing \
267 --proto-path=google/maps/routing \
268 --name-pretty="Routes API" \
269 --product-docs="https://developers.google.com/maps/documentation/routes" \
270--api-description="Routes API is the next generation, performance optimized version of the existin…
271 --api-id=routes.googleapis.com \
272 --cloud-api=false \
273 --requires-billing=true \
274 --distribution-name="com.google.maps:google-maps-routing"
285 ## Unable to clone googleapis-gen
287 Creating a new module /usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java/java-vmware…
288 gcr.io/cloud-devrel-public-resources/owlbot-java:latest
289 Cloning googleapis-gen...
293 …se see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#c…
294 fatal: Authentication failed for 'https://github.com/googleapis/googleapis-gen.git/'
296 …usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java/generation/new_client/new-client.
298 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
300 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
302 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
304 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
306 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 7…
308 …usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java/generation/new_client/new-client.
309 …subprocess.check_call(["git", "clone", "-q", googleapis_gen_url, "./gen/googleapis-gen"], cwd=work…
310 …File "/usr/local/google/home/lawrenceqiu/.pyenv/versions/3.9.13/lib/python3.9/subprocess.py", line…
312 …: Command '['git', 'clone', '-q', 'https://github.com/googleapis/googleapis-gen.git', './gen/googl…
318 ## Owl-bot Staging Directory Not Found
320 Removing googleapis-gen...
321 mv: cannot stat 'owl-bot-staging': No such file or directory
323 …usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java/generation/new_client/new-client.
325 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
327 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
329 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
331 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 1…
333 …File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 7…
335 …usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java/generation/new_client/new-client.
337 …File "/usr/local/google/home/lawrenceqiu/.pyenv/versions/3.9.13/lib/python3.9/subprocess.py", line…
339 subprocess.CalledProcessError: Command '['mv', 'owl-bot-staging', '../']' returned non-zero exit st…
347 pyenv: version `3.9.13' is not installed (set by /workspace/.python-version)
349 …usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java/generation/new_client/new-client.
351 File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 11…
353 File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 10…
355 File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 16…
357 File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 14…
359 File "/usr/local/google/home/lawrenceqiu/.local/lib/python3.9/site-packages/click/core.py", line 76…
361 …usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java/generation/new_client/new-client.
363 File "/usr/local/google/home/lawrenceqiu/.pyenv/versions/3.9.13/lib/python3.9/subprocess.py", line …
365--rm', '-v', '/usr/local/google/home/lawrenceqiu/IdeaProjects/google-cloud-java:/workspace', '--us…
369 You have run the `pyenv local 3.9.13` in the `google-cloud-java` repo.
370 1. Remove the `.python-version` file in `google-cloud-java`.
372 3. `cd google-cloud-java` back into the repo and run the generation script again