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

hundreds-father-404

05/20/2022, 1:21 PM
Bike shed - feedback welcomed! We need to rethink our options
--files-not-found-behavior
and
--owners-not-found-behavior
with the Specs improvements •
--files-not-found-behavior
controls invalid globs in BUILD files, e.g.
sources
field. It's a good option, but too generic of a name •
--owners-not-found-behavior
needs to be removed • we need to add a dedicated option for when a CLI arg is for non-existent files, like
does-not-exist::
So my proposal: •
--nonexistent-build-file-globs
--nonexistent-cli-globs
Only
--nonexistent
is wonky
1
--invalid
feels too vague. It's only the behavior of path globs not existing
Dictionary says
missing
is a synonym, but imo that makes me think you left off the value entirely
c

curved-television-6568

05/20/2022, 1:39 PM
--unknown-cli-args
.. ?
h

hundreds-father-404

05/20/2022, 1:40 PM
Oh that could work! •
--unknown-build-file-globs
--unknown-cli-globs
👍 1
c

curved-television-6568

05/20/2022, 1:41 PM
naming stuff is one of the top three most difficult aspects of sw eng.
❤️ 1
😂 1
h

hundreds-father-404

05/20/2022, 1:46 PM
ahhh
unmatched
is even better. Yay!
c

curved-television-6568

05/20/2022, 1:47 PM
hehe. yeah. noticed you pushed right after my comment on the PR there 😛
h

hundreds-father-404

05/20/2022, 1:48 PM
hehe yeah, this thread is one of the last blockers to the Specs project. I'm very motivated to get that over the finish line
🙌 1