cabal-debian-5.2.5: Create a Debianization for a Cabal package
Safe HaskellSafe-Inferred
LanguageHaskell2010

Debian.Debianize.DebInfo

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

Instances details
Data DebInfo Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 :: forall r r'. (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 # 
Instance details

Defined in Debian.Debianize.DebInfo

Canonical DebInfo Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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

Instances details
Data Atom Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 :: forall r r'. (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 #

Show Atom Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Methods

showsPrec :: Int -> Atom -> ShowS #

show :: Atom -> String #

showList :: [Atom] -> ShowS #

Eq Atom Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Methods

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

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

Ord Atom Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 #

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

Instances details
Data Site Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 :: forall r r'. (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 #

Read Site Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Show Site Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Methods

showsPrec :: Int -> Site -> ShowS #

show :: Site -> String #

showList :: [Site] -> ShowS #

Eq Site Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Methods

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

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

Ord Site Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 #

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

Instances details
Data Server Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 :: forall r r'. (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 #

Read Server Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Show Server Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Eq Server Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Methods

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

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

Ord Server Source # 
Instance details

Defined in Debian.Debianize.DebInfo

data InstallFile Source #

Constructors

InstallFile 

Fields

Instances

Instances details
Data InstallFile Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 :: forall r r'. (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 #

Read InstallFile Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Show InstallFile Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Eq InstallFile Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Ord InstallFile Source # 
Instance details

Defined in Debian.Debianize.DebInfo

data TestsStatus Source #

Instances

Instances details
Data TestsStatus Source # 
Instance details

Defined in Debian.Debianize.DebInfo

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 :: forall r r'. (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 # 
Instance details

Defined in Debian.Debianize.DebInfo

Eq TestsStatus Source # 
Instance details

Defined in Debian.Debianize.DebInfo

Lenses

Atom builders

DebInfo Builder