stackage-curator-0.15.0.0: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.ServerBundle

Description

Create a bundle to be uploaded to Stackage Server.

Synopsis

Documentation

serverBundle Source #

Arguments

:: EpochTime 
-> Text

title

-> Text

slug

-> BuildPlan 
-> LByteString 

epochTime :: IO EpochTime Source #

Get current time

bpAllPackages :: BuildPlan -> Map PackageName Version Source #

All package/versions in a build plan, including core packages.

Note that this may include packages not available on Hackage.

docsListing Source #

Arguments

:: BuildPlan 
-> FilePath

docs directory

-> IO DocMap 

createBundleV2 :: CreateBundleV2 -> IO () Source #

Create a V2 bundle, which contains the build plan, metadata, docs, and doc map.

writeIndexStyle Source #

Arguments

:: Maybe Text

snapshot id

-> FilePath

docs dir

-> IO [String] 

type DocMap = Map Text PackageDocs Source #

Package name is key