Repository navigation
Brings the extension up to date with spec-kit 1.3 and the current glab CLI.
Changed
- Requires spec-kit
>=0.12.17and glab>=1.50.0;jqis now listed as a required tool. - Command frontmatter uses the standard
scripts: {sh, ps}keys with the{SCRIPT}placeholder. The old custom keys (gitlab-helpers.sh: ...) and{SCRIPT:name}placeholders made the registrar fail ("No runnable script variant") and were never substituted. - The feature directory is resolved with
check-prerequisites --json --paths-only, so commands no longer requireplan.mdand use the correct.specify/scripts/bash/path. - Commands reference each other with
__SPECKIT_COMMAND_*__tokens instead of hard-coded/speckit.*invocations, so they render correctly for skills-based agents./speckit.spec(which doesn't exist) is replaced with the specify command. - Task parsing follows the spec-kit
tasks.mdformat:[P]is the parallel marker,[US1]the story, and[X]counts as done. A task inherits its priority from its story. Legacy[P1]markers still work. - Story parsing follows the spec-kit
spec.mdformat### User Story 1 - Title (Priority: P1). The legacy### US1: Title [P1]format still works. - Task IDs with four or more digits (
T1000) are supported. - The local override
gitlab-config.local.yml(orlocal-config.yml) now overrides individual keys instead of replacing the whole configuration. - The config template uses empty values instead of
${GITLAB_URL}placeholders, since spec-kit copies it into the project on install and doesn't expand placeholders.
Added
- Optional
after_implementhook that offers to close completed tasks in GitLab. mapping.task_issue_type(taskorissue) to choose the GitLab type of task issues.- Helpers
parse_tasks,parse_stories,list_mapping_ids,set_task_checkbox,annotate_task_issue,glab_set_issue_type,glab_check_connection, andlabel_to_priority. --dry-runfor close-issues and sync,--no-updatefor status.- Offline tests (
tests/test-helpers.sh) and a CI workflow. .extensionignore, so tests and CI files aren't copied into projects.- Release workflow: pushing a
vX.Y.Ztag publishes a GitHub release with an installablespec-kit-gitlab.zipand its SHA-256, so the extension installs with a singlespecify extension add ... --from <release URL>.
Fixed
glab issue create --typedoesn't exist; the task type is now set through the API after creation.glab issue relationdoesn't exist; issues are linked with--linked-issueson creation or through the issue links API.glab issue list --state alldoesn't exist and only returned the first 30 issues; issues are now listed through the API with pagination.glab apihas no--repoflag; API calls use--hostnameand the URL-encoded project path, so they work outside a clone of the GitLab project and with self-hosted instances.- The mapping file was written as invalid YAML (
stories: {}followed by entries). - Sourcing the helper script no longer turns on
set -euo pipefailin the caller's shell. - YAML parsing works with BSD/macOS
sedand ignores trailing comments.
Install
specify extension add gitlab --from https://github.com/ohartwig/spec-kit-gitlab/releases/download/v1.1.0/spec-kit-gitlab.zipSHA-256: b4e0bbcc60c35a473cc95b00ef5d74b6cefeb37e5ed37c916a2944a943d4b2fb