[Hackage] #387: `cabal check` does not complain about incorrect `Cabal-Version` field

#387: `cabal check` does not complain about incorrect `Cabal-Version` field ----------------------------+----------------------------------------------- Reporter: Deewiant | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.10.1 Platform: | ----------------------------+----------------------------------------------- The validity of the `Cabal-Version` field is not verified in any way, making it all too easy to accidentally use a feature which isn't actually present in all the versions of Cabal the field allows. Sounds like something `cabal check` should do. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/387 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#387: `cabal check` does not complain about incorrect `Cabal-Version` field ----------------------------+----------------------------------------------- Reporter: Deewiant | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Cabal-1.6 Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * milestone: => Cabal-1.6 Comment: In particular Cabal-1.6 added new syntax for: * version ranges `foo == 1.0.*` * source control repos * wildcards in the `data-files` and `extra-source-files` fields. * and we should allow new licenses, requiring cabal >= 1.4 The only tricky one to detect at the moment is the version ranges as they are not reflected in the abstract syntax tree. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/387#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#387: `cabal check` does not complain about incorrect `Cabal-Version` field --------------------------------+------------------------------------------- Reporter: Deewiant | Owner: ross@soi.city.ac.uk Type: enhancement | Status: new Priority: normal | Milestone: HackageDB Component: hackageDB website | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Changes (by duncan): * owner: => ross@soi.city.ac.uk * milestone: Cabal-1.6 => HackageDB -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/387#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#387: `cabal check` does not complain about incorrect `Cabal-Version` field --------------------------------+------------------------------------------- Reporter: Deewiant | Owner: ross@soi.city.ac.uk Type: enhancement | Status: closed Priority: normal | Milestone: HackageDB Component: hackageDB website | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Changes (by ross@soi.city.ac.uk): * status: new => closed * resolution: => fixed Comment: recompiled with Cabal-1.7 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/387#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#387: `cabal check` does not complain about incorrect `Cabal-Version` field --------------------------------+------------------------------------------- Reporter: Deewiant | Owner: ross@soi.city.ac.uk Type: enhancement | Status: closed Priority: normal | Milestone: HackageDB Component: hackageDB website | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Comment (by duncan): Thanks Ross! -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/387#comment:5 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage