Skip to content
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

Attempt to pull maintained packaged if referenced at newer version #11

Open
medikoo opened this issue May 9, 2019 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@medikoo
Copy link
Owner

medikoo commented May 9, 2019

If package depends on a maintained package, but refers to newer version than one found locally, it'll be good to attempt git pull on that maintained package, but only if it's on its default branch and git status is clean.

@medikoo medikoo added the enhancement New feature or request label May 9, 2019
@medikoo
Copy link
Owner Author

medikoo commented May 13, 2020

Wanted to implement that but it appears as tricky, e.g. there can be the case where at first pass (e.g. when inspected as deep dependency) maintained package is referenced at supported version, and then at second pass (as a top level dependency) it appears as outdated.
Currently there's no mechanism to revisit package setup in such case, which makes it troublesome to address. Also pull operation is sort of destructive, and it'll be good to make it only for top level dependencies.

Still I've made an improvement, and with 3a6d7a3 we now signal with notice log such case, so at least it's not treated silently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant