[Hackage] #889: Add option to list recursive dependencies of a package along with their licenses

#889: Add option to list recursive dependencies of a package along with their licenses ---------------------------------+------------------------------------------ Reporter: joeyadams | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ It should be possible to list all of the dependencies of a package, including their licenses. This would be useful for: * Developers writing proprietary applications. * Developers who don't want their liberally-licensed libraries to be "upgraded" to the GPL or similar by subtle dependencies. Attached is a simple patch that makes cabal-install list this information when the verbosity level is 2 or higher. Sample usage: {{{ $ cabal install --verbose=2 --dry-run gnutls Reading available packages... Resolving dependencies... base BSD3 bytestring BSD3 ffi BSD3 ghc-prim BSD3 gnutls GPL (Just (Version {versionBranch = [3], versionTags = []})) integer-gmp BSD3 monads-tf BSD3 rts BSD3 transformers BSD3 In order, the following would be installed: monads-tf-0.1.0.0 (new package) gnutls-0.1 (new package) }}} This is a quick hack, as I am not familiar with the Cabal codebase. This should probably be wrapped as a {{{--list-licenses}}} command line switch. Pretty-printing licenses would be a plus. I am already finding this feature useful, and hope others will too. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/889 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#889: Add option to list recursive dependencies of a package along with their licenses ---------------------------------+------------------------------------------ Reporter: joeyadams | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Comment(by elga): * [http://www.releve-identite-operateur.fr/rio-simyo.html simyo] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/889#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#889: Add option to list recursive dependencies of a package along with their licenses ---------------------------------+------------------------------------------ Reporter: joeyadams | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Comment(by edouard): le code Rio, ou code de Releve d'Identite Operateur, est un code a 12 caracteres fourni par son operateur de telephonie mobile vous permettant de conserver votre numero de telephone lorsque vous changez d'operateur. [http://www.releve-identite-operateur.fr/rio-bouygues.html rio bouygues] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/889#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#889: Add option to list recursive dependencies of a package along with their licenses ---------------------------------+------------------------------------------ Reporter: joeyadams | Owner: Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.16 Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Changes (by kosmikus): * milestone: => cabal-install-0.16 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/889#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#889: Add option to list recursive dependencies of a package along with their licenses ---------------------------------+------------------------------------------ Reporter: joeyadams | Owner: Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.16 Component: cabal-install tool | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Comment(by kosmikus): Vaguely related to #539. (Both are about getting more info about the overall dependency graph, but admittedly in quite different ways.) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/889#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage