This patch series adds support for Gitlab webhooks event, more specifically the merge-request event.
The first patch fixes an ambiguity on the type of the NAME field in the SPECIFICATION record definition. Romain GARBAGE (4): specification: Ensure name is a symbol. gitlab: Add module for Gitlab JSON objects definition. http: Add /admin/gitlab/event. http: Add tests for Gitlab API. Makefile.am | 1 + src/cuirass/gitlab.scm | 95 +++++++++++++++++++++++++++++++++++ src/cuirass/http.scm | 88 ++++++++++++++++++++++++++++---- src/cuirass/specification.scm | 11 +++- tests/database.scm | 2 +- tests/http.scm | 34 +++++++++++++ 6 files changed, 219 insertions(+), 12 deletions(-) create mode 100644 src/cuirass/gitlab.scm -- 2.45.1