Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype BuildID = BuildId Int
- data BuildInfo
- buildIDInfo :: BuildID -> BuildInfo
- fedoraKojiHub :: String
- centosKojiHub :: String
- kojiBuildTags :: String -> BuildInfo -> IO [String]
- kojiBuildTarget :: String -> String -> IO (Maybe (String, String))
- kojiGetBuildID :: String -> String -> IO (Maybe BuildID)
- kojiGetBuildState :: String -> BuildInfo -> IO (Maybe BuildState)
- kojiGetBuildTaskID :: String -> String -> IO (Maybe TaskID)
- kojiGetCurrentRepo :: String -> String -> IO (Maybe Struct)
- kojiGetRepo :: String -> String -> Maybe RepoState -> Maybe Int -> IO (Maybe Struct)
- kojiGetTaskInfo :: String -> TaskID -> IO (Maybe Struct)
- kojiGetTaskChildren :: String -> TaskID -> Bool -> IO [Struct]
- kojiGetTaskState :: String -> TaskID -> IO (Maybe TaskState)
- kojiGetUserID :: String -> String -> IO (Maybe UserID)
- kojiLatestBuild :: String -> String -> String -> IO (Maybe Struct)
- kojiLatestBuildRepo :: String -> String -> Int -> String -> IO (Maybe Struct)
- kojiListSideTags :: String -> Maybe String -> Maybe String -> IO [String]
- kojiListTaskIDs :: String -> Struct -> Struct -> IO [TaskID]
- kojiUserBuildTasks :: String -> UserID -> Maybe String -> Maybe String -> IO [TaskID]
- data KojiBuild = KojiBuild {
- kbBuildId :: Int
- kbPackageId :: Int
- kbOwnerName :: String
- kbNvr :: String
- kojiListTaggedBuilds :: String -> Bool -> String -> IO [KojiBuild]
- newtype PackageID = PackageId Int
- newtype TagID = TagId Int
- newtype TaskID = TaskId Int
- newtype UserID = UserId Int
- displayID :: ID a => a -> String
- getID :: ID a => a -> Int
- readID :: ID a => Struct -> Maybe a
- readID' :: Struct -> Maybe Int
- data TaskState
- getTaskState :: Struct -> Maybe TaskState
- openTaskStates :: [TaskState]
- openTaskValues :: Value
- readTaskState :: Value -> TaskState
- data BuildState
- readBuildState :: Value -> BuildState
- type Struct = [(String, Value)]
- lookupStruct :: XmlRpcType a => String -> Struct -> Maybe a
- data Value
- getInt :: Value -> Maybe Int
- getString :: Value -> Maybe String
- maybeVal :: String -> Maybe a -> a
- data RepoState
- readRepoState :: Value -> RepoState
Documentation
buildIDInfo :: BuildID -> BuildInfo Source #
kojiGetBuildState :: String -> BuildInfo -> IO (Maybe BuildState) Source #
List sidetags (preferably for user and/or basetag)
KojiBuild | |
|
Instances
Enum TaskState Source # | |
Defined in Fedora.Koji succ :: TaskState -> TaskState # pred :: TaskState -> TaskState # fromEnum :: TaskState -> Int # enumFrom :: TaskState -> [TaskState] # enumFromThen :: TaskState -> TaskState -> [TaskState] # enumFromTo :: TaskState -> TaskState -> [TaskState] # enumFromThenTo :: TaskState -> TaskState -> TaskState -> [TaskState] # | |
Eq TaskState Source # | |
Show TaskState Source # | |
openTaskStates :: [TaskState] Source #
readTaskState :: Value -> TaskState Source #
data BuildState Source #
Instances
Enum BuildState Source # | |
Defined in Fedora.Koji succ :: BuildState -> BuildState # pred :: BuildState -> BuildState # toEnum :: Int -> BuildState # fromEnum :: BuildState -> Int # enumFrom :: BuildState -> [BuildState] # enumFromThen :: BuildState -> BuildState -> [BuildState] # enumFromTo :: BuildState -> BuildState -> [BuildState] # enumFromThenTo :: BuildState -> BuildState -> BuildState -> [BuildState] # | |
Eq BuildState Source # | |
Defined in Fedora.Koji (==) :: BuildState -> BuildState -> Bool # (/=) :: BuildState -> BuildState -> Bool # | |
Show BuildState Source # | |
Defined in Fedora.Koji showsPrec :: Int -> BuildState -> ShowS # show :: BuildState -> String # showList :: [BuildState] -> ShowS # |
readBuildState :: Value -> BuildState Source #
lookupStruct :: XmlRpcType a => String -> Struct -> Maybe a Source #
An XML-RPC value.
ValueInt Int | int, i4, or i8 |
ValueBool Bool | bool |
ValueString String | string |
ValueUnwrapped String | no inner element |
ValueDouble Double | double |
ValueDateTime LocalTime | dateTime.iso8601 |
ValueBase64 ByteString | base 64. NOTE that you should provide the raw data; the haxr library takes care of doing the base-64 encoding. |
ValueStruct [(String, Value)] | struct |
ValueArray [Value] | array |
ValueNil | nil |
Instances
Enum RepoState Source # | |
Defined in Fedora.Koji succ :: RepoState -> RepoState # pred :: RepoState -> RepoState # fromEnum :: RepoState -> Int # enumFrom :: RepoState -> [RepoState] # enumFromThen :: RepoState -> RepoState -> [RepoState] # enumFromTo :: RepoState -> RepoState -> [RepoState] # enumFromThenTo :: RepoState -> RepoState -> RepoState -> [RepoState] # | |
Eq RepoState Source # | |
Show RepoState Source # | |
readRepoState :: Value -> RepoState Source #