This Haskell library queries and updates the database of a GitLab instance using the GitLab web API: https://docs.gitlab.com/ee/api/
It also features an API for writing Gitlab file hook applications
Run all GitLab actions with runGitLab:
For example:
Which uses the functions:
This library can also be used to develop rule based GitLab file hooks that react in real time to GitLab events with:
For more details about the file hooks support: https://www.macs.hw.ac.uk/~rs46/posts/2020-06-06-gitlab-system-hooks.html
Unsurprisingly, this library is maintained on GitLab: https://gitlab.com/robstewart57/gitlab-haskell