-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mix deps.get --check-locked
parameter
#12184
Conversation
* introduces allow_updates option * marks file path as option and no-more as optional argument
implements code style feedback Co-authored-by: José Valim <jose.valim@gmail.com>
Thank you! I believe this is in the right direction but we need to discuss the name. |
How does |
Freeze is not a verb we use in Elixir. I don’t think it would have a meaning to most developers. |
I would say let’s go with —check-locked, because “up to date” also has multiple meaning and —strict is vague. We can also call the internal option :check_locked. |
--no-lockfile-update
parameter--check-locked
parameter
💚 💙 💜 💛 ❤️ |
Implements https://groups.google.com/g/elixir-lang-core/c/Jr2CS6o2elo/m/Lq3r5plfBQAJ proposal by introducing
--check-locked
argument tomix deps.get
task.When set and lockfile needs to be updated,
mix deps.get
will exit with non-zero status.The idea is to have a way to prevent a CI pipeline from running successfully when a change in the application deps are not reflected in an update to the lockfile.
Similarly to bundler install --frozen and yarn --frozen-lockfile
TODO