adapter-gitlab-app

GitLab OAuth, project webhooks and commit statuses for the Cratefield harness, over the HttpClient port.

Built and tested in the harness, and not in the public repository yet. The install line and the source link appear here when it is.

What it is

adapter-gitlab-app.

The GitLab application side of the Cratefield harness. It runs the OAuth authorization-code flow for acting as a GitLab user, creates and deletes project hooks that deliver issue events to an https URL, and reports commit statuses against a commit. Each call goes through the runtime’s HttpClient port, with no vendor SDK. The platform’s OAuth client secret is held by the application; each tenant token arrives per call and is not stored. Only the api scope is requested. Only GitLab projects are served, and a commit sha must be 7 to 64 hexadecimal characters. Inbound hook verification is in the issues adapter.

From the crate’s own README.

History

Changelog.

Not released yet. Its changelog starts with its first release.

One of 95 crates in the harness, all of them MIT.