https://pantsbuild.org/ logo
#development
Title
# development
r

refined-addition-53644

02/13/2023, 3:50 PM
I think this is outdated or typo https://github.com/pantsbuild/pants/blob/main/pants.toml#L88
Copy code
[cli.alias]
all-changed = "--changed-since=HEAD --changed-dependents=transitive"
h

happy-kitchen-89482

02/13/2023, 4:34 PM
Why? Seems OK to me?
r

refined-addition-53644

02/13/2023, 4:36 PM
I tried running it locally and I get error
Copy code
./pants all-changed lint
17:35:54.88 [INFO] Initializing scheduler...
17:35:55.28 [INFO] Scheduler initialized.
Unknown flag --dependents on changed scope
Did you mean --dependees?
Use `./pants help changed` to get help.
17:35:55.46 [ERROR] Unknown flags --dependents on scope change
Sorry nevermind, I was running it inside my private repo not pants itself. Is it not supposed to work outside of pants repo?
I don’t see
--changed-dependents
as an option, only
--changed-dependees
h

happy-kitchen-89482

02/13/2023, 4:44 PM
That was renamed in 2.16.x, so it won't work prior to that version
👍 1
See #17395
It turned out that "dependees" means the opposite of what we were using it for...
5 Views