#5992: Silence gen_contents_index for the common case.
------------------------------+---------------------------------------------
 Reporter:  td123             |          Owner:                  
     Type:  feature request   |         Status:  new             
 Priority:  normal            |      Component:  Documentation   
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 The line: echo $HADDOCK_ARGS

 From:
 https://github.com/ghc/ghc/blob/master/libraries/gen_contents_index#L53

 Was introduced in:
 https://github.com/ghc/ghc/commit/2ad79aaa1b87164a0191e8f980f57a9fa0b80e0a

 In archlinux (and other distros), gen_contents_index is run after
 installing a package using the distro's package manager to update the
 index file containing the list of libraries.

 As a result of the commit, the output when installing a package can get
 very verbose.

 Since the original intention of this change was to make it easier to debug
 crashes, I propose that there be a flag introduced into this script
 --verbose or --debug which would print out $HADDOCK_ARGS when specified so
 that the common case wouldn't include all the extra unneeded output.

 I am willing to write a patch for this, if this idea is accepted.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5992>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to