-
Notifications
You must be signed in to change notification settings - Fork 43
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
Plugin should expose a command allowing individual dependencies to be updated #42
Comments
Any recommendations on how to handle transitive dependency changes from the update? Quick thought would be to keep locks on all direct but the one being asked to update and let transitives change as defined by new resolve. |
Oh and we welcome pull requests if you can add the feature before I get some free time. |
I'll try to get you a pull request soon, or have someone from my team do so. Regarding transitive dependencies, I would hope to update them in a similar way to what Bundler does with the |
What about the desired workflow? Will I
and then after that runs ensure the proper code changes are made to accommodate the update before committing? Or, will I run the above command and expect the update to throw an error if the update cannot be performed without breaking binary compatibility? I suspect the former scenario is more desirable but I'm unfamiliar with |
So all of our internal jobs generate new locks files and run their test suites before committing the new lock. I figure that's sufficient. |
@rspieldenner do you keep your |
we lock master branches with a daily job to update the locks (but we have a All release branches are locked and can be used to compare dependency You could have your pipeline for releasing include the generateLock You could have all master jobs run with -PdependencyLock.ignore=true or in On Tue, Feb 3, 2015 at 4:01 PM, David [email protected] wrote:
|
Thanks for the insight. That may work. If not we'll work on a PR. |
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
Sorry for the spam--I didn't realize a new comment would be generated every time I updated the commit message containing the issue ref. I've drafted an idea for an |
It is now possible to update only a subset of the locked dependencies rather than updating them all at once by regenerating the lock file. nebula-plugins#42
Looks like the corresponding pull request has been merged and a new version was released containing the functionality. Closing the issue. |
There is currently nothing in the plugin akin to
bundle update <dependency>
allowing for more targeted dependency updates. The only way to update dependencies is either to manually edit the dependencies.lock file, which is highly error prone and tedious, or to regenerate the entire lock file, which could update far more than the user intends. A more targeted update command would be a tremendous addition to this plugin.The text was updated successfully, but these errors were encountered: