v2.11.1rc0 changed behavior of filter
when filtering on transitive changed-since AND tags
#15544
Labels
filter
when filtering on transitive changed-since AND tags
#15544
Describe the bug
Setup
pants
generated with:curl -L -O https://static.pantsbuild.org/setup/pants && chmod +x ./pants
In
pants.toml
:In
BUILD.pants
:In
Dockerfile
:In
entrypoint.sh
:Commit these contents as an initial commit:
The Bug
Update
entrypoint.sh
:In Pants v2.11.0, running:
./pants --changed-dependees=transitive --changed-since=$(git rev-parse HEAD) --tag=buildme \ filter --target-type=docker_image
Outputs
//:docker
.If you upgrade to Pants v2.11.1rc0, the command no longer outputs
//:docker
:Bisecting the commits between v2.11.0 and v2.11.1rc0 shows that fcaac98 is where the behavior changed:
Pants version
2.11.x
OS
Observed in both MacOS and Linux
The text was updated successfully, but these errors were encountered: