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

Override version #24

Closed
bvssvni opened this issue Aug 20, 2015 · 3 comments
Closed

Override version #24

bvssvni opened this issue Aug 20, 2015 · 3 comments

Comments

@bvssvni
Copy link
Member

bvssvni commented Aug 20, 2015

Currently it is not possible to simulate breaking changes because override-version property in the extract format is ignored.

@bvssvni
Copy link
Member Author

bvssvni commented Aug 28, 2015

The original idea was that simulation a breaking change is done by replacing an extracted version with a newer version. The newer version causes updates where there otherwise would be none. This answers questions such as "assume we introduce a breaking change here, what consequences will it have?".

@bvssvni
Copy link
Member Author

bvssvni commented Aug 28, 2015

The problem is that when overriding with an older version, it can lead to several classes of errors:

  • The algorithm that generates update information assumes that the packages always have the latest version (greater or equal than used in any dependency). Overriding with an older version might lead to unsound actions.
  • It is easy to forget that you have inserted override information. For example, you increment a version, run the analysis, then the package increments for real, everything seems fine, then it increments again for real, and suddenly the update information contain unsound actions.

It seems that adding this feature will introduce more problems than it solves.

@bvssvni bvssvni added the wontfix label Mar 4, 2016
@bvssvni
Copy link
Member Author

bvssvni commented Mar 4, 2016

Due to the problems above, won't add this feature.

@bvssvni bvssvni closed this as completed Mar 4, 2016
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