https://pantsbuild.org/ logo
l

loud-laptop-17949

10/18/2022, 9:08 PM
Is the the
dependees
goal supposed to respect the
--filter-target-types
option? It does not seem like it does to me.
h

hundreds-father-404

10/18/2022, 9:14 PM
what Pants version?
l

loud-laptop-17949

10/18/2022, 9:14 PM
2.14.0rc1+gitf06bf22b
h

hundreds-father-404

10/18/2022, 9:14 PM
yeah, it should definitely respect it
but we only filter the input roots I think, not the dependees
if you want to filter the output, then you'd want to pipe with
| xargs ./pants --filter-target-types=foo list
l

loud-laptop-17949

10/18/2022, 9:15 PM
yeah I was expecting it to do the latter
h

hundreds-father-404

10/18/2022, 9:17 PM
we could possibly make a change to support that -- although we'd need to figure out semantically whether we still pre-filter the input roots, which may not be what you intended. If we don't pre-filter, we lose consistency with other goals. It's an open can of semantic questions
3 Views