Copyright | (C) 2014-2020 Jens Petersen |
---|---|
Maintainer | Jens Petersen <petersen@fedoraproject.org> |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data Dist
- getReleaseIds :: IO [Text]
- getFedoraReleaseIds :: IO [Text]
- getFedoraDists :: IO [Dist]
- getEPELReleaseIds :: IO [Text]
- getRawhideDist :: IO Dist
- getLatestFedoraDist :: IO Dist
- getLatestEPELDist :: IO Dist
- rawhideVersionId :: Text
- distBranch :: Dist -> Dist -> String
- distRepo :: Dist -> Dist -> String
- distUpdates :: Dist -> Dist -> Maybe String
- distOverride :: Dist -> Dist -> Bool
- mockConfig :: Dist -> Dist -> String -> String
- distVersion :: Dist -> Dist -> String
- kojicmd :: Dist -> String
- rpkg :: Dist -> String
- rpmDistTag :: Dist -> String
Documentation
The Dist
datatype specifies the target OS and version.
(roughly corresponds to a git branch)
getReleaseIds :: IO [Text] Source #
gets list of current releases (Fedora and EPEL)
The data is stored in ~.fedoraproduct-versions.json and refreshed from Fedora PDC if older than 5.5 hours
getFedoraReleaseIds :: IO [Text] Source #
gets current Fedora releases
getFedoraDists :: IO [Dist] Source #
get list of current Fedora Dist's
getEPELReleaseIds :: IO [Text] Source #
gets current EPEL releases
getRawhideDist :: IO Dist Source #
get current Dist for Fedora Rawhide
getLatestFedoraDist :: IO Dist Source #
get newest Fedora branch
getLatestEPELDist :: IO Dist Source #
get newest EPEL release
rawhideVersionId :: Text Source #
Rawhide version id
Maps Dist
to package dist-git branch name, relative to latest branch
distBranch (Fedora 32) (Fedora 33) == "rawhide" distBranch (Fedora 32) (Fedora 31) == "f31"
distUpdates :: Dist -> Dist -> Maybe String Source #
Map Dist
to Maybe the DNF/YUM updates repo name, relative to latest branch
distOverride :: Dist -> Dist -> Bool Source #
Whether dist has overrides in Bodhi, relative to latest branch
mockConfig :: Dist -> Dist -> String -> String Source #
Mock configuration for Dist
and arch, relative to latest branch