The latest version of gitlab-haskell is 1.0.2.2-0.

gitlab-haskell

Version 0.1.6 revision 0 uploaded by RobStewart.

Package meta

Synopsis
A Haskell library for the GitLab web API
Description

This Haskell library queries and updates the database of a GitLab instance using the GitLab web API: https://docs.gitlab.com/ee/api/

Run all GitLab actions with runGitLab:

runGitLab :: (MonadUnliftIO m, MonadIO m)
 => GitLabServerConfig -- ^ the GitLab server details
 -> GitLab m a         -- ^ the GitLab action
 -> m a

For example:

myTodos <- runGitLab
     (defaultGitLabServer
         { url = "https://gitlab.example.com"
         , token="my_token"} )
     (searchUser "joe" >>= userProjects . fromJust)

Which uses the todos function:

searchUser   :: Text -> GitLab m (Maybe User)
userProjects :: User -> GitLab m (Maybe [Project])

Unsurprisingly, this library is maintained on GitLab: https://gitlab.com/robstewart57/gitlab-haskell

Author
Rob Stewart
Bug reports
https://gitlab.com/robstewart57/gitlab-haskell/issues
Category
Git
Copyright
2019 Rob Stewart, Heriot-Watt University
Homepage
https://gitlab.com/robstewart57/gitlab-haskell
Maintainer
robstewart57@gmail.com
Package URL
n/a
Stability
n/a

Components