Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Things that seem like they could be clients of this library, but are instead included as part of the library.
Synopsis
- tightDependencyFixup :: Monad m => [(BinPkgName, BinPkgName)] -> BinPkgName -> DebianT m ()
- expandWebsite :: Monad m => CabalT m ()
- doWebsite :: Monad m => BinPkgName -> Site -> CabalT m ()
- expandServer :: Monad m => CabalT m ()
- doServer :: Monad m => BinPkgName -> Server -> CabalT m ()
- expandBackups :: Monad m => CabalT m ()
- doBackups :: Monad m => BinPkgName -> String -> CabalT m ()
- doExecutable :: Monad m => BinPkgName -> InstallFile -> CabalT m ()
- oldClckwrksSiteFlags :: Site -> [String]
- oldClckwrksServerFlags :: Server -> [String]
- siteAtoms :: PackageDescription -> BinPkgName -> Site -> CabalInfo -> CabalInfo
- logrotate :: MonadState CabalInfo m => BinPkgName -> m ()
- serverAtoms :: PackageDescription -> BinPkgName -> Server -> Bool -> CabalInfo -> CabalInfo
- backupAtoms :: BinPkgName -> String -> CabalInfo -> CabalInfo
- execAtoms :: BinPkgName -> InstallFile -> CabalInfo -> CabalInfo
Documentation
tightDependencyFixup :: Monad m => [(BinPkgName, BinPkgName)] -> BinPkgName -> DebianT m () Source #
Create equals dependencies. For each pair (A, B), use dpkg-query to find out B's version number, version B. Then write a rule into P's .substvar that makes P require that that exact version of A, and another that makes P conflict with any older version of A.
expandWebsite :: Monad m => CabalT m () Source #
doWebsite :: Monad m => BinPkgName -> Site -> CabalT m () Source #
Add a debian binary package to the debianization containing a cabal executable file set up to be a web site.
expandServer :: Monad m => CabalT m () Source #
doServer :: Monad m => BinPkgName -> Server -> CabalT m () Source #
Add a debian binary package to the debianization containing a cabal executable file set up to be a server.
expandBackups :: Monad m => CabalT m () Source #
doBackups :: Monad m => BinPkgName -> String -> CabalT m () Source #
Add a debian binary package to the debianization containing a cabal executable file set up to be a backup script.
doExecutable :: Monad m => BinPkgName -> InstallFile -> CabalT m () Source #
Add a debian binary package to the debianization containing a cabal executable file.
oldClckwrksSiteFlags :: Site -> [String] Source #
oldClckwrksServerFlags :: Server -> [String] Source #
siteAtoms :: PackageDescription -> BinPkgName -> Site -> CabalInfo -> CabalInfo Source #
logrotate :: MonadState CabalInfo m => BinPkgName -> m () Source #
Install configuration files to do log rotation. This does not work well with the haskell logging library, so it is no longer called in siteAtoms.
serverAtoms :: PackageDescription -> BinPkgName -> Server -> Bool -> CabalInfo -> CabalInfo Source #
backupAtoms :: BinPkgName -> String -> CabalInfo -> CabalInfo Source #
execAtoms :: BinPkgName -> InstallFile -> CabalInfo -> CabalInfo Source #