Skip to content

Add claude to eget_packages for Claude Code CLI tool - #51

Draft
kenorb wants to merge 1 commit into
dev-zedfrom
dev-claude
Draft

Add claude to eget_packages for Claude Code CLI tool#51
kenorb wants to merge 1 commit into
dev-zedfrom
dev-claude

Conversation

@kenorb

@kenorb kenorb commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary by Sourcery

Add support for installing the Claude Code CLI via the eget-based Ansible playbook.

New Features:

  • Add a configurable 'claude' package entry to the eget Ansible task for downloading the Claude Code CLI tool.
  • Expose 'claude' as an example package in variables-example.yml so it can be enabled in deployments.

@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 3b96c02b-f351-4c24-8121-abe76c37b570

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sourcery-ai

sourcery-ai Bot commented Aug 8, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR adds support for installing the Claude Code CLI via the existing eget-based package installation playbook and documents it in the example variables list so it can be enabled like other tools.

File-Level Changes

Change Details Files
Add eget configuration needed to download and install the Claude Code CLI binary for multiple architectures and Alpine/non-Alpine environments.
  • Introduce a new claude entry in the eget_packages_map pointing to the Claude Code download URL pattern.
  • Use curl against the latest release endpoint to dynamically resolve the current version path.
  • Select the correct OS/architecture-specific artifact suffix using eget_arch, eget_plain_arch, and ansible_facts['os_family'] to distinguish Alpine (musl) from other Linux targets.
  • Map common architectures (x86_64, arm64, others) to Claude’s expected x64/arm64/arm naming scheme for the download path.
.ansible/playbooks/tasks/eget.yml
Expose the Claude Code CLI as an optional eget-managed package in the example variables configuration.
  • Add claude to the eget_packages list so users can opt in to installing the Claude Code CLI.
  • Document Claude Code CLI with a brief description and Anthropic attribution alongside other tools.
.ansible/variables-example.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions github-actions Bot added the check-error Workflow reported errors label Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

⛔ Workflow Failures Detected

The following job errors and annotations were found:

  • Check / check / Pre-commit at .github:122: Process completed with exit code 1.
  • Check / check / Pre-commit at .ansible/variables-example.yml:175: Line too long (125 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/zed.yml:72: Use failed_when and specify error conditions instead of using ignore_errors.
  • Check / check / Pre-commit at .ansible/playbooks/tasks/zed.yml:65: Use failed_when and specify error conditions instead of using ignore_errors.
  • Check / check / Pre-commit at .ansible/playbooks/tasks/zed.yml:57: Use failed_when and specify error conditions instead of using ignore_errors.
  • Check / check / Pre-commit at .ansible/playbooks/tasks/zed.yml:23: Line too long (143 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:120: Line too long (122 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:111: Line too long (131 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:95: Line too long (327 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:88: Line too long (139 > 120 characters)
  • Check / check / Pre-commit at .ansible/variables-example.yml:175: 175:121 [line-length] line too long (125 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:120: 120:121 [line-length] line too long (122 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:111: 111:121 [line-length] line too long (131 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:95: 95:121 [line-length] line too long (327 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/eget.yml:88: 88:121 [line-length] line too long (139 > 120 characters)
  • Check / check / Pre-commit at .ansible/playbooks/tasks/zed.yml:23: 23:121 [line-length] line too long (143 > 120 characters)
  • Check / check / Link Checker at .github:163: Process completed with exit code 2.
  • Check / check / Link Checker at .github:162: Summary report available at: https://github.com/kenorb/dotfiles/actions/runs/31261741863#summary-93113523815

🛠️ Run Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

check-error Workflow reported errors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant