gren-lang / gren-lang/compiler
`package validate` should catch dependencies with too wide constraints
Open
Nobody has claimed this yet.
bug
help wanted
- Dominant language
- Haskell
- Stars
- 503
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
package validate doesn't report dependencies that spans multiple major versions. A dependency constraint like this will pass package validate
"gren-lang/core": "1.0.0 <= v < 3.0.0"
Even though such a constraint will fail when the package is downloaded as part of the compile step
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the package validate command and trace how dependency constraints are checked before the compile step. Reproduce the gren-lang/core constraint spanning versions 1.0.0 through 3.0.0; done means validation reports it instead of allowing a later download failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100