Ticket #298 (new enhancement)

Opened 6 months ago

Last modified 6 months ago

Local build logs

Reported by: guest Assigned to:
Priority: normal Milestone:
Component: cabal-install tool Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: very easy (<1 hour)
GHC Version: 6.8.2 Platform:

Description

As a user of cabal-install, I would like build logs which are organized slightly differently than the logs which are to be used for reporting back to hackage. In particular:

  • The local build log should have accurate timestamps; for anonymity purposes the reporting logs should not have timestamps.
  • The local build log should not partition logs per-server.
  • The local build log should also track things installed from source using cabal-install which may have been obtained somewhere other than a hackage server.

Since the different types of logs have different purposes, it makes sense to add separate local logging capabilities (thus duplicating some information) rather than trying to shoehorn both purposes into the same log format.

A simple way to start would be to copy Hackage/Reporting.hs to Hackage/Logging.hs and tweak. Later, things could be refactored to pull out common code.

Change History

06/19/08 16:34:24 changed by duncan

  • difficulty changed from easy (<4 hours) to very easy (<1 hour).

Half done. The rest is really easy. Just add timestamps and whatever else we think is useful.

Fri Jun 20 00:33:41 BST 2008  Duncan Coutts <duncan@haskell.org>
  * Add initial build logging, based on reporting code