proud-dentist-22844
07/01/2022, 9:11 PMSpecsWithoutFileOwners
doesn't sound right, so, what is the new way to do this:
all_expanded_targets = await Get(Targets, AddressSpecs([DescendantAddresses("")]))
Ultimately I need to get a list of all targets in the repo that have my extension's field
https://github.com/st2sandbox/st2/blob/pants/pants-plugins/stevedore_extensions/python_dependency_injection.py#L58-L61proud-dentist-22844
07/01/2022, 9:31 PMSpecs(recursive_globs=(RecursiveGlobSpec(""),))
2: SpecsWithoutFileOwners(recursive_globs=(RecursiveGlobSpec(""),))
3: SpecsWithFileOwners(recursive_globs=(RecursiveGlobSpec(""),))
iow: what's the diff between Specs, SpecsWithoutFileOwners, SpecsWithFileOwnersproud-dentist-22844
07/01/2022, 10:14 PMRawSpecs
...proud-dentist-22844
07/01/2022, 10:14 PMcurved-television-6568
07/01/2022, 10:14 PMAllTargets
or AllUnexpandedTargets
?
They are root types, so can use them as input params to your @rule
.
./pants AllTargets --help-advanced
edit: oh, nvm about the helpโฆ that type was not registered, so does not show up in help.proud-dentist-22844
07/01/2022, 10:15 PMcurved-television-6568
07/01/2022, 10:15 PMAllTargets
have existed for a long time.curved-television-6568
07/01/2022, 10:16 PMproud-dentist-22844
07/01/2022, 10:19 PMproud-dentist-22844
07/01/2022, 10:19 PMcurved-television-6568
07/02/2022, 7:30 AMhundreds-father-404
07/05/2022, 2:38 PMhundreds-father-404
07/05/2022, 2:38 PMAllTargets
proud-dentist-22844
07/05/2022, 4:39 PM__defaults__
is too awesome to pass up.hundreds-father-404
07/05/2022, 4:40 PM