Skip to content

Public API for PubGrub-like Version Ranges #1143

@notatallshaw

Description

@notatallshaw

PubGrub relies heavily on a concept called Version Ranges, these are conceptually the same as intervals. See the original concept: https://github.com/dart-lang/pub/blob/master/doc/solver.md#version-ranges. And pubgrub-rs's API: https://docs.rs/version-ranges/latest/version_ranges/struct.Ranges.html

I am first working on an internal representation of intervals in #1119 and #1120, but then I would like to provide a minimal API that would make it easy to use packaging in a PubGrub-like algorithm.

I am working on a PoC PubGrub algorithm that can work with packaging to test out what a minimal API needs to look like.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions