hundreds-father-404
08/25/2021, 12:37 AM./pants lock
vs ./pants resolve
vs. ./pants python-lock
vs. something else: https://github.com/pantsbuild/pants/pull/12641. Feedback welcomed!hundreds-father-404
08/25/2021, 12:37 AMbusy-vase-39202
08/25/2021, 12:51 AMlock
makes a certain amount of sense. But as a purely semantic issue, I'm concerned that "lock" as a verb sounds like more potent security than what this is. For that reason, I'd vote for resolve
or a fourth option.hundreds-father-404
08/25/2021, 12:51 AMfast-nail-55400
08/25/2021, 1:11 AMcargo update
busy-vase-39202
08/25/2021, 1:14 AMbusy-vase-39202
08/25/2021, 1:14 AMfast-nail-55400
08/25/2021, 1:15 AMgo get
and go mod tidy
busy-vase-39202
08/25/2021, 1:17 AMbundle update
and gem update
https://guides.rubygems.org/command-reference/#gem-update
https://bundler.io/man/bundle-update.1.htmlaverage-vr-56795
08/25/2021, 8:06 AMproud-dentist-22844
08/25/2021, 6:23 PMresolve
? If not, I think that would be perfect for a language agnostic goal. lock
freeze
update
and friends are all defined slightly differently for different language tools.busy-vase-39202
08/25/2021, 6:45 PMhundreds-father-404
08/25/2021, 6:46 PM./pants generate-lockfiles
will be the most unambiguous and future-proof, given that a couple things are going to be changing in the future like Pants autogenerating the lockfile rather than forcing you to manually run the goal. https://github.com/pantsbuild/pants/pull/12641#issuecomment-905777885
In the future, I envision it will be deprecated in favor of ./pants update-lockfiles
hundreds-father-404
08/27/2021, 6:12 PMgen-lockfiles
vs `generate-lockfiles`: https://github.com/pantsbuild/pants/pull/12680