jennifer registry

@deckyard/gitlab

A client for the GitLab REST and GraphQL API: projects, issues, merge requests, pipelines, releases, branches, tags and files

gitlabgitissuesmerge-requestspipelines

Depend on it

[decks]
"@deckyard/gitlab" = "^0.6.0"

Versions

VersionStatusKindPinRequiresEnginesCapabilities
0.6.0livegitfe86e0109225-jennifer >=0.27.0net
0.5.0livegitb2d150b5b033-jennifer >=0.26.0net
0.4.0livegitf9e012147d11-jennifer >=0.26.0net
0.3.0livegit6ff07f527f4b-jennifer >=0.26.0net
0.2.0livegit4355a6406985-jennifer >=0.26.0net
0.1.0livegit707255b25af0-jennifer >=0.26.0net

License

LGPL-3.0-only

Source

Released from
0.6.0
Published under
@deckyard mplx
Repository owner
deckyard

Resolutions

Times a client asked this registry where to find this deck. Not downloads: the registry only stores metadata, and the code is fetched from its repository directly, so we never see an install and cannot count one. Repeated builds inflate these numbers; installs from an existing lockfile do not appear at all. Counted in UTC.

Readme

@deckyard/gitlab

test Documentation release

A client for the GitLab™ REST (v4) and GraphQL™ API, for Jennifer programs: gitlab.com or a self-managed instance. Projects, groups and subgroups, members and hooks; issues, notes, labels and milestones; merge requests, approvals and merging; releases with their links and the generic package registry; branches, tags, files and the repository tree; commits, commit statuses, pipelines and CI/CD variables. call and getAll reach every other endpoint, graphql the GraphQL API.

Documentation

Install

jvc add @deckyard/gitlab

This vendors the deck to vendor/<scope>/gitlab/. Without jvc, unpack the src/ subtree of a release archive (<scope>-gitlab-<version>.tar.gz) there.

Usage

import "@deckyard/gitlab/" as gitlab;

def c as gitlab.Client init gitlab.client("gitlab.com");
$c = gitlab.withToken($c, fs.readString("/run/secrets/gitlab"));

for (def i in gitlab.issues($c, "my-group/app", "opened")) {
    io.printf("#%d %s\n", $i.iid, $i.title);
}
gitlab.createRelease($c, "my-group/app", "v1.2.0", "main", "", "Notes");
gitlab.uploadAsset($c, "my-group/app", "v1.2.0", "app", "app.tar.gz", fs.readBytes("dist/app.tar.gz"));

Requirements

Jennifer 0.27.0 or newer, the default jennifer binary (not jennifer-tiny), and the net capability.

Development

tools/check-all.sh                   # the full gate, as CI runs it
jennifer test src/gitlab_test.j      # the test overlay
tools/check-docs.sh                  # docs against the code
tools/pack.sh dist                   # build the release archive

Trademarks

GitLab™ is a trademark of GitLab Inc. GraphQL™ is a trademark of LF Projects, LLC. Other product and company names may be trademarks of their respective owners. They are used only to identify the products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by GitLab Inc.

Licence

LGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.

tools/check-headers.sh checks every source file's SPDX header against deck.toml.

This deck as JSON