Hi, I’m using pants 2.14.0dev2. We are trying to r...
# general
a
Hi, I’m using pants 2.14.0dev2. We are trying to run tests in CI only for the changed projects.
pants --changed-since={COMMIT} --changed-dependees=transitive roots
I realised that roots ignores
--changed-since
and
--changed-dependees
, because it prints all the projects. But when you use:
pants --changed-since={COMMIT} --changed-dependees=transitive list
-> it shows all the targets. Our solution is to cut the project names and filter the output from the list, but is it expected somehow in the future to support
changed-since
and
changed-dependees
for
roots
command? Because I see it works for `lint`/`test` for example.
h
Ah, the
roots
goal is simplistic and ignores CLI arguments. It no matter what shows all your roots
h
I wonder if
roots
should error (or at least warn) if you pass target specs to it
3