Hey all, is it possible to limit the scope of `--c...
# general
w
Hey all, is it possible to limit the scope of
--changed-since
to a subdirectory or list of targets? I can use
--filter-address-regex
to filter the output, but I'd like to limit the scope of the scan instead to speed things up
c
I'm not aware of a flag that does this today. How did you imagine the semantics would work with transitive changes?
w
This is what I'm currently running:
pants --changed-since={previous_commit} --changed-dependents=transitive list --filter-address-regex="^mycomponent" --filter-target-type=pex_binary
In my case I only care about transitive changes within the directory I'm filtering for. There's no transitive dependencies outside of it, and even if there were I wouldn't want to build it in this same workflow Using --pants-ignore to filter outer directory seems to do it, but I'm wondering if that would cause unexpected side-effects?