hackage-mirror-0.1.1.1: Simple mirroring utility for Hackage

Copyright(c) FPComplete.com, 2015
LicenseMIT
MaintainerTim Dysinger <tim@fpcomplete.com>
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Hackage.Mirror

Description

This module will help you create a mirror of Hackage on your own server or S3 bucket. An S3 bucket can be a cost effective way of serving a hackage mirror.

Synopsis

Documentation

data Options Source

Options to pass to mirrorHackage

Constructors

Options 

Fields

verbose :: Bool

Verbose Output?

rebuild :: Bool

Rebuild Mirror?

mirrorFrom :: String

Hackage Source URL eg: https://hackage.haskell.org

mirrorTo :: String

Mirror Destination URL eg: s3://my-hackage-mirror-bucket

s3AccessKey :: String

Amazon ACCESS_KEY_ID for S3

s3SecretKey :: String

Amazon SECRET_ACCESS_KEY for S3

mirrorHackage :: (MonadMask m, MonadIO m, MonadLogger m, MonadActive m, MonadBaseControl IO m) => Options -> m () Source

Mirror Hackage using the supplied Options.