fedora-dists-1.1.0: Library for Fedora distribution versions

Copyright(C) 2014-2018 Jens Petersen
MaintainerJens Petersen <petersen@fedoraproject.org>
Stabilityalpha
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

FedoraDists

Description

Explanation: Fedora dist metadata

Synopsis

Documentation

data Dist Source #

The Dist datatype specifies the target OS and version. (roughly corresponds to a git branch)

Constructors

Fedora Int

Fedora release

EPEL Int

EPEL release

RHEL Version

RHEL version

Instances
Eq Dist Source # 
Instance details

Defined in FedoraDists

Methods

(==) :: Dist -> Dist -> Bool #

(/=) :: Dist -> Dist -> Bool #

Read Dist Source #

Read from eg "f29", "epel7"

Instance details

Defined in FedoraDists

Show Dist Source # 
Instance details

Defined in FedoraDists

Methods

showsPrec :: Int -> Dist -> ShowS #

show :: Dist -> String #

showList :: [Dist] -> ShowS #

dists :: [Dist] Source #

Current maintained distribution releases.

distBranch :: Dist -> String Source #

Maps Dist to package distgit branch

distContainer :: Dist -> String Source #

Map Dist to a container image

distRepo :: Dist -> String Source #

Map Dist to DNF/YUM repo name

distUpdates :: Dist -> Maybe String Source #

Map Dist to Maybe the DNF/YUM updates repo name

distOverride :: Dist -> Bool Source #

Whether dist has overrides in Bodhi

kojicmd :: Dist -> String Source #

Command line tool for Dist (eg "koji")

mockConfig :: Dist -> String -> String Source #

Mock configuration for Dist and arch

releaseVersion :: Dist -> String Source #

OS release major version for Dist

rawhide :: Dist Source #

The Fedora release corresponding to Rawhide

rawhideRelease :: Int Source #

The Fedora release number corresponding to current Rawhide

rpkg :: Dist -> String Source #

rpkg command for Dist (eg "fedpkg")

rpmDistTag :: Dist -> String Source #

Dist tag (appended to rpm package release field)