[Hackage] #180: configure should warn if a declared licence file is missing
#180: configure should warn if a declared licence file is missing ---------------------+------------------------------------------------------ Reporter: duncan | Owner: Type: defect | Status: new Priority: low | Milestone: Component: Cabal | Version: 1.2.2.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.4.2 Platform: Linux | ---------------------+------------------------------------------------------ There are a few packages around which declare {{{ license-file: LICENSE }}} but then that LICENSE file actually does not exist. Currently we do not discover this until we try and install at which point we get the unhelpful error: {{{ setup: LICENCE: copyFile: does not exist (No such file or directory) }}} It would be much more helpful to users and developers alike if we warned in the configure step if the file was missing. This is partly a transitional issue, since older versions of Cabal did not install license files at all, so it never noticed. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/180> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#180: configure should warn if a declared licence file is missing ----------------------------+----------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.2.0 Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.4.2 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * priority: low => normal * difficulty: normal => easy (<4 hours) * platform: Linux => * milestone: => Cabal-1.4 -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/180#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#180: configure should warn if a declared licence file is missing ----------------------------+----------------------------------------------- Reporter: duncan | Owner: byorgey@gmail.com Type: defect | Status: new Priority: normal | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.2.0 Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.4.2 | Platform: ----------------------------+----------------------------------------------- Changes (by guest): * owner: => byorgey@gmail.com -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/180#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#180: configure should warn if a declared licence file is missing ----------------------------+----------------------------------------------- Reporter: duncan | Owner: byorgey@gmail.com Type: defect | Status: closed Priority: normal | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.2.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: easy (<4 hours) Ghcversion: 6.4.2 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Fixed with {{{ Sun Jan 27 03:10:33 GMT 2008 Brent Yorgey <byorgey@gmail.com> * PackageDescription.hs: add check for existence of license file Added a check for the existence of the license file (if one is specified in a license-file: field) during description file sanity checking. If a license is specified but does not exist, a warning is generated. This patch resolves issue #180. }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/180#comment:3> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage