Wacky version bounds reported from `cabal info`
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
```
$ /opt/cabal/2.0/bin/cabal info rcu
* rcu (programs and library)
Synopsis: Read-Copy-Update for Haskell
Versions available: 0, 0.1, 0.2
Versions installed: [ Not installed ]
Homepage: http://github.com/ekmett/rcu/
Bug reports: http://github.com/ekmett/rcu/issues
Description: Read-Copy-Update for Haskell
Category: Data
License: BSD3
Author: Ted Cooper and Edward A. Kmett
Maintainer: Edward A. Kmett , Ted Cooper
Source repo: git://github.com/ekmett/rcu.git
Executables: MoveStringSTM, MoveStringQSBR, MoveStringGC
Flags: test-doctests, test-hlint, unstable, measure-synchronize
Dependencies: atomic-primops >=0.8, base >=4.8 && <5, ghc-prim >=0.3,
parallel ==3.2.*, primitive >=0.6,
transformers >=0.4 && <0.6, stm >=2.4.4 && <2.5,
transformers -any, rcu -any, base -any, transformers -any,
rcu -any, base -any, transformers -any, rcu -any, base -any,
hlint >=1.7, base -any, parallel -any,
doctest >=0.11.1 && <0.12, base >=4.8,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, time >=1.5.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, time >=1.5.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, time >=1.5.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, time >=1.5.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers >=0.4 && <0.6, rdtsc >=1.3.0.1, rcu -any,
primitive >=0.6, optparse-applicative >=0.11, ghc-prim >=0.3,
deepseq >=1.4.1, containers >=0.5, base >=4.8 && <5,
transformers -any, rcu -any, primitive -any, ghc-prim -any,
criterion >=1.1, base -any
Cached: Yes
Modules:
Control.Concurrent.RCU.Class
Control.Concurrent.RCU.GC
Control.Concurrent.RCU.GC.Internal
Control.Concurrent.RCU.QSBR
Control.Concurrent.RCU.QSBR.Internal
Control.Concurrent.RCU.STM
Control.Concurrent.RCU.STM.Internal
```
What's with all of the duplicate version bounds?
Contributor guide
Research direction
Start by reproducing the issue with `cabal info rcu`, then trace how dependency version bounds are collected and rendered by the `cabal info` command. Done means the output no longer repeats the same dependency bounds unnecessarily while preserving the package information shown in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100