Copyright | (C) 2014-2021 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 35) (Fedora 36) == "rawhide" distBranch (Fedora 35) (Fedora 34) == "f34"
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
distVersion :: Dist -> Dist -> String Source #
OS release major version for Dist
, relative to latest branch
rpmDistTag :: Dist -> String Source #
Dist
tag (appended to rpm package release field)