-
Notifications
You must be signed in to change notification settings - Fork 3
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 an upgrade section #6
base: v03
Are you sure you want to change the base?
Conversation
pub trait DependencyProvider<P: Package, V: Version> { | ||
/// Compute the priority of a given package and range of versions for the solver. | ||
/// When deciding which package to pick next, the solver will choose the highest priority one. | ||
fn prioritize(&self, package, version_set) -> // priority |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could help to include an example of the types that might be commonly used for Priority
.
@konstin, I kind of forgot about this PR in our ongoing work to release 0.3 (sorry @mpizenberg) is any of it still useful and helpful? Perhaps if not here in the change log? |
yes we can recycle some of that for the changelog |
Please take it over, I don’t have much time to work on this. |
This is the first in a series of PRs that are intended to be merged into the
v03
branch of this guide repo.Once all v03 guide upgrades are done, we can merge it all into the main branch and deploy.
This PR adds a section describing the differences between v0.2 and v0.3 such that people understand what they have to update in their code.