cool-yacht-37128
12/13/2022, 1:49 AMpex lock export to a compatible format for the SCA platform). But what I really need is the ability to pex lock export per component/target in the monorepo, different artefacts are used/distributed differently, and thus have different risk profiles.
I’ve manually determined the steps to go from pants dependencies --dependencies-transitive to a requirements.txt for python, and something similar with golang, and now I’m deciding how to best put this into code.
Would this be a good candidate for a pants plugin?happy-kitchen-89482
12/13/2022, 3:41 AM./pants dependencies --transitive (note in passing that you can omit the goal name in the flag if it's after the goal) will give you the direct third-party reqs that Pants knows about, but not those reqs transitive reqshappy-kitchen-89482
12/13/2022, 3:41 AMhappy-kitchen-89482
12/13/2022, 3:42 AMhappy-kitchen-89482
12/13/2022, 3:42 AMcool-yacht-37128
12/13/2022, 3:48 AMcool-yacht-37128
12/13/2022, 3:52 AMcool-yacht-37128
12/13/2022, 4:11 AMdependencies goal:
• an additional flag to show reqs transitive reqs
• an additional flag to format this output in in a requirements.txt syntaxhappy-kitchen-89482
12/13/2022, 4:11 PMhappy-kitchen-89482
12/13/2022, 4:12 PMexporthappy-kitchen-89482
12/13/2022, 4:12 PMexport exports an entire lockfile, which is not what you want, right?)happy-kitchen-89482
12/13/2022, 4:13 PMcool-yacht-37128
12/15/2022, 1:28 AM