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

hundreds-father-404

06/22/2021, 10:07 PM
@witty-crayon-22786 re auto-generating lockfiles. Let's say you change
[black].version
then run `./pants fmt`: how important do you think it is that
black_lock.txt
gets regenerated, vs. something like warning or erroring that you should run
./pants lock
? I'm wondering if the latter is adequate so that we can punt on secondary effects in downstream rules: https://github.com/pantsbuild/pants/issues/12014. Trying to keep the scope of lockfile project tight
w

witty-crayon-22786

06/22/2021, 10:08 PM
That seems like a totally reasonable punt, yea.
h

hundreds-father-404

06/22/2021, 10:09 PM
Great. Fwit, I'm envisioning having an option to choose between warning vs. erroring when input requirements have changed. In the future, we can add "write" to that enum
w

witty-crayon-22786

06/22/2021, 10:09 PM
And like all good punts, it's easy to change our minds later on and decide that it does matter.
👍 1
Yea, exactly.