cabal-debian-4.36.1: Create a Debianization for a Cabal package

Safe HaskellNone
LanguageHaskell2010

Debian.Debianize.DebInfo

Contents

Description

This module holds a long list of lenses that access the Atoms record, the record that holds the input data from which the debianization is to be constructed.

Synopsis

Types

data DebInfo Source #

Information required to represent a non-cabal debianization.

Instances

Data DebInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DebInfo -> c DebInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DebInfo #

toConstr :: DebInfo -> Constr #

dataTypeOf :: DebInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DebInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DebInfo) #

gmapT :: (forall b. Data b => b -> b) -> DebInfo -> DebInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DebInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DebInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> DebInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DebInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DebInfo -> m DebInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DebInfo -> m DebInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DebInfo -> m DebInfo #

Show DebInfo Source # 
Canonical DebInfo Source # 

data Atom Source #

Constructors

Link BinPkgName FilePath FilePath

Create a symbolic link in the binary package

Install BinPkgName FilePath FilePath

Install a build file into the binary package

InstallTo BinPkgName FilePath FilePath

Install a build file into the binary package at an exact location

InstallData BinPkgName FilePath FilePath

DHInstallTo somewhere relative to DataDir (see above)

File BinPkgName FilePath Text

Create a file with the given text at the given path

InstallCabalExec BinPkgName String FilePath

Install a cabal executable into the binary package

InstallCabalExecTo BinPkgName String FilePath

Install a cabal executable into the binary package at an exact location

InstallDir BinPkgName FilePath

Create a directory in the binary package

Instances

Eq Atom Source # 

Methods

(==) :: Atom -> Atom -> Bool #

(/=) :: Atom -> Atom -> Bool #

Data Atom Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Atom -> c Atom #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Atom #

toConstr :: Atom -> Constr #

dataTypeOf :: Atom -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Atom) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Atom) #

gmapT :: (forall b. Data b => b -> b) -> Atom -> Atom #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Atom -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Atom -> r #

gmapQ :: (forall d. Data d => d -> u) -> Atom -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Atom -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Atom -> m Atom #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Atom -> m Atom #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Atom -> m Atom #

Ord Atom Source # 

Methods

compare :: Atom -> Atom -> Ordering #

(<) :: Atom -> Atom -> Bool #

(<=) :: Atom -> Atom -> Bool #

(>) :: Atom -> Atom -> Bool #

(>=) :: Atom -> Atom -> Bool #

max :: Atom -> Atom -> Atom #

min :: Atom -> Atom -> Atom #

Show Atom Source # 

Methods

showsPrec :: Int -> Atom -> ShowS #

show :: Atom -> String #

showList :: [Atom] -> ShowS #

data Site Source #

Information about the web site we are packaging.

Constructors

Site 

Fields

  • domain :: String

    The domain name assigned to the server. An apache configuration will be generated to redirect requests from this domain to hostname:port

  • serverAdmin :: String

    Apache ServerAdmin parameter

  • server :: Server

    The hint to install the server job

Instances

Eq Site Source # 

Methods

(==) :: Site -> Site -> Bool #

(/=) :: Site -> Site -> Bool #

Data Site Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Site -> c Site #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Site #

toConstr :: Site -> Constr #

dataTypeOf :: Site -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Site) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Site) #

gmapT :: (forall b. Data b => b -> b) -> Site -> Site #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Site -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Site -> r #

gmapQ :: (forall d. Data d => d -> u) -> Site -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Site -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Site -> m Site #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Site -> m Site #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Site -> m Site #

Ord Site Source # 

Methods

compare :: Site -> Site -> Ordering #

(<) :: Site -> Site -> Bool #

(<=) :: Site -> Site -> Bool #

(>) :: Site -> Site -> Bool #

(>=) :: Site -> Site -> Bool #

max :: Site -> Site -> Site #

min :: Site -> Site -> Site #

Read Site Source # 
Show Site Source # 

Methods

showsPrec :: Int -> Site -> ShowS #

show :: Site -> String #

showList :: [Site] -> ShowS #

data Server Source #

Information about the server we are packaging.

Constructors

Server 

Fields

  • hostname :: String

    Host on which the server will run

  • port :: Int

    Port on which the server will run. Obviously, this must assign each and every server package to a different port.

  • headerMessage :: String

    A comment that will be inserted to explain how the file was generated

  • retry :: String

    start-stop-daemon --retry argument

  • serverFlags :: [String]

    Extra flags to pass to the server via the init script

  • installFile :: InstallFile

    The hint to install the server executable

Instances

Eq Server Source # 

Methods

(==) :: Server -> Server -> Bool #

(/=) :: Server -> Server -> Bool #

Data Server Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Server -> c Server #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Server #

toConstr :: Server -> Constr #

dataTypeOf :: Server -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Server) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Server) #

gmapT :: (forall b. Data b => b -> b) -> Server -> Server #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Server -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Server -> r #

gmapQ :: (forall d. Data d => d -> u) -> Server -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Server -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Server -> m Server #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Server -> m Server #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Server -> m Server #

Ord Server Source # 
Read Server Source # 
Show Server Source # 

data InstallFile Source #

Constructors

InstallFile 

Fields

Instances

Eq InstallFile Source # 
Data InstallFile Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstallFile -> c InstallFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstallFile #

toConstr :: InstallFile -> Constr #

dataTypeOf :: InstallFile -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstallFile) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstallFile) #

gmapT :: (forall b. Data b => b -> b) -> InstallFile -> InstallFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstallFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstallFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstallFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstallFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstallFile -> m InstallFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallFile -> m InstallFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstallFile -> m InstallFile #

Ord InstallFile Source # 
Read InstallFile Source # 
Show InstallFile Source # 

data TestsStatus Source #

Instances

Eq TestsStatus Source # 
Data TestsStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TestsStatus -> c TestsStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TestsStatus #

toConstr :: TestsStatus -> Constr #

dataTypeOf :: TestsStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TestsStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TestsStatus) #

gmapT :: (forall b. Data b => b -> b) -> TestsStatus -> TestsStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TestsStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TestsStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> TestsStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TestsStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TestsStatus -> m TestsStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TestsStatus -> m TestsStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TestsStatus -> m TestsStatus #

Show TestsStatus Source # 

Lenses

Atom builders

DebInfo Builder