bazelbuild / migration-tooling

Migration tools for Bazel
Apache License 2.0
45 stars 30 forks source link

Modify version resolution s.t. we select the highest version possible #34

Closed petroseskinder closed 7 years ago

petroseskinder commented 7 years ago

Resolves #16.

Context

When faced with multiple potential versions, Maven selects the highest matching version, if a range is provided. The resolver did not. Instead, it would guess a potential version, without examining the available versions. The following design document discusses the issues present with the prior implementation. In addition, it proposes a solution for how to incorporate backtracking and SAT solving to resolve versioning conflicts.

What has changed?

What is not implemented?

Reviewers: @kchodorow, @katre CC: @hhclam, @jin

bazel-io commented 7 years ago

Can one of the admins verify this patch?

petroseskinder commented 7 years ago

Sorry for the large CL. Much of the 600 lines comes from refactoring and writing test cases.

petroseskinder commented 7 years ago

per our offline discussion, i'm going to close this pull request.