Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate showcase without postprocessing #1946

Closed

Conversation

diegomarquezp
Copy link
Contributor

Modifies the logic of #1916 to support generation of showcase

NOTES

  • Referencing an external repository as the source of the protos when building showcase makes the proto folder to contain a path that includes the external reference. Googleapis-based generated libraries do not contain this difference (example) but instead contain the proto_path (i.e. path from repository root to proto location).
    • To fix this, I added an extra postprocessing step in the current showcase generation
    • I also tried modifying the bazel BUILD file to copy the protos into showcase but it produced a similar result - a path like proto/bazel-out/.../schema/....

PENDING

  • use current snapshot of gapic-generator-java to generate showcase (currently uses a published version)

@diegomarquezp diegomarquezp requested a review from a team as a code owner August 28, 2023 15:18
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Aug 28, 2023
@diegomarquezp diegomarquezp changed the title Feat/generate showcase without postprocessing feat: generate showcase without postprocessing Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants