googleapis / googleapis/google-cloud-java

gapic_metadata.proto should be updated automatically

Offen
#13,289 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p3 type: feature request
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

gapic_metadata.proto currently downloads from a fixed [commitish of googleapis](https://github.com/googleapis/google-cloud-java/blob/8a9fab9ed555bf3fb554924071ca361f5f988270/sdk-platform-java/gapic-generator-java/pom.xml#L137).

There are two main issues with this approach
- This caused toil that we have to manually update the commitish whenever we need to use new features from the proto.
- Always downloading from Github makes the build non-hermetic and could cause flaky build if Github is not responsive.

Possible solution: We may want to use automations to sync it from [googleapis](https://github.com/googleapis/googleapis/blob/master/gapic/metadata/gapic_metadata.proto) to [java-common-protos](https://github.com/googleapis/google-cloud-java/tree/main/java-common-protos).

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.