Is there a way to filter with `changed-since` and ...
# general
l
Is there a way to filter with
changed-since
and target type at the same time?
use case: I want to start our pants integration by linting shell libraries in CI
h
You can do something like
Copy code
./pants --changed-since=main --changed-dependees=transitive filter --target-type=shell_library | xargs -n 100 ./pants lint
The
filter
goal emits targets that you can then lint via xargs
Does that work?
l
yeah it appears to
does the changed-since parameter use the merge-base for detecting changes?
h