[Hackage] #451: dependency not listed on the hackageDB page

#451: dependency not listed on the hackageDB page --------------------------------+------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: hackageDB website | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: | --------------------------------+------------------------------------------- The haskeline-0.6 package uses the terminfo package by default on POSIX systems. However, the hackageDB page for haskeline does not list terminfo as a possible dependency: http://hackage.haskell.org/cgi-bin/hackage- scripts/package/haskeline-0.5.0.1 -Judah -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/451 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#451: dependency not listed on the hackageDB page --------------------------------+------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: hackageDB website | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: --------------------------------+------------------------------------------- Old description:
The haskeline-0.6 package uses the terminfo package by default on POSIX systems. However, the hackageDB page for haskeline does not list terminfo as a possible dependency:
http://hackage.haskell.org/cgi-bin/hackage- scripts/package/haskeline-0.5.0.1
-Judah
New description: The haskeline-0.6 package uses the terminfo package by default on POSIX systems. However, the hackageDB page for haskeline does not list terminfo as a possible dependency: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haskeline-0.6 -Judah -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/451#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#451: dependency not listed on the hackageDB page --------------------------------+------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: hackageDB website | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Changes (by guest): * ghcversion: 6.8.3 => 6.10.1 Comment: The terminfo dep is declared only inside a conditional: {{{ if flag(terminfo) { Build-depends: terminfo==0.3.* Other-modules: System.Console.Haskeline.Backend.Terminfo cpp-options: -DTERMINFO } }}} Which is itself inside a conditional. It does seem to 'see' inside the first conditional (the build-depends lists the unix deps correctly), but not into the second. Since the terminfo flag defaults to True, a pity there doesn't seem to be any work around - like setting all the terminfo items and then unsetting them in a (!terminfo) conditional. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/451#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#451: dependency not listed on the hackageDB page --------------------------------+------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: hackageDB website | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Comment (by ross): It's not the nesting, but the fact that there's no else clause with dependencies here. To build this package you need either Win32 or unix, but you can build it without terminfo, even on unix. Optional dependencies are omitted from the display, without taking account of default values of flags. It's not entirely clear that this is wrong. Certainly we want to consider both values of other flags, such as splitBase. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/451#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#451: dependency not listed on the hackageDB page --------------------------------+------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: hackageDB website | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Comment (by SamB):
Optional dependencies are omitted from the display, without taking account of default values of flags. It's not entirely clear that this is wrong.
They should be listed ''somehow''. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/451#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#451: dependency not listed on the hackageDB page --------------------------------+------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: hackageDB website | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: hard (< 1 day) Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Changes (by duncan): * difficulty: normal => hard (< 1 day) Comment: See also #385. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/451#comment:5 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#451: dependency not listed on the hackageDB page --------------------------------+------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: hackageDB website | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: hard (< 1 day) Ghcversion: 6.10.1 | Platform: --------------------------------+------------------------------------------- Changes (by ross): * type: defect => enhancement -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/451#comment:6 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage