haskell / haskell/cabal

Adding support for revision pinning in dependency version

Open
#7,833 22 comments 1 reaction 0 assignees View on GitHub
re: constraint re: project-file re: pvp re: stackage type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

In order to make another step towards more reproducible build plans, @hdgarrood, @tfausak and I talked about the possibility of specifying version strings like:

```
== 2.0.0.0-1
```
where the `-1` specifies a revision.

This asks some questions like "What should be the behaviour when the package repo doesn't have such a revision?", and I think this also questions the way we declare dependencies nowadays (but that's for another time).

cc @emilypi

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the proposed dependency syntax `== 2.0.0.0-1` and the unresolved questions in this issue, especially behavior when a package repository lacks the requested revision. The issue names no files, tests, or entry points, so completion criteria would need to be established before implementation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.