[Hackage] #849: [PATCH] Store licenses in text files instead of code.

Hackage cvs-ghc at haskell.org
Sat Jun 18 20:46:13 CEST 2011


#849: [PATCH] Store licenses in text files instead of code.
---------------------------------+------------------------------------------
  Reporter:  refold              |        Owner:      
      Type:  enhancement         |       Status:  new 
  Priority:  normal              |    Milestone:      
 Component:  cabal-install tool  |      Version:  HEAD
  Severity:  normal              |     Keywords:      
Difficulty:  unknown             |   Ghcversion:      
  Platform:                      |  
---------------------------------+------------------------------------------

Comment(by duncan):

 I'm inclined to keep it the way it is. It has the advantage that the cabal
 binary has no data files so you can move or distribute a cabal executable
 just on it's own. This is particularly handy for windows where we can (and
 do) distribute a cabal.exe just as-is.

 I don't like the fact that they're embedded in the source code either
 though. Perhaps we can use a resource mechanism. Windows certainly
 supports that and we can probably do something similar on unix by adding
 things into the elf file. OSX has its bundles stuff, or could do the same
 trick as on ELF systems.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/849#comment:4>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list