pubgrub-rs / pubgrub

PubGrub version solving algorithm implemented in Rust
https://pubgrub-rs.github.io/pubgrub/pubgrub/
Mozilla Public License 2.0
337 stars 30 forks source link

Rename v0.3 Range into BoundedRange #123

Open mpizenberg opened 1 year ago

mpizenberg commented 1 year ago

I'm currently writing the v0.2 -> v0.3 upgrade guide and realizing we still have the name Range for our default impl of VersionSet. However, this is not exactly the same as the previous v0.2 Range. So to prevent user confusion, and also make the upgrade guide clearer, I'd suggest we rename it to BoundedRange. That's also more precise since it's a range built with inclusive/exclusive bounds.

baszalmstra commented 1 year ago

Sounds good!

Michaelin007 commented 8 months ago

Hi, I would like to work on this issue. Where's the upgrade guide location? Thanks

mpizenberg commented 8 months ago

Hi @Michaelin007 thanks for your interest in this! The upgrade guide currently lives in the pubgrub-rs/guide repo, in a pull request I did not finish. https://github.com/pubgrub-rs/guide/pull/6

You might have to coordinate with @Eh2406 and @charliermarsh who started reading that guide and leaving some comments.

I'm not currently working on the guide so no need to coordinate with me. I'm happy to answer questions though.

Michaelin007 commented 8 months ago

Hi @mpizenberg noted. Thanks

Eh2406 commented 8 months ago

Let's focus on making the change here. We can deal with updating the guide once the code has been changed.