Reject packages that don't specify an upper bound
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
We're seeing an increased number of breakages due to packages not adding upper bounds (see e.g. https://github.com/haskell/HTTP/issues/55). `cabal upload` ought to reject such packages (or at least give a strong warning). This will not fix the packages that are already uploaded without bounds*, but at least this will help prevent the issue in the future.
*@dcoutts is working on post facto .cabal file editing to help with that problem.
Contributor guide
Research direction
Start by locating the cabal upload command and its package validation path, then inspect any related tests. Define how missing upper bounds are detected and whether the result is rejection or a strong warning; done means packages without upper bounds are handled consistently before upload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100