googleapis / googleapis/google-cloud-java

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

Ouverte
#12,491 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
priority: p3 type: feature request
Langage dominant
Java
Étoiles
2.1k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
154

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.