googleapis / googleapis/google-cloud-java

[sdk-platform-java] Enable iterative troubleshooting of local generator changes with protos in the googleapis/ repo

Aperta
#12,491 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
priority: p3 type: feature request
Lingua principale
Java
Stelle
2.1k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
157

Descrizione

In order to verify client generation changes with protos in googleapis and the local generator modifications, we need to do the following:
1. Make the [specified modifications in googleapis/](https://github.com/googleapis/sdk-platform-java/blob/main/gapic-generator-java/DEVELOPMENT.md#running-the-plugin-under-googleapis-with-local-gapic-generator-java).
2. Call `bazel build ...` in googleapis/ to generate the tar.gz file for the client library in the bazel-bin directory.
3. Manually unzip the tar.gz files in the desired location and point your IDE there.

Unzipping the tar.gz every time there is a modification to the code being generated can be a little cumbersome and requires some manual effort especially if the generator changes are iteratively being testing. There may be an opportunity for this to be automated.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.