{"id":32150592,"url":"https://github.com/h2glab/gitlab-provider","last_synced_at":"2025-10-21T10:09:14.965Z","repository":{"id":63911736,"uuid":"161552447","full_name":"h2glab/gitlab-provider","owner":"h2glab","description":"📜 Gitlab Provider for Vapor","archived":false,"fork":false,"pushed_at":"2019-09-11T10:02:00.000Z","size":26,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-17T18:05:21.893Z","etag":null,"topics":["gitlab","library","provider","swift","vapor"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/h2glab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-12T22:21:10.000Z","updated_at":"2022-05-10T11:29:46.000Z","dependencies_parsed_at":"2023-01-14T13:16:04.190Z","dependency_job_id":null,"html_url":"https://github.com/h2glab/gitlab-provider","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/h2glab/gitlab-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h2glab%2Fgitlab-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h2glab%2Fgitlab-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h2glab%2Fgitlab-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h2glab%2Fgitlab-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h2glab","download_url":"https://codeload.github.com/h2glab/gitlab-provider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h2glab%2Fgitlab-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280240687,"owners_count":26296607,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gitlab","library","provider","swift","vapor"],"created_at":"2025-10-21T10:09:12.474Z","updated_at":"2025-10-21T10:09:14.956Z","avatar_url":"https://github.com/h2glab.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vapor Gitlab Provider\n\n![Swift](http://img.shields.io/badge/swift-4.1-brightgreen.svg)\n![Vapor](http://img.shields.io/badge/vapor-3.0-brightgreen.svg)\n\n## Getting Started\nIn your `Package.swift` file, add the following\n\n```swift\n.package(url: \"https://github.com/h2glab/gitlab-provider.git\", from: \"0.1.0\")\n```\n\nRegister the config and the provider to your Application\n\n```swift\nlet config = GitlabConfig(serverUrl: URL(string: \"https://www.gitlab.com\")!, privateToken: \"PRIVATE_TOKEN\")\n\nservices.register(config)\n\ntry services.register(GitlabProvider())\n\napp = try Application(services: services)\n\ngitlabClient = try app.make(GitlabClient.self)\n```\n\nService is configured. \n\nInteracting with the API is quite easy and adopts the `Future` syntax used in Vapor 3.\nNow you can list all issues easily.\n\n```swift\nlet filter = Issue.Filter.Builder().withLabels([\"High\"]).withPerPage(10).build()\n\nlet futureIssue = try gitlabClient.issue.list(filter: filter)\n\nfutureIssue.map { issues in (do something with issues...) }\n```\n\n## Whats Implemented\n\nTBD\n\n## License\n\nVapor Gitlab Provider is available under the MIT license. See the [LICENSE](LICENSE) file for more info.\n\n## Contributing\n\nTo contribute a feature or idea to Gitlab Provider, [create an issue][1] explaining your idea.\n\nIf you find a bug, please [create an issue][1].\n\n[1]:  https://github.com/h2glab/gitlab-provider/issues/new","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh2glab%2Fgitlab-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh2glab%2Fgitlab-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh2glab%2Fgitlab-provider/lists"}