[haskell-platform] #149: No Haddock index for global installs

haskell-platform haskell-platform at projects.haskell.org
Sun Dec 5 21:00:42 EST 2010


#149: No Haddock index for global installs
---------------------+------------------------------------------------------
 Reporter:  Orphi    |        Owner:  DavidWaern
     Type:  defect   |       Status:  new       
 Priority:  major    |    Milestone:            
Component:  haddock  |   Resolution:            
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by MtnViewMark):

 This is a hard one for several reasons:

 1) The logic for doing a rebuild of the haddock index is in the cabal
 executable (from the cabal-install package, not the library from Cabal).
 This logic is a bit tricky and hard to recreate by hand. Cabal doesn't
 give a command to invoke it directly. I have some shell scripts that
 recreate it more or less. I think this logic should be moved to haddock.

 2) There are really two haddock indexes that should be updated: a) The
 --global index (assuming there is one) that only includes the packages
 installed --global. b) The user's local index, since even though their
 packages didn't change, their index usually includes all the --global
 packages. (a) has the issue that it probably requires sudo privileges. (b)
 leaves other users' in need of an update.

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/149#comment:1>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list