ocaml / ocaml/dune

Add support for version comparison

Open
#1,071 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
OCaml
Stars
1.9k
Forks
500
Avg merge
15h 17m
Merged PRs (30d)
287

Description

To get rid of -skip-versions, we must extend the boolean language to allow for version comparisions. Operators like ver=, ver>=, etc. would have to be added to blang. Opam already has such version comparing code, so all we need to do is to vendor the appropriate opam library (once it becomes available) to have the same version comparison mechanism.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the blang boolean-language implementation and the handling of -skip-versions. Check whether the referenced opam version-comparison library is available for vendoring and how its interface fits the project. Done means version comparison operators such as ver= and ver>= are supported so -skip-versions is no longer needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.