cabal-install-3.12.1.0: The command-line interface for Cabal and Hackage.

Copyright | (c) David Waern 2008
License | BSD-like
Maintainer | david.waern@gmail.com
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell2010

Distribution.Client.BuildReports.Storage

Contents

- Storing and retrieving build reports
- `InstallPlan` support

Description

Anonymous build report data structure, printing and parsing

Synopsis

- storeAnonymous :: [(BuildReport, Maybe Repo)] -> IO ()
- storeLocal :: CompilerInfo -> [PathTemplate] -> [(BuildReport, Maybe Repo)] -> Platform -> IO ()
- fromInstallPlan :: Platform -> CompilerId -> InstallPlan -> BuildOutcomes -> [(BuildReport, Maybe Repo)]
- fromPlanningFailure :: Platform -> CompilerId -> [PackageId] -> FlagAssignment -> [(BuildReport, Maybe Repo)]

# Storing and retrieving build reports

storeAnonymous :: [(BuildReport, Maybe Repo)] -> IO () #

storeLocal :: CompilerInfo -> [PathTemplate] -> [(BuildReport, Maybe Repo)] -> Platform -> IO () #

# `InstallPlan` support

fromInstallPlan :: Platform -> CompilerId -> InstallPlan -> BuildOutcomes -> [(BuildReport, Maybe Repo)] #

fromPlanningFailure :: Platform -> CompilerId -> [PackageId] -> FlagAssignment -> [(BuildReport, Maybe Repo)] #