Safe Haskell | None |
---|---|
Language | Haskell98 |
- verbosity :: Lens Atoms Int
- dryRun :: Lens Atoms Bool
- debAction :: Lens Atoms DebAction
- cabalFlagAssignments :: Lens Atoms (Set (FlagName, Bool))
- packageDescription :: Lens Atoms (Maybe PackageDescription)
- execMap :: Lens Atoms (Map String Relations)
- epochMap :: Lens Atoms (Map PackageName Int)
- missingDependencies :: Lens Atoms (Set BinPkgName)
- extraLibMap :: Lens Atoms (Map String Relations)
- debianNameMap :: Lens Atoms (Map PackageName VersionSplits)
- sourcePackageName :: Lens Atoms (Maybe SrcPkgName)
- overrideDebianNameBase :: Lens Atoms (Maybe DebBase)
- revision :: Lens Atoms (Maybe String)
- debVersion :: Lens Atoms (Maybe DebianVersion)
- debianMaintainer :: Lens Atoms (Maybe NameAddr)
- debianUploaders :: Lens Atoms [NameAddr]
- maintainerOption :: Lens Atoms (Maybe NameAddr)
- uploadersOption :: Lens Atoms [NameAddr]
- copyright :: Lens Atoms CopyrightDescription
- sourceArchitectures :: Lens Atoms (Maybe PackageArchitectures)
- sourcePriority :: Lens Atoms (Maybe PackagePriority)
- sourceSection :: Lens Atoms (Maybe Section)
- compat :: Lens Atoms (Maybe Int)
- sourceFormat :: Lens Atoms (Maybe SourceFormat)
- changelog :: Lens Atoms (Maybe ChangeLog)
- comments :: Lens Atoms (Maybe [[Text]])
- standardsVersion :: Lens Atoms (Maybe StandardsVersion)
- rulesHead :: Lens Atoms (Maybe Text)
- rulesSettings :: Lens Atoms [Text]
- rulesIncludes :: Lens Atoms [Text]
- rulesFragments :: Lens Atoms (Set Text)
- official :: Lens Atoms Bool
- noProfilingLibrary :: Lens Atoms Bool
- noDocumentationLibrary :: Lens Atoms Bool
- utilsPackageNameBase :: Lens Atoms (Maybe String)
- buildDir :: Lens Atoms (Set FilePath)
- watch :: Lens Atoms (Maybe Text)
- xDescription :: Lens Atoms (Maybe Text)
- omitProfVersionDeps :: Lens Atoms Bool
- omitLTDeps :: Lens Atoms Bool
- binaryArchitectures :: BinPkgName -> Lens Atoms (Maybe PackageArchitectures)
- executable :: Lens Atoms (Map BinPkgName InstallFile)
- serverInfo :: Lens Atoms (Map BinPkgName Server)
- website :: Lens Atoms (Map BinPkgName Site)
- backups :: Lens Atoms (Map BinPkgName String)
- apacheSite :: Lens Atoms (Map BinPkgName (String, FilePath, Text))
- extraDevDeps :: Lens Atoms Relations
- postInst :: Lens Atoms (Map BinPkgName Text)
- postRm :: Lens Atoms (Map BinPkgName Text)
- preInst :: Lens Atoms (Map BinPkgName Text)
- preRm :: Lens Atoms (Map BinPkgName Text)
- binaryPriority :: BinPkgName -> Lens Atoms (Maybe PackagePriority)
- binarySection :: BinPkgName -> Lens Atoms (Maybe Section)
- installInit :: Lens Atoms (Map BinPkgName Text)
- packageType :: BinPkgName -> Lens Atoms (Maybe PackageType)
- debianDescription :: BinPkgName -> Lens Atoms (Maybe Text)
- essential :: BinPkgName -> Lens Atoms (Maybe Bool)
- depends :: BinPkgName -> Lens Atoms Relations
- recommends :: BinPkgName -> Lens Atoms Relations
- suggests :: BinPkgName -> Lens Atoms Relations
- preDepends :: BinPkgName -> Lens Atoms Relations
- breaks :: BinPkgName -> Lens Atoms Relations
- conflicts :: BinPkgName -> Lens Atoms Relations
- provides :: BinPkgName -> Lens Atoms Relations
- replaces :: BinPkgName -> Lens Atoms Relations
- builtUsing :: BinPkgName -> Lens Atoms Relations
- link :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT Atoms m ()
- install :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT Atoms m ()
- installTo :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT Atoms m ()
- installData :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT Atoms m ()
- file :: Monad m => BinPkgName -> FilePath -> Text -> StateT Atoms m ()
- installCabalExec :: Monad m => BinPkgName -> String -> FilePath -> StateT Atoms m ()
- installCabalExecTo :: Monad m => BinPkgName -> String -> FilePath -> StateT Atoms m ()
- installDir :: Monad m => BinPkgName -> FilePath -> StateT Atoms m ()
- logrotateStanza :: Lens Atoms (Map BinPkgName (Set Text))
- flags :: Lens Atoms Flags
- validate :: Lens Atoms Bool
- warning :: Lens Atoms (Set Text)
- intermediateFiles :: Lens Atoms (Set (FilePath, Text))
- packageInfo :: Lens Atoms (Map PackageName PackageInfo)
- control :: Lens Atoms SourceDebDescription
- source :: Lens Atoms (Maybe SrcPkgName)
- changedBy :: Lens Atoms (Maybe NameAddr)
- uploaders :: Lens Atoms [NameAddr]
- dmUploadAllowed :: Lens Atoms Bool
- homepage :: Lens Atoms (Maybe Text)
- vcsFields :: Lens Atoms (Set VersionControlSpec)
- xFields :: Lens Atoms (Set XField)
- buildDepends :: Lens Atoms Relations
- buildConflicts :: Lens Atoms Relations
- buildDependsIndep :: Lens Atoms Relations
- buildConflictsIndep :: Lens Atoms Relations
- binaryPackages :: Lens Atoms [BinaryDebDescription]
Modes of operation
dryRun :: Lens Atoms Bool Source
Don't write anything, just output a description of what would have happened
debAction :: Lens Atoms DebAction Source
Debianize, SubstVars, or Usage. I'm no longer sure what SubstVars does, but someone may still be using it.
cabalFlagAssignments :: Lens Atoms (Set (FlagName, Bool)) Source
Cabal flag assignments to use when loading the cabal file.
Cabal package info
packageDescription :: Lens Atoms (Maybe PackageDescription) Source
The result of loading a .cabal file
Repository info
execMap :: Lens Atoms (Map String Relations) Source
Map from cabal Build-Tool names to debian binary package names.
epochMap :: Lens Atoms (Map PackageName Int) Source
Map of Debian epoch numbers assigned to cabal packages.
missingDependencies :: Lens Atoms (Set BinPkgName) Source
List if packages that should be omitted from any dependency list - e.g. a profiling package missing due to use of noProfilingPackage lens elsewhere.
extraLibMap :: Lens Atoms (Map String Relations) Source
Map from cabal Extra-Lib names to debian binary package names.
debianNameMap :: Lens Atoms (Map PackageName VersionSplits) Source
Map from cabal version number ranges to debian package names. This is a result of the fact that only one version of a debian package can be installed at a given time, while multiple versions of a cabal package can.
Source Package Info
sourcePackageName :: Lens Atoms (Maybe SrcPkgName) Source
Override the debian source package name constructed from the cabal name
overrideDebianNameBase :: Lens Atoms (Maybe DebBase) Source
Override the default base of the debian binary package names.
revision :: Lens Atoms (Maybe String) Source
Revision string used in constructing the debian verison number from the cabal version
debVersion :: Lens Atoms (Maybe DebianVersion) Source
Exact debian version number, overrides the version generated from the cabal version
copyright :: Lens Atoms CopyrightDescription Source
The copyright information from the cabal file
sourceArchitectures :: Lens Atoms (Maybe PackageArchitectures) Source
The architectures supported by this source package - Any
,
All
, or some list of specific architectures.
sourcePriority :: Lens Atoms (Maybe PackagePriority) Source
The source package priority - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Priority
sourceSection :: Lens Atoms (Maybe Section) Source
The source package's section assignment - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Section
compat :: Lens Atoms (Maybe Int) Source
The debian/compat
file, contains the minimum compatible version
of the debhelper
package. If not given the version number of the
installed debhelper package is used.
sourceFormat :: Lens Atoms (Maybe SourceFormat) Source
The debian/source/format
file.
comments :: Lens Atoms (Maybe [[Text]]) Source
Comment entries for the latest changelog entry (DebLogComments [[Text]])
standardsVersion :: Lens Atoms (Maybe StandardsVersion) Source
The Standards-Version
field of the debian/control
file - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Standards-Version
rulesSettings :: Lens Atoms [Text] Source
The rules file assignments
rulesIncludes :: Lens Atoms [Text] Source
The rules file include directives
noProfilingLibrary :: Lens Atoms Bool Source
Set this to omit the prof library deb.
noDocumentationLibrary :: Lens Atoms Bool Source
Set this to omit the doc library deb.
utilsPackageNameBase :: Lens Atoms (Maybe String) Source
Override the package name used to hold left over data files and executables.
buildDir :: Lens Atoms (Set FilePath) Source
The build directory. This can be set by an argument to the Setup
script.
When Setup
is run manually it is just dist
, when it is run by
dpkg-buildpackage
the compiler name is appended, so it is typically
dist-ghc
. Cabal-debian needs the correct value of buildDir to find
the build results.
Source Package Build Dependencies
omitProfVersionDeps :: Lens Atoms Bool Source
Do not put the version dependencies on the prof packages that we put on the dev packages.
omitLTDeps :: Lens Atoms Bool Source
Set this to filter any less-than dependencies out of the generated debian dependencies. (Not sure if this is implemented.)
Binary Package Info
binaryArchitectures :: BinPkgName -> Lens Atoms (Maybe PackageArchitectures) Source
The architectures supported by a binary package
executable :: Lens Atoms (Map BinPkgName InstallFile) Source
Create a package to hold a cabal executable
serverInfo :: Lens Atoms (Map BinPkgName Server) Source
Create a package for a server
apacheSite :: Lens Atoms (Map BinPkgName (String, FilePath, Text)) Source
Create an apache configuration file with the given (domain, logdir, filetext). This is called when expanding the result of the website lens above.
extraDevDeps :: Lens Atoms Relations Source
Extra install dependencies for the devel library. Redundant with depends, but kept for backwards compatibility. Also, I think maybe this is or was needed because it can be set before the exact name of the library package is known.
binaryPriority :: BinPkgName -> Lens Atoms (Maybe PackagePriority) Source
Map of the binary package priorities (FIXME: redundant with BinaryDebDescription)
binarySection :: BinPkgName -> Lens Atoms (Maybe Section) Source
Map of the binary deb section assignments (FIXME: redundant with BinaryDebDescription)
installInit :: Lens Atoms (Map BinPkgName Text) Source
Create an etcinit.d file in the package FIXME: change signature to BinPkgName -> Lens Atoms Text
packageType :: BinPkgName -> Lens Atoms (Maybe PackageType) Source
Lens onto one of several PackageType
values of which we have
specific knowledge how to package.
debianDescription :: BinPkgName -> Lens Atoms (Maybe Text) Source
Lens into the description field of a BinaryDebDescription.
depends :: BinPkgName -> Lens Atoms Relations Source
http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10 relations :: BinPkgName -> Lens Atoms B.PackageRelations relations b = B.relations . binaryDebDescription b
The Depends: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
recommends :: BinPkgName -> Lens Atoms Relations Source
The Recommends: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
suggests :: BinPkgName -> Lens Atoms Relations Source
The Suggests: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
preDepends :: BinPkgName -> Lens Atoms Relations Source
The Pre-Depends: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
breaks :: BinPkgName -> Lens Atoms Relations Source
The Breaks: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
conflicts :: BinPkgName -> Lens Atoms Relations Source
The Conflicts: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
provides :: BinPkgName -> Lens Atoms Relations Source
The Provides: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
replaces :: BinPkgName -> Lens Atoms Relations Source
The Replaces: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
builtUsing :: BinPkgName -> Lens Atoms Relations Source
THe Built-Using: relations for each binary deb - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.6.10
Binary package Files
installData :: Monad m => BinPkgName -> FilePath -> FilePath -> StateT Atoms m () Source
installCabalExec :: Monad m => BinPkgName -> String -> FilePath -> StateT Atoms m () Source
installCabalExecTo :: Monad m => BinPkgName -> String -> FilePath -> StateT Atoms m () Source
installDir :: Monad m => BinPkgName -> FilePath -> StateT Atoms m () Source
logrotateStanza :: Lens Atoms (Map BinPkgName (Set Text)) Source
Add a stanza to the binary package's logrotate script.
Unknown, obsolete, internal
flags :: Lens Atoms Flags Source
Obsolete record containing verbosity, dryRun, validate, and debAction.
validate :: Lens Atoms Bool Source
Make sure the version number and package names of the supplied and generated debianizations match.
intermediateFiles :: Lens Atoms (Set (FilePath, Text)) Source
Create a file in the debianization. This is used to implement the file lens above. FIXME: change signature to BinPkgName -> Lens Atoms (Set (FilePath, Text))
packageInfo :: Lens Atoms (Map PackageName PackageInfo) Source
No longer sure what the purpose of this lens is.
control :: Lens Atoms SourceDebDescription Source
The debian/control
file. Many of the following lenses access parts of the SourceDebDescription
.
vcsFields :: Lens Atoms (Set VersionControlSpec) Source
Version control system field - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-VCS-fields
xFields :: Lens Atoms (Set XField) Source
User defined fields - http://www.debian.org/doc/debian-policy/ch-controlfields.html#s5.7