Question about the JSON schema store generator: <h...
# development
w
Question about the JSON schema store generator: https://github.com/pantsbuild/pants/blob/d9860df0bffb29dec40fe530d58b143d416fe4e2/build-support/bin/generate_json_schema.py#L10 Does
pants help-all
generate for all backends? Or just backends which are currently active? I'm on a tablet unfortunately - so I can't check myself, just wondering if anyone knows offhand
I recall checking this at some point, and I thought it only applied to the active backends (which is how I was able to use it for ... something or another)
And the intent of this question is to determine how we can activate all backends (auditing purposes) without necessarily having the dependencies all of them require readily available
b
Currently active ones. The docs site does a double invocation to first determine what backends exist and then generate the help for all. See https://github.com/pantsbuild/pantsbuild.org/blob/9825198311015ebe58474ef127302c47dbeb78b3/.github/workflows/sync_docs.yml#L29-L34
w
Oh, that's a neat idea
So help-all will always show the backends that exist, and then using those to activate and re-run...
šŸ‘ 1
b
I’m not sure that solves the Python-level dependency problem (as in, any requirements that need to be installed into pants Python venv will still be installed, I imagine), but it appears to not require any system binaries ?
w
Ah, okay, maybe that's because it's a BuiltinGoal, and it can bypass those (or, GHA generally has like... 50 binaries available anyways šŸ˜† ) Sweet, thanks! I'm gonna give this a shot