package gitlab-jsoo

  1. Overview
  2. Docs
Gitlab APIv4 OCaml library

Install

Dune Dependency

Authors

Maintainers

Sources

gitlab-0.1.8.tbz
sha256=06e430f4ab919c3417374d9628ce7ebfd49b6a901129a6e6fa1cdd53c2daae42
sha512=04c5c7131fa5a630edd0d2c605084fb37bb6a4d875b208450bf3b3fb70dc17da0f9ed8de04271e4eea62168d77dbcdda139aa7fe1a40f06f6c6cfb4407c47680

CHANGES.md.html

0.1.8 - 2023-10-04

Added

  • Project.merge_requests: add parameter wip

  • Project.merge_requests: add parameter target_branch

  • Project.merge_requests: add parameter per_page

  • Gitlab module now exposes Message exception

  • gitlab.atd: add user, duration, queued_duration, commit, pipeline and artifacts to pipeline_job. Make created_at field mandatory (remove nullable).

  • gitlab.atd: add tag, user, duration and queued_duration to pipeline_job. Make created_at field mandatory (remove nullable).

  • gitlab.atd: add event_action_type type

  • User.events: add paging and after parameter. Return a stream instead of single list of events.

Bug fixes

  • gitlab.atd: add scheduler_failure to failure_reason

  • gitlab.atd: add data_integrity_failure to failure_reason

  • gitlab.atd: make merge_request.approvals_before_merge integral

  • gitlab.atd: make merge_request.sha nullable

  • gitlab.atd: add failure reasons: api_failure, missing_dependency_failure, runner_unsupported, stale_schedule, archived_failure, unmet_prerequisites, forward_deployment_failure, user_blocked, project_deleted, ci_quota_exceeded, pipeline_loop_detected, no_matching_runner, trace_size_exceeded, builds_disabled, environment_creation_failure, deployment_rejected, failed_outdated_deployment_job, protected_environment_failure, insufficient_bridge_permissions, downstream_bridge_project_not_found, invalid_bridge_trigger, upstream_bridge_project_not_found, insufficient_upstream_permissions, bridge_pipeline_is_child_pipeline, downstream_pipeline_creation_failed, secrets_provider_not_found, reached_max_descendant_pipelines_depth, ip_restriction_failure, and reached_max_pipeline_hierarchy_size

  • the action param of Events.all takes an event_action_type, not an event_action

Added

  • Project.pipelines: add parameter scope

0.1.7 - 2023-02-02

  • Drop ezjsonm dependency for gitlab (#76 @tmcgilchrist)

Bug fixes

  • gitlab.atd: description is nullable (#75 @maiste)

0.1.6 - 2022-11-08

Added

  • gitlab.atd: use date_time instead of strings for _at fields (#68 @arvidj)

  • Project: add merge_request_pipelines and by_short_ref (#68 @arvidj)

  • Project.merge_requests: add parameters updated_after, updated_before, created_after, created_before and order_by (#68 @arvidj)

Bug fixes

  • Project.pipeline_jobs: 404 means pending pipeline, not error (#68 @arvidj)

  • gitlab.atd: time_stats estimates are strings (#66 @MisterDA)

0.1.5 - 2022-06-17

Added

  • Depend on atd >= 2.8 to get codegen fixes. (#63 @MisterDA)

  • Add endpoints Project.pipeline, Project.pipeline_jobs , Project.job_trace , Project.pipelines.

  • Add param updated_after to Project.merge_requests

Bug fixes

  • Make the field source_project_id of merge_request nullable

0.1.4 - 2022-06-02

Added

  • Add support for project hooks (#58 @novemberkilo)

  • Support listing and creating Notes in merge requests. (#59 @MisterDA)

  • Parse more webhooks and events including project, job, deployment and feature flag (#53 @tmcgilchrist)

Bug fixes

  • Documentation fixes (#53 @tmcgilchrist) (#57 @MisterDA)

0.1.3 - 2022-04-04

Added

  • Various changes to rework lab cli client. (#50 #51 @maiste @tmcgilchrist @OlivierNicole)

Bug fixes

  • Strip api/v4 from authorize and token url during OAuth. (#48 @tmcgilchrist)

  • Serialise milestone_id is an int. (#48 @tmcgilchrist)

  • Various merge_request webhook deserialisation fixes. (#47 @tmcgilchrist)

  • Fix incorrect field name, detected with atdgen 2.3.x (#46 @mjambon)

  • Fix commit_short_webhook prefix typo (#45 @MisterDA)

  • Update GHA to use windows-2022 (#44 @MisterDA)

  • Fix subcommands names and document env vars (#44 @MisterDA)

  • Document GITLAB_ env vars via Cmdliner (#44 @MisterDA)

  • Update cmdliner 1.1.0 API (#41 @MisterDA)

0.1.2 - 2022-02-02

Added

  • Revert using int64 types in gitlab.atd (#38 @tmcgilchrist)

0.1.1 - 2022-01-14

Added

  • Support Authorization code flow in OAuth. (#30 @tmcgilchrist)

  • Extra merge status values (#32 @tmcgilchrist)

0.1.0 - 2021-11-17

Added

  • Initial release of gitlab bindings. Supports Personal and Project Access Tokens, and selected parts of the Project, User, Events and Group APIs.

OCaml

Innovation. Community. Security.