proud-dentist-22844
10/26/2022, 3:55 PMinternal_plugins
python module.
https://github.com/pantsbuild/pants/tree/main/pants-plugins
But, in my StackStorm+pants PoC repo, I separated each plugin into a separate module:
https://github.com/st2sandbox/st2/tree/pants/pants-plugins
Are there other conventions people have used for their plugins? What are the benefits of one approach vs another?bitter-ability-32190
10/26/2022, 3:56 PMproud-dentist-22844
10/26/2022, 3:56 PMinternal_plugins
too?bitter-ability-32190
10/26/2022, 3:56 PMbitter-ability-32190
10/26/2022, 3:57 PMpants-plugins
.
Oh and every target starts with wo_
(short for "Watson Orders", our org) so I/we know whats built-in vs whats customproud-dentist-22844
10/26/2022, 3:58 PM//pants-plugins/internal_plugins/<plugin>
But I did:
//pants-plugins/<plugin>
It sounds like you did:
//pants-plugins/wo_<plugin>
right?bitter-ability-32190
10/26/2022, 3:59 PMinternal_plugins
because in-and-of-itself it has external plugins 😛proud-dentist-22844
10/26/2022, 4:02 PMinternal_plugins
. And then for the probably-upstreamable plugins (or at least, applicable to more than just StackStorm), I could use something like upstreamable_plugins
as a parent module.proud-dentist-22844
10/26/2022, 4:03 PMbitter-ability-32190
10/26/2022, 4:05 PMproud-dentist-22844
10/26/2022, 4:05 PMproud-dentist-22844
10/26/2022, 4:35 PM