googleapis / googleapis/google-cloud-java

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

Open
#12,483 2 comments 0 reactions 0 assignees View on GitHub
priority: p2 type: feature request
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.