Copyright | (c) Rob Stewart Heriot-Watt University 2019 |
---|---|
License | BSD3 |
Maintainer | robstewart57@gmail.com |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- mergeRequests :: MonadIO m => Project -> GitLab m [MergeRequest]
- mergeRequests' :: MonadIO m => Int -> GitLab m (Either Status [MergeRequest])
- createMergeRequest :: MonadIO m => Project -> Text -> Text -> Int -> Text -> Text -> GitLab m (Either Status MergeRequest)
- createMergeRequest' :: MonadIO m => Int -> Text -> Text -> Int -> Text -> Text -> GitLab m (Either Status MergeRequest)
- acceptMergeRequest :: MonadIO m => Project -> Int -> GitLab m (Either Status MergeRequest)
- acceptMergeRequest' :: MonadIO m => Int -> Int -> GitLab m (Either Status MergeRequest)
Documentation
:: MonadIO m | |
=> Project | the project |
-> GitLab m [MergeRequest] |
returns the merge requests for a project.
returns the merge requests for a project given its project ID.
:: MonadIO m | |
=> Project | project |
-> Text | source branch |
-> Text | target branch |
-> Int | target project ID |
-> Text | merge request title |
-> Text | merge request description |
-> GitLab m (Either Status MergeRequest) |
Creates a merge request.
:: MonadIO m | |
=> Int | project ID |
-> Text | source branch |
-> Text | target branch |
-> Int | target project ID |
-> Text | merge request title |
-> Text | merge request description |
-> GitLab m (Either Status MergeRequest) |
Creates a merge request.
Accepts a merge request.
Accepts a merge request.