[Hackage] #298: Local build logs
Hackage
trac at galois.com
Thu Jun 19 13:47:12 EDT 2008
#298: Local build logs
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: normal | Keywords:
Difficulty: easy (<4 hours) | Ghcversion: 6.8.2
Platform: |
---------------------------------+------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/298>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list