Copyright | (c) 2020 Jens Petersen |
---|---|
License | GPL-2.0-only |
Maintainer | Jens Petersen <petersen@redhat.com> |
Safe Haskell | None |
Language | Haskell2010 |
Copr REST client library
Synopsis
- coprGetProject :: String -> String -> String -> IO Object
- coprGetProjectsList :: String -> String -> IO Value
- coprSearchProjects :: String -> String -> IO Value
- coprGetBuild :: String -> Int -> IO Value
- coprGetBuildSourceChroot :: String -> Int -> IO Value
- coprGetBuildSourceConfig :: String -> Int -> IO Value
- coprGetBuildPackageList :: String -> Query -> IO Value
- coprGetBuildChroot :: String -> Int -> String -> IO Value
- coprGetBuildChrootList :: String -> Int -> IO Value
- coprGetBuildChrootConfig :: String -> Int -> String -> IO Value
- coprMockChrootList :: String -> IO Value
- coprGetPackage :: String -> String -> String -> String -> IO Value
- coprGetPackageList :: String -> String -> String -> IO Value
- coprGetProjectChroot :: String -> String -> String -> String -> IO Value
- coprGetProjectChrootBuildConfig :: String -> String -> String -> String -> IO Value
- queryCopr :: FromJSON a => String -> String -> Query -> IO a
- maybeKey :: String -> Maybe String -> Query
- makeKey :: String -> String -> Query
- makeItem :: String -> String -> QueryItem
- lookupKey :: FromJSON a => Text -> Object -> Maybe a
- lookupKey' :: FromJSON a => Text -> Object -> a
Documentation
coprGetProject :: String -> String -> String -> IO Object Source #
List project details
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/project.py#_9
coprGetProjectsList :: String -> String -> IO Value Source #
List projects of owner
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/project.py#_26
coprSearchProjects :: String -> String -> IO Value Source #
search projects by query string
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/project.py#_43
coprGetBuildSourceConfig :: String -> Int -> IO Value Source #
get build source config
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/build.py#_34
coprGetBuildPackageList :: String -> Query -> IO Value Source #
get list of packages
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/build.py#_46
coprGetBuildChrootList :: String -> Int -> IO Value Source #
list of build chroots
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/build_chroot.py#_25
coprGetBuildChrootConfig :: String -> Int -> String -> IO Value Source #
get build config for chroot
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/build_chroot.py#_44
coprMockChrootList :: String -> IO Value Source #
list of all available mock chroots
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/mock_chroot.py
coprGetPackage :: String -> String -> String -> String -> IO Value Source #
Get project package details
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/package.py#_9
coprGetPackageList :: String -> String -> String -> IO Value Source #
List project packages
https://pagure.io/copr/copr/blob/master/f/python/copr/v3/proxies/package.py#_28
lookupKey' :: FromJSON a => Text -> Object -> a #
Like lookupKey but raises an error if no key found