Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Create a Go (dep) constraint calculator #659

Closed
@sdboyer

Description

@sdboyer

https://semver.npmjs.com/ exists, and it's great. We should have an equivalent. Not because NIH or vanity, but because there are real differences in the ecosystems:

  1. We allow a diversity of constraint types - branches, non-semver tags, revisions
  2. There are subtle differences in how compatibility range operators (~, ^, etc.) work, especially with prereleases and below 1.0.0
  3. There's also cross-type matching, where e.g. different tags can match each other - or branches - if they happen to point at the same underlying immutable revision.

Gophers need a tool that tells them exactly how dep will behave, not how it probably sorta might. So, we need our own.

gps provides most of the facilities for doing this already (though it's not importable right now - #575). My back-of-the-envelope estimate is that the unique business logic in a backend server that does this would be about 200 LoC. Most of the work will be making a decent frontend.

If someone's interested in working on this, please indicate as much here, and we can flesh out requirements a little more.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions