[Hackage] #184: cabal-install should report build results to hackage server

Hackage trac at galois.com
Tue Jun 10 07:42:01 EDT 2008


#184: cabal-install should report build results to hackage server
---------------------------------+------------------------------------------
  Reporter:  duncan              |        Owner:                 
      Type:  enhancement         |       Status:  reopened       
  Priority:  high                |    Milestone:                 
 Component:  cabal-install tool  |      Version:  1.2.2.0        
  Severity:  normal              |   Resolution:                 
  Keywords:                      |   Difficulty:  project(> week)
Ghcversion:  6.4.2               |     Platform:  Linux          
---------------------------------+------------------------------------------
Comment (by duncan):

 Replying to [comment:1 duncan]:
 > There are various sub-tasks:
 >
 >  * Make cabal install not fail overall just because one package fails.
 There should be a mode to carry on and build all remaining packages that
 did not depend on the failed package. This requires keeping a full dep
 graph while installing, not just a linear list of packages.
 >  * Define a build report data type
 >  * Generate a build report for each
 >  * Collect build reports in a local file

 These are all now done. Build reports are logged into
 `~/.cabal/packages/$server/build-reports.log`.

 >  * Upload build reports to hackage at appropriate points. Perhaps new
 reports should be sent at the same that the package index or tarballs are
 downloaded.
 >  * Implement server side script to allow reports to be uploaded. Have to
 decide where and how reports are stored. Obvious choice is a log file per
 package-version. Or some other kind of data base and index. The
 considerations here are in keeping the reports anonymous and what queries
 we will want to run on the reports.
 >  * Implement the statistical analysis necessary to distill the reports
 into useful information per-package. Present this info on each package
 page.

 These are the remaining tasks.

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


More information about the cabal-devel mailing list