At the moment, Librarian uses pipeline-state.json and pipeline-config.json to record the state of the pipeline and repo-specific configuration. To implement this, we currently have:
By comparison, in the https://github.com/googleapis/google-cloud-rust, the sidekick CLI tool uses TOML to define its specifications. This approach:
As part of our goal to unify our infrastructure, we should consider standardizing on one specification (proposing TOML because it is already being used in google-cloud-rust, but could be something else if that makes more sense and @coryan agrees), unless there is a strong reason to diverge and keep the existing protobuf-based approach.
This would allow us to:
- simplify the librarian codebase
- avoid the need to install protoc for development
- aligns with existing patterns already used in
sidekick
/cc @jskeet @ldetmer @codyoss
At the moment, Librarian uses
pipeline-state.jsonandpipeline-config.jsonto record the state of the pipeline and repo-specific configuration. To implement this, we currently have:librarian/go.mod
Line 13 in ecd0ebc
By comparison, in the https://github.com/googleapis/google-cloud-rust, the
sidekickCLI tool uses TOML to define its specifications. This approach:As part of our goal to unify our infrastructure, we should consider standardizing on one specification (proposing TOML because it is already being used in google-cloud-rust, but could be something else if that makes more sense and @coryan agrees), unless there is a strong reason to diverge and keep the existing protobuf-based approach.
This would allow us to:
sidekick/cc @jskeet @ldetmer @codyoss