fbrnch-0.7.3: Build and create Fedora package repos and branches
Copyright(c) 2020 Jens Petersen
LicenseMIT
MaintainerJens Petersen <juhpetersen@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Fedora.Bodhi

Description

Fedora Bodhi REST client library

Synopsis

Documentation

bodhiOverrideDates :: String -> IO (Maybe (LocalTime, LocalTime)) Source #

Returns override expiration and submission dates for NVR

lookupKey :: FromJSON a => Text -> Object -> Maybe a #

Look up key in object

lookupKey' :: FromJSON a => Text -> Object -> a #

Like lookupKey but raises an error if no key found

queryBodhi :: Query -> String -> IO Value Source #

low-level query

makeKey :: String -> String -> Query #

Make a singleton key-value Query

makeItem :: String -> String -> QueryItem #

Make a key-value QueryItem

maybeKey :: String -> Maybe String -> Query #

Maybe create a query key

type Query = [QueryItem] #

Query.

General form: a=b&c=d, but if the value is Nothing, it becomes a&c=d.

type QueryItem = (ByteString, Maybe ByteString) #

Query item