-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add option to update one dependency #44
Comments
This a complex issue which I don't really know how to resolve. Basically there is a cache of git repositories in
We could just compare the versions of the remote with our local ones using So the ideal solution to speed it up would be a quick (even dirty) was of checking if a local repository is different from the remote, but I'm not aware of any that would do it. The other way to go is to have some option / action:
I'm in favor of 1. and 2. so it would go something like this: elm-install update-package user/package && em-install --skip-updates For your use case you could to use the directory option so you can use both locally when developing and only push versions when necessary. |
Also this issue might affect your install time: #42 |
I've implemented 1. and 3. form above, so now you can use: Released as 1.6.0 |
Awesome, thanks! |
When I work on a project which consists of both a library and a program in separate git repos, a common workflow is to:
However, step 2 takes a long time, because elm-install checks all the dependencies for updates. I specifically know that my own library has updated, and I am really only interested in updating that.
Would it be possible to add an option to check for updates for a specific dependency?
In the meantime, is there a quick way I can emulate this (eg. doing a 'git fetch' in ~/.elm-install/..., then a git checkout in elm-stuff/packages)?
The text was updated successfully, but these errors were encountered: