gitlab-haskell: A Haskell library for the GitLab web API
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
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- gitlab-haskell-0.1.6.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates