{"id":16716949,"url":"https://github.com/tmcgilchrist/ocaml-gitlab","last_synced_at":"2025-03-21T20:34:22.933Z","repository":{"id":37258934,"uuid":"376723750","full_name":"tmcgilchrist/ocaml-gitlab","owner":"tmcgilchrist","description":"Native OCaml bindings to Gitlab REST API v4","archived":false,"fork":false,"pushed_at":"2024-08-01T20:30:24.000Z","size":1186,"stargazers_count":27,"open_issues_count":11,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-13T21:28:49.065Z","etag":null,"topics":["git","gitlab","ocaml"],"latest_commit_sha":null,"homepage":"https://tmcgilchrist.github.io/ocaml-gitlab/gitlab/","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmcgilchrist.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-14T06:25:59.000Z","updated_at":"2024-03-13T11:10:21.000Z","dependencies_parsed_at":"2024-06-19T15:08:45.226Z","dependency_job_id":null,"html_url":"https://github.com/tmcgilchrist/ocaml-gitlab","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Focaml-gitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Focaml-gitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Focaml-gitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Focaml-gitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmcgilchrist","download_url":"https://codeload.github.com/tmcgilchrist/ocaml-gitlab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221819037,"owners_count":16885877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","gitlab","ocaml"],"created_at":"2024-10-12T21:28:59.112Z","updated_at":"2024-10-28T10:51:58.715Z","avatar_url":"https://github.com/tmcgilchrist.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gitlab bindings for OCaml\n==========\n[![GitHub CI][github-shield]][github-ci] [![docs][docs-shield]][docs]\n[![OCaml-CI Build Status][ocaml-ci-shield]][ocaml-ci]\n\nNative OCaml bindings to [Gitlab REST API v4].\n\nThe API coverage is incomplete (currently we support many of the Commit, Project, User and Event\nAPIs) but if you find something missing please create an Issue or PR.\n\nPre-requisites\n----------\n\n * Plain opam / ocaml for building.\n \nConfiguration\n----------\n\nGitlab can be hosted in multiple places and configurations. By default the library uses\nthe public `gitlab.com` site with it's API endpoint of `https://gitlab.com/api/v4`. This\ncan be changed with:\n\n    GITLAB_URL # to configure the GitLab instance to connect to.\n\nor programatically by overriding the `Env` module.\n\n\nDebugging\n----------\nTwo environment variables will cause more debugging to be output:\n\n    GITLAB_DEBUG=1   # API calls output to stderr\n    COHTTP_DEBUG=1   # even more HTTP-level debugging\n\nIf using the bindings from the toplevel, you can also set `Gitlab.log_active`\nto `true` to get the same effect as setting the `GITLAB_DEBUG` environment\nvariable.\n\nLab Cli\n----------\n\nA command line client is provided called `lab` in the style of a similarly named\ntool `hub` for GitHub. From source you can run as:\n\n``` shell\ndune exec -- lab \u003carguments\u003e\n```\n\nIf you opam install lab then the executable is available as `lab`.\n\n\nRun `lab -h` for more information about cli options.\n\nTests\n------\n\nRunning mdx tests for lab cli:\n\n``` shell\n# Run integration tests against real gitlab instance\ndune runtest --profile non-deterministic\n\n# Promote any changes\ndune runtest --profile non-deterministic --auto-promote\n```\n\nNOTE that ocaml-ci doesn't run these tests, any changes to the cli need to be validated manually.\n\n [github-shield]: https://github.com/tmcgilchrist/ocaml-gitlab/actions/workflows/ci.yaml/badge.svg\n [github-ci]: https://github.com/tmcgilchrist/ocaml-gitlab/actions/workflows/ci.yaml\n\n [docs-shield]:https://img.shields.io/badge/doc-online-blue.svg\n [docs]: https://tmcgilchrist.github.io/ocaml-gitlab/gitlab/index.html\n\n [ocaml-ci]: https://ci.ocamllabs.io/github/tmcgilchrist/ocaml-gitlab\n [ocaml-ci-shield]: https://img.shields.io/endpoint?url=https%3A%2F%2Fci.ocamllabs.io%2Fbadge%2Ftmcgilchrist%2Focaml-gitlab%2Fmaster\u0026logo=ocaml\n [Gitlab REST API v4]: https://docs.gitlab.com/ee/api/README.html\n\nResources\n----------\n\n [MDX Setup in RWO](https://github.com/realworldocaml/book/blob/master/Makefile#L14)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcgilchrist%2Focaml-gitlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmcgilchrist%2Focaml-gitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcgilchrist%2Focaml-gitlab/lists"}