pagure-hook-receiver-0.1.0.0: Receive hooks from pagure and do things with them

Copyright(C) 2015 Ricky Elrod
LicenseBSD2 (see LICENSE file)
MaintainerRicky Elrod <relrod@redhat.com>
Stabilityexperimental
Portabilityghc
Safe HaskellNone
LanguageHaskell2010

Web.Pagure.HookReceiver.StandardHooks

Description

Common hooks for pagure updates

Synopsis

Documentation

cloneRepo :: MonadIO m => String -> m () Source

githubMirror :: MonadIO m => String -> String -> String -> m () Source

Clones the repo if necessary, using cloneRepo, then adds a github remote and pushes to it (using --all so that tags and branches get mirrored as well).