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

Detecting dependency version conflicts #17

Closed
2 tasks done
bvssvni opened this issue Aug 10, 2015 · 1 comment
Closed
2 tasks done

Detecting dependency version conflicts #17

bvssvni opened this issue Aug 10, 2015 · 1 comment

Comments

@bvssvni
Copy link
Member

bvssvni commented Aug 10, 2015

When a breaking change occurs in the libraries listed in the extraction info, all dependency version conflicts can be solved by upgrading to the newest version, see #16.

When a library is not listed in the extraction info, a dependency version conflict might occur. I believe the right way to solve this is to use the newest version used by any dependency, because:

  1. Given a localized part of the ecosystem, a downstream library depending on that part should not experience dependency version conflict after the information from Eco is used to upgrade the libraries.
  2. Dependency version conflicts are caused by multiple dependency paths to different versions of the same library. This is possible when a subset of the localized ecosystem contain different versions of the same library.
  3. It is not possible to prevent a downstream library from using a subset such that a dependency conflict does not occur.

Also, a localized part of the ecosystem might use an older version of a library to speed up development for a time period. In this case it is desirable to have the easiest upgrade possible.

The only solution that satisfy these constraints is by upgrading to the newest version used by any dependency.

  • For all libraries not listed in the extraction info, find the newest version
  • Add an update action for versions of the same library that uses an older version
@bvssvni
Copy link
Member Author

bvssvni commented Aug 28, 2015

Done.

@bvssvni bvssvni closed this as completed Aug 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant