wide-midnight-78598
06/23/2024, 9:57 PMhappy-kitchen-89482
06/23/2024, 10:07 PMhappy-kitchen-89482
06/23/2024, 10:07 PMfast-nail-55400
06/23/2024, 10:10 PMfast-nail-55400
06/23/2024, 10:10 PMwide-midnight-78598
06/23/2024, 10:45 PMpants plugin
API (I saw Andreas had a PR about this too, which I need to investigate).
https://github.com/pantsbuild/pants/discussions/20910
Doing pants plugin init --type linter ...
is pretty trivial, but for new users, I think it would be a nicer experience ala create-react-app
or yeoman
or a variety of other tools to walk them through questions, rather than having them declare.wide-midnight-78598
06/23/2024, 10:46 PMhappy-kitchen-89482
06/23/2024, 11:07 PMwide-midnight-78598
06/23/2024, 11:12 PMwide-midnight-78598
06/23/2024, 11:19 PMcareful-address-89803
06/24/2024, 12:47 AMexperimental-deploy
on terraform eventually launches an InteractiveProcess which exposes the underlying terraform
process, including prompts for confirmation and undefined variableswide-midnight-78598
06/24/2024, 1:32 AMwide-midnight-78598
06/24/2024, 3:07 AMwide-midnight-78598
06/24/2024, 3:09 AMpants plugin init
for examplecareful-address-89803
06/24/2024, 3:12 AMpants plugin -- init
instead?wide-midnight-78598
06/24/2024, 3:18 AMpants lint fmt plugin
- There is a PR open for allowing plugins to create BuiltinRules (https://github.com/pantsbuild/pants/pull/20913) and a bikeshed on the naming https://github.com/pantsbuild/pants/discussions/20931
I'm gonna hack on this as a plugin, but it'll probably be better suited as a builtin, if I can still do the same interactive stuff.wide-midnight-78598
06/24/2024, 3:26 AMException: Side-effects are not allowed in this context: SideEffecting types must be acquired via parameters to `@rule`s.