You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(librariangen): scaffold Java language container for Librarian (#3926)
This change introduces the initial scaffolding for `librariangen`, a
containerized Go application that will serve as the Java-specific code
generator within the Librarian pipeline.
The primary goal of this change is to establish the foundational
components for the Java language container, including:
* A new `librariangen` CLI application: Written in Go, this will be the
entry point for Java code generation tasks invoked by Librarian. It
currently includes basic command dispatching and support for
`--version`.
* A multi-stage `Dockerfile`: This creates a minimal container image for
librariangen.
* Unit tests and CI: A new GitHub Actions workflow has been added to
build and test the librariangen executable.
This scaffolding is the first step in implementing the full code
generation logic within the Librarian system, eventually replacing the
Java hermetic code generation system.
The code is largely adapted from the Go language container at
https://github.com/googleapis/google-cloud-go/tree/main/internal/librariangen.
Fixes: googleapis/librarian#2500
# Java GAPIC Generator for Librarian (librariangen)
2
+
3
+
This directory contains the source code for `librariangen`, a containerized Go application that serves as the Java-specific code generator within the Librarian pipeline. Its responsibility is to generate release-ready Java GAPIC client libraries from `googleapis` API definitions, replacing the legacy Java hermetic code generation toolchain.
0 commit comments