Skip to main content

GitLab issue resolver extension for TReqs

Project description

TReqs GitLab Extension

Resolves external elements from public GitLab issues.

Installation

Included with treqs-ng:

pip install treqs-ng

Usage

Reference GitLab issues in treqs links:

<treqs-element id="my-requirement" type="requirement">
My requirement text

<treqs-link type="relatesTo" target="gl:mygroup/myproject#96"/>
</treqs-element>

Format: gl:project#IID or gl:#IID

Examples:

  • gl:treqs-on-git/treqs-ng#96 - Issue #96 in specific project
  • gl:#96 - Issue #96 in default project (requires GITLAB_PROJECT env var)

Configuration

# GitLab instance URL (default: https://gitlab.com)
export GITLAB_URL="https://gitlab.example.com"

# Default project for short references like gl:#96
export GITLAB_PROJECT="mygroup/myproject"

Limitations

  • Only works with public projects (no authentication support)
  • GitLab API rate limit: 10 requests/minute for unauthenticated requests

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treqsext_gitlab-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

treqsext_gitlab-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file treqsext_gitlab-0.1.0.tar.gz.

File metadata

  • Download URL: treqsext_gitlab-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for treqsext_gitlab-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9ee77920b274f889ab4c7b54b0c67c919f2f4a5c0cc7743b1a63a5f8fb29787d
MD5 2921403d39c636f94ab74f95af8181b0
BLAKE2b-256 addf6ccd2c11da8437db7f95a0fe5f1f9b6840d1ea56e8467e782616beeb8991

See more details on using hashes here.

File details

Details for the file treqsext_gitlab-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for treqsext_gitlab-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cab2e52424ff85a193b473720680babea4707ebcae5a639273c4203f25da85ae
MD5 501e6f650f376bfd36e9994a80990dd8
BLAKE2b-256 64d093eb605544b3e1214182db8bf144edc390f6baf9104c83b0eacb9a49034d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page