Closed illicitonion closed 6 months ago
The Rules Author SIG approved to bring into bazel-contrib on 2024-04-30.
https://github.com/bazel-contrib/bazelrc-parser-go now has content 🎉 thanks all!
hopefully @sluongng would be interested too
We do maintain our own currently with some elaborate logic to support our own CLI's plugin system. If there are benefits in adopting this newer parser, we would love to contribute back.
Thanks so much for reaching out ❤️ 🍎
In a drive-by comment on a PR @sluongng mentioned an interest in having a shared bazelrc parsing logic written in Go. I have extracted one from internal code to hand over to bazel-contrib if folks are interested :)
Apache 2 is fine.
We've written one, it sounds like buildbuddy have one, I know bits of the aspect CLI also implement some code around cleanly calling
bazel help flags-as-proto
to get related metadata. I think this is reasonably common code to want in wrappers around Bazel, and those seem to mostly be written in Go.@illicitonion
It's a repo with unit tests and a README, which has been in use for 1+ year at Apple.
Happy to sign up to this, related to the next question:
@gibfahn and @stevebarrau are happy to volunteer, hopefully @sluongng would be interested too, open to more volunteers!
Will follow the Go conventions (i.e. avoid breaking changes, new major versions for major changes).
Not a ruleset, but expect to support whatever new constructs come up.
Not a ruleset.