Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 09:02
· 130 commits to main since this release
e6aa39d

rig 0.4.0

rig can now take its planning from an issue tracker and print its tasks as Markdown.

What is new

  • Tracker intake: rig task new --from <key>, rig tracker pull (a key, a search or a label, with --children), rig tracker refresh [--all] [--dry-run], rig tracker show, rig tracker status. Adapters for Jira (Cloud and Server/Data Center), GitHub, GitLab, and exec for any other tracker.
  • Hierarchy and links: rig task parent, link, unlink; rig task list --parent|--roots|--tree; rig task show --children. Linked tasks refuse edits to fields the tracker owns.
  • Markdown: --format markdown (alias --markdown) for task show, task list and context. --format json is the same as --json.
  • rig status now also shows the open tasks and findings from the store, with no network call.
  • Branches of tasks made from an issue are stamped at creation; the workflow branch template gains {key}.
  • rig task start and rig task finish, with the kit-task marker and the worktrees.root setting.
  • New config keys: tracker.command, tracker.jira.api, tracker.jira.epicField, tracker.jira.acceptanceField, worktrees.root; rig login jira --pat for a Server/Data Center token.

Incompatibility with 0.3.0
A workflow file that uses the new tracker key, or a branch template with the new {key} placeholder, cannot be loaded by 0.3.0: it rejects the unknown key or placeholder and exits 2. Update rig on every machine that shares a global workflow file before adding either. A store written by 0.4.0 still reads in 0.3.0; it skips events it does not know.

Upgrade notes

  • Apart from those two workflow-file changes, everything is additive: existing commands, flags, exit codes and JSON fields behave as before. JSON gains parent, external and store.
  • tracker.url is never taken from a committed .rig/config.json, and tracker.command only from the global file.
  • With no tracker.url, GitHub and GitLab trackers accept only an origin host of github.com, gitlab.com or forge.host; otherwise set tracker.url.
  • rig tracker report is planned for 0.5.0.

What's Changed

Full Changelog: v0.3.0...v0.4.0