Copyright | (c) 2020 Jens Petersen |
---|---|
License | GPL-2.0-only |
Maintainer | Jens Petersen <petersen@redhat.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Web.Fedora.Copr.API
Description
Copr REST client library
Synopsis
- coprGetProject :: String -> String -> String -> IO Object
- coprGetProjectsList :: String -> String -> IO Object
- coprSearchProjects :: String -> String -> IO Object
- coprGetBuild :: String -> Int -> IO Object
- coprGetBuildSourceChroot :: String -> Int -> IO Object
- coprGetBuildSourceConfig :: String -> Int -> IO Object
- coprGetBuildList :: String -> String -> String -> Query -> IO Object
- coprGetBuildChroot :: String -> Int -> String -> IO Object
- coprGetBuildChrootList :: String -> Int -> IO Object
- coprGetBuildChrootConfig :: String -> Int -> String -> IO Object
- coprMockChrootList :: String -> IO Object
- coprMonitorProject :: String -> String -> String -> [String] -> IO Object
- coprGetPackage :: String -> String -> String -> String -> IO Object
- coprGetPackageList :: String -> String -> String -> IO Object
- coprGetProjectChroot :: String -> String -> String -> String -> IO Object
- coprGetProjectChrootBuildConfig :: String -> String -> String -> String -> IO Object
- 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
Arguments
:: String | server |
-> String | owner |
-> String | project |
-> IO Object |
List project details
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project.py#_9
Arguments
:: String | server |
-> String | owner |
-> IO Object |
List projects of owner
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project.py#_37
Arguments
:: String | server |
-> String | query |
-> IO Object |
search projects by query string
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project.py#_43
Arguments
:: String | server |
-> Int | build id |
-> IO Object |
coprGetBuildSourceChroot Source #
Arguments
:: String | server |
-> Int | build id |
-> IO Object |
coprGetBuildSourceConfig Source #
Arguments
:: String | server |
-> Int | build id |
-> IO Object |
get build source config
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build.py#_34
Arguments
:: String | server |
-> String | owner |
-> String | project |
-> Query | optional parameters ("packagename", "status", "pagination") |
-> IO Object |
get list of builds
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build.py#_56
Since: 0.2.0
Arguments
:: String | server |
-> Int | build id |
-> String | chroot |
-> IO Object |
coprGetBuildChrootList Source #
Arguments
:: String | server |
-> Int | build id |
-> IO Object |
list of build chroots
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build_chroot.py#_25
coprGetBuildChrootConfig Source #
Arguments
:: String | server |
-> Int | build id |
-> String | chroot |
-> IO Object |
get build config for chroot
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/build_chroot.py#_44
Arguments
:: String | server |
-> IO Object |
list of all available mock chroots
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/mock_chroot.py
Arguments
:: String | server |
-> String | owner |
-> String | project |
-> [String] | additional fields |
-> IO Object |
monitor info for the latest project chroot builds.
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/monitor.py#_16
Since: 0.2.0
Arguments
:: String | server |
-> String | owner |
-> String | project |
-> String | package |
-> IO Object |
Get project package details
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/package.py#_9
Arguments
:: String | server |
-> String | owner |
-> String | project |
-> IO Object |
List project packages
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/package.py#_28
Arguments
:: String | server |
-> String | owner |
-> String | project |
-> String | chroot |
-> IO Object |
coprGetProjectChrootBuildConfig Source #
Arguments
:: String | server |
-> String | owner |
-> String | project |
-> String | chroot |
-> IO Object |
list of build chroots
https://pagure.io/copr/copr/blob/main/f/python/copr/v3/proxies/project_chroot.py#_29
Arguments
:: FromJSON a | |
=> String | server |
-> String | path |
-> Query | parameters |
-> IO a |
low-level API query
lookupKey' :: FromJSON a => Text -> Object -> a #