brash-baker-91190
08/05/2021, 4:43 PM--changed-since
to operate on files and targets that have changed relative to a prior commit. Is there a built-in way that I can flip this around to answer the question "did this particular target (and anything it depends on) have any changes relative to a prior commit?" That is, rather than asking "what changed?", I want to ask "Did this specific thing change?" Thanks in advance.witty-crayon-22786
08/05/2021, 5:47 PMfiledeps --transitive
with the git logbrash-baker-91190
08/05/2021, 6:01 PMcomm -12 \
<(./pants --changed-since=$MY_COMMIT filedeps | sort) \
<(./pants filedeps --transitive $MY_TARGET | sort)
If that outputs anything, something changed 🙂hundreds-father-404
08/05/2021, 6:11 PMdid this particular target (and anything it depends on) have any changes relative to a prior commit?
brash-baker-91190
08/05/2021, 6:18 PM--changed-since
flag, but I can't really do that for a container. I suppose an alternative hacky way to solve this could be to just see if pants would have built the Python wheel for that to-be-containerized service; if it did, I should do a docker build
🙃curved-television-6568
08/06/2021, 7:02 AMclean-city-64472
09/23/2021, 7:27 PM