Skip to content

feat: add atlassian-jira-confluence-cli (acli) dev container feature#15

Merged
rosstaco merged 3 commits into
mainfrom
feat/acli
Jul 24, 2026
Merged

feat: add atlassian-jira-confluence-cli (acli) dev container feature#15
rosstaco merged 3 commits into
mainfrom
feat/acli

Conversation

@rosstaco

Copy link
Copy Markdown
Owner

Summary

Adds a new dev container feature atlassian-jira-confluence-cli that installs the official Atlassian CLI (acli command) for working with Jira and Confluence Cloud from the command line.

The feature is published under the descriptive id atlassian-jira-confluence-cli for discoverability; the installed binary and all internals remain acli.

What's included

  • Feature (src/atlassian-jira-confluence-cli/): downloads the official static acli binary from acli.atlassian.com — the rolling latest release or a pinned <version>-stable archive — supporting amd64 and arm64.
  • Options:
    • versionlatest (default) or a pinned version such as 1.3.21
    • installPath — install directory (default /usr/local/bin)
    • configureBrowser — installs an xdg-open shim (default true) that prefers $BROWSER so acli auth login opens the OAuth page on your host instead of failing inside the container
  • Tests (test/atlassian-jira-confluence-cli/): autogenerated checks plus scenarios for version pinning, custom install path, and the browser-shim opt-out. Wired into the CI test matrix (.github/workflows/test.yaml) and the justfile.
  • Documentation: feature README.md/NOTES.md and a new section in the root README.md.
  • Also switches the repository's own dev container to the mcr.microsoft.com/devcontainers/base:noble image.

Testing

devcontainer features test passes for all suites:

  • Autogenerated checks on debian:latest (incl. acli --version, jira/confluence subcommands, and the xdg-open shim behavior)
  • Scenarios: version (pinned 1.3.21), custom-install-path, no-browser-shim

rosstaco added 2 commits July 1, 2026 04:44
Installs the official Atlassian CLI (acli command) for Jira and Confluence
Cloud. The feature is published as `atlassian-jira-confluence-cli` for
discoverability; the installed binary and internals remain `acli`.

- Downloads the static binary from acli.atlassian.com (latest rolling release
  or a pinned <version>-stable archive), supporting amd64 and arm64
- Installs an xdg-open shim (configureBrowser, default true) that prefers
  $BROWSER so `acli auth login` opens OAuth on the host instead of failing
  inside the container
- Adds autogenerated + scenario tests (version pinning, custom install path,
  browser-shim opt-out) and wires the feature into the CI test matrix and justfile

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rosstaco

Copy link
Copy Markdown
Owner Author

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	.github/workflows/test.yaml

Copilot AI commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved. The only conflict was in .github/workflows/test.yaml — main had replaced - copilot-metrics-lgtm with an explanatory comment in the test-autogenerated matrix, while this branch also added - atlassian-jira-confluence-cli to that same block. The merge keeps both: the comment from main and atlassian-jira-confluence-cli from this branch. Merge commit: b10d9f9.

@rosstaco
rosstaco merged commit c651810 into main Jul 24, 2026
27 checks passed
@rosstaco
rosstaco deleted the feat/acli branch July 24, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants