gitlab-haskell-0.1.8: A Haskell library for the GitLab web API

Copyright(c) Rob Stewart Heriot-Watt University 2019
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.API.MergeRequests

Description

 
Synopsis

Documentation

mergeRequests Source #

Arguments

:: MonadIO m 
=> Project

the project

-> GitLab m [MergeRequest] 

returns the merge requests for a project.

mergeRequests' Source #

Arguments

:: MonadIO m 
=> Int

project ID

-> GitLab m (Either Status [MergeRequest]) 

returns the merge requests for a project given its project ID.

createMergeRequest Source #

Arguments

:: 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.

createMergeRequest' Source #

Arguments

:: 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.

acceptMergeRequest Source #

Arguments

:: MonadIO m 
=> Project

project

-> Int

merge request IID

-> GitLab m (Either Status MergeRequest) 

Accepts a merge request.

acceptMergeRequest' Source #

Arguments

:: MonadIO m 
=> Int

project ID

-> Int

merge request IID

-> GitLab m (Either Status MergeRequest) 

Accepts a merge request.