debian-3.23: Modules for working with the Debian package systemSource codeContentsIndex
Debian.Repo.Repository
Synopsis
data UploadFile = Upload FilePath String DebianVersion Arch
prepareRepository :: CIO m => URI -> AptIOT m Repository
repoArchList :: Repo r => r -> [Arch]
readPkgVersion :: String -> PkgVersion
showPkgVersion :: PkgVersion -> String
invalidRevision
verifyUploadURI :: CIO m => Bool -> URI -> AptIOT m ()
uploadRemote :: CIO m => LocalRepository -> URI -> AptIOT m [Either String ([Output], TimeDiff)]
Documentation
data UploadFile Source
The file produced by dupload when a package upload attempt is made.
Constructors
Upload FilePath String DebianVersion Arch
prepareRepository :: CIO m => URI -> AptIOT m RepositorySource

This is a remote repository which we have queried to find out the names, sections, and supported architectures of its releases. data VerifiedRepo = VerifiedRepo URI [ReleaseInfo]

This is a repository whose structure we haven't examined to determine what release it contains. data UnverifiedRepo = UnverifiedRepo URI

Prepare a repository, which may be remote or local depending on the URI.

repoArchList :: Repo r => r -> [Arch]Source
readPkgVersion :: String -> PkgVersionSource
showPkgVersion :: PkgVersion -> StringSource
invalidRevision
verifyUploadURI :: CIO m => Bool -> URI -> AptIOT m ()Source
Make sure we can access the upload uri without typing a password.
uploadRemoteSource
:: CIO m
=> LocalRepositoryLocal repository holding the packages.
-> URIURI of upload repository
-> AptIOT m [Either String ([Output], TimeDiff)]
Upload all the packages in a local repository to a the incoming directory of a remote repository (using dupload.)
Produced by Haddock version 2.4.2