googleapis / googleapis/google-cloud-java

[sdk-platform-java] The order of entries in generated `gapic_metadata.json` and `package-info.java` should be deterministic

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

Descrizione

Currently, the order entries in `gapic_metadata.json` and `package-info.java` is the same as the corresponding proto files in `BUILD.bazel`.

However, the proto files can be reordered manually which leads to undeterministic output in `gapic_metadata.json` and `package-info.java`.

The entries should be in a deterministic order (e.g., alphabetic order), regardless the order of protos.

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.