Skip to content

feat(cli): add Linux (.deb/.rpm) and Windows (Chocolatey) c2patool package builds#2040

Open
gpeacock wants to merge 2 commits into
mainfrom
gpeacock/release_packages
Open

feat(cli): add Linux (.deb/.rpm) and Windows (Chocolatey) c2patool package builds#2040
gpeacock wants to merge 2 commits into
mainfrom
gpeacock/release_packages

Conversation

@gpeacock
Copy link
Copy Markdown
Member

Add cargo-deb and cargo-generate-rpm metadata to cli/Cargo.toml and CI steps to build and upload .deb, .rpm, and .nupkg artifacts to GitHub releases. Add chocolatey/ package template. Update README installation section with Homebrew (macOS/Linux), Chocolatey, .deb, and .rpm instructions.

Add cargo-deb and cargo-generate-rpm metadata to cli/Cargo.toml and
CI steps to build and upload .deb, .rpm, and .nupkg artifacts to
GitHub releases. Add chocolatey/ package template. Update README
installation section with Homebrew (macOS/Linux), Chocolatey,
.deb, and .rpm instructions.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.47%. Comparing base (6feef8f) to head (55bd381).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2040   +/-   ##
=======================================
  Coverage   78.47%   78.47%           
=======================================
  Files         177      177           
  Lines       45391    45391           
=======================================
  Hits        35620    35620           
  Misses       9771     9771           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 10, 2026

Merging this PR will improve performance by ×3.8

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 6 improved benchmarks
✅ 24 untouched benchmarks
⏩ 64 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory deep-ingredients/read 45.1 MB 4.7 MB ×9.7
Memory binary-ingredient-tree/read 50.8 MB 15.3 MB ×3.3
Memory update-manifests/read 43.6 MB 5.6 MB ×7.8
Simulation deep-ingredients/read 834.5 ms 278.1 ms ×3
Simulation binary-ingredient-tree/read 1,071.9 ms 773.7 ms +38.54%
Simulation update-manifests/read 815.4 ms 289.7 ms ×2.8

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing gpeacock/release_packages (55bd381) with main (9fb5ef4)2

Open in CodSpeed

Footnotes

  1. 64 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on main (6feef8f) during the generation of this report, so 9fb5ef4 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@gpeacock gpeacock requested review from ok-nick and tmathern April 17, 2026 19:00
Copy link
Copy Markdown
Contributor

@ok-nick ok-nick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving given the workflows were verified to work.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to avoid the chocolatey specific code in the CLI repo?

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