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
feat: add --set-exit-if-changed
on pub upgrade
#4146
Comments
What are the proposed semantics? |
I would expect For example, if |
What is the use-case? |
The use-case is to be used in continuous integration (CI, for example GitHub workflows). I would like to easily check if a project has all its dependencies tighten up. Having it return a non-0 exit code will fail the workflow and disallow merging the change into the project until the requirement of "all dependencies are tighten up" is fulfilled. One could parse |
Perhaps this situation would be detectable in CI with I'm not sure that is desirable in general to always have tightened dependencies... We would need to also have a way of opting out. |
That would also be a solution that avoids parsing the
Overall, I think adding
I'm not sure if I'm understanding this concern correctly, I believe when the option |
Description
As a developer, I would like to have the option "--set-exit-if-changed" when running
pub upgrade --tighten
.Semantics
From #4146 (comment):
Use-case
From #4146 (comment):
The text was updated successfully, but these errors were encountered: