[Hackage] #191: Hackage should check for common QA problems in
ghc-options
Hackage
trac at galois.com
Tue Jan 15 20:11:25 EST 2008
#191: Hackage should check for common QA problems in ghc-options
--------------------------------+-------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: HackageDB website | Version: 1.2.2.0
Severity: normal | Resolution:
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: 6.8.1 | Platform: Linux
--------------------------------+-------------------------------------------
Comment (by duncan):
Yes it is a lib issue. The code to do these checks should be in the
library and used in hackagedb and cabal-install.
However I think the interpretation of some of the checks should be
different in the hackage context than in a private build context. So
something that might be a warning in cabal locally, like a missing build-
type should be a fatal error for hackagedb.
Perhaps we should improve sanityCheckPackage or add an extra
qaCheckPackage that gives enough info for hackage and cabal to react
differently.
That one about version number parsing should be integrated into the cabal
lib. It's ticket 194#.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/191#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list