Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
- data DebInfo
- data Atom
- = Link BinPkgName FilePath FilePath
- | Install BinPkgName FilePath FilePath
- | InstallTo BinPkgName FilePath FilePath
- | InstallData BinPkgName FilePath FilePath
- | File BinPkgName FilePath Text
- | InstallCabalExec BinPkgName String FilePath
- | InstallCabalExecTo BinPkgName String FilePath
- | InstallDir BinPkgName FilePath
- data Site = Site {}
- data Server = Server {
- hostname :: String
- port :: Int
- headerMessage :: String
- retry :: String
- serverFlags :: [String]
- installFile :: InstallFile
- data InstallFile = InstallFile {}
- data TestsStatus
- flags :: Lens' DebInfo Flags
- warning :: Lens' DebInfo (Set Text)
- sourceFormat :: Lens' DebInfo SourceFormat
- watch :: Lens' DebInfo (Maybe Text)
- rulesHead :: Lens' DebInfo (Maybe Text)
- rulesSettings :: Lens' DebInfo [Text]
- rulesIncludes :: Lens' DebInfo [Text]
- rulesFragments :: Lens' DebInfo (Set Text)
- copyright :: Lens' DebInfo (Maybe CopyrightDescription)
- control :: Lens' DebInfo SourceDebDescription
- intermediateFiles :: Lens' DebInfo (Set (FilePath, Text))
- compat :: Lens' DebInfo (Maybe Int)
- changelog :: Lens' DebInfo (Maybe ChangeLog)
- installInit :: Lens' DebInfo (Map BinPkgName Text)
- logrotateStanza :: Lens' DebInfo (Map BinPkgName (Set Text))
- postInst :: Lens' DebInfo (Map BinPkgName Text)
- postRm :: Lens' DebInfo (Map BinPkgName Text)
- preInst :: Lens' DebInfo (Map BinPkgName Text)
- preRm :: Lens' DebInfo (Map BinPkgName Text)
- atomSet :: Lens' DebInfo (Set Atom)
- noDocumentationLibrary :: Lens' DebInfo Bool
- noProfilingLibrary :: Lens' DebInfo Bool
- omitProfVersionDeps :: Lens' DebInfo Bool
- omitLTDeps :: Lens' DebInfo Bool
- buildDir :: Lens' DebInfo (Maybe FilePath)
- sourcePackageName :: Lens' DebInfo (Maybe SrcPkgName)
- overrideDebianNameBase :: Lens' DebInfo (Maybe DebBase)
- revision :: Lens' DebInfo (Maybe String)
- debVersion :: Lens' DebInfo (Maybe DebianVersion)
- maintainerOption :: Lens' DebInfo (Maybe NameAddr)
- uploadersOption :: Lens' DebInfo [NameAddr]
- utilsPackageNameBase :: Lens' DebInfo (Maybe String)
- xDescriptionText :: Lens' DebInfo (Maybe Text)
- comments :: Lens' DebInfo (Maybe [[Text]])
- missingDependencies :: Lens' DebInfo (Set BinPkgName)
- extraLibMap :: Lens' DebInfo (Map String Relations)
- execMap :: Lens' DebInfo (Map String Relations)
- apacheSite :: Lens' DebInfo (Map BinPkgName (String, FilePath, Text))
- sourceArchitectures :: Lens' DebInfo (Maybe PackageArchitectures)
- binaryArchitectures :: Lens' DebInfo (Map BinPkgName PackageArchitectures)
- sourcePriority :: Lens' DebInfo (Maybe PackagePriority)
- binaryPriorities :: Lens' DebInfo (Map BinPkgName PackagePriority)
- sourceSection :: Lens' DebInfo (Maybe Section)
- binarySections :: Lens' DebInfo (Map BinPkgName Section)
- executable :: Lens' DebInfo (Map BinPkgName InstallFile)
- serverInfo :: Lens' DebInfo (Map BinPkgName Server)
- website :: Lens' DebInfo (Map BinPkgName Site)
- backups :: Lens' DebInfo (Map BinPkgName String)
- extraDevDeps :: Lens' DebInfo Relations
- official :: Lens' DebInfo Bool
- testsStatus :: Lens' DebInfo TestsStatus
- allowDebianSelfBuildDeps :: Lens' DebInfo Bool
- binaryDebDescription :: BinPkgName -> Lens' DebInfo BinaryDebDescription
- link :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT DebInfo m ()
- install :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT DebInfo m ()
- installTo :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT DebInfo m ()
- installData :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT DebInfo m ()
- file :: Monad m => BinPkgName -> FilePath -> Text -> StateT DebInfo m ()
- installCabalExec :: Monad m => BinPkgName -> String -> FilePath -> StateT DebInfo m ()
- installCabalExecTo :: Monad m => BinPkgName -> String -> FilePath -> StateT DebInfo m ()
- installDir :: Monad m => BinPkgName -> FilePath -> StateT DebInfo m ()
- makeDebInfo :: Flags -> DebInfo
Types
Information required to represent a non-cabal debianization.
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 |
Information about the web site we are packaging.
Information about the server we are packaging.
Server | |
|
data TestsStatus Source #
Lenses
installInit :: Lens' DebInfo (Map BinPkgName Text) Source #
logrotateStanza :: Lens' DebInfo (Map BinPkgName (Set Text)) Source #
apacheSite :: Lens' DebInfo (Map BinPkgName (String, FilePath, Text)) Source #
serverInfo :: Lens' DebInfo (Map BinPkgName Server) Source #
binaryDebDescription :: BinPkgName -> Lens' DebInfo BinaryDebDescription Source #
Lens to look up the binary deb description by name and create it if absent. http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Package
Atom builders
installData :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT DebInfo m () Source #
installCabalExec :: Monad m => BinPkgName -> String -> FilePath -> StateT DebInfo m () Source #
installCabalExecTo :: Monad m => BinPkgName -> String -> FilePath -> StateT DebInfo m () Source #
installDir :: Monad m => BinPkgName -> FilePath -> StateT DebInfo m () Source #
DebInfo Builder
makeDebInfo :: Flags -> DebInfo Source #