Skip to content

fix: rename clang-installer to clang-tools-manager#337

Merged
2bndy5 merged 2 commits into
mainfrom
rename-crate
Jun 7, 2026
Merged

fix: rename clang-installer to clang-tools-manager#337
2bndy5 merged 2 commits into
mainfrom
rename-crate

Conversation

@2bndy5

@2bndy5 2bndy5 commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

resolves #334

  • I have re-tagged previous clang-installer releases on GitHub. This means the CHANGELOG will still retain the history from clang-installer.
  • I have published clang-tools-manager v0.1.2 on crates.io and enabled trusted publishing
  • tests now run (locally) on windows! 🚀

Notes about clang-installer on crates.io

  • The clang-installer crate cannot be deleted because a couple version (release candidates) of cpp-linter depend on it.
  • I have effectively disabled publishing new versions of clang-installer by requiring trusted publishing and revoking the trusted publisher.

Summary by CodeRabbit

  • Refactor
    • Renamed package identifier from clang-installer to clang-tools-manager throughout the project
    • Updated CI/CD workflows, build configurations, dependency references, and documentation to reflect the new package name

@2bndy5 2bndy5 added the bug Something isn't working label Jun 7, 2026
@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@2bndy5, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 1 minute and 17 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 88b58f86-36a1-4d01-a191-a39238b84180

📥 Commits

Reviewing files that changed from the base of the PR and between cd160a5 and 8e04c99.

📒 Files selected for processing (1)
  • docs/docs/changelog/clang-tools-manager.md

Walkthrough

This PR renames the Rust crate clang-installer to clang-tools-manager throughout the repository. The rename addresses a Windows elevation issue where executables with "install" or "setup" in the name trigger UAC restrictions. Changes span package manifests, CI workflows, Rust source imports, and documentation.

Changes

Crate rename: clang-installer → clang-tools-manager

Layer / File(s) Summary
Package manifests and workspace members
Cargo.toml, clang-tools-manager/Cargo.toml, cpp-linter/Cargo.toml
Workspace members list, clang-tools-manager package name, binstall.pkg-url, and cpp-linter dependency all updated to reference clang-tools-manager instead of clang-installer.
CI workflow triggers and artifact restoration
.github/workflows/binary-builds.yml, .github/workflows/python-packaging.yml, .github/workflows/run-dev-tests.yml, .github/workflows/benchmark.yml, .github/workflows/build-docs.yml, .github/workflows/node-js-packaging.yml, .github/workflows/bump-n-release.yml, .github/workflows/bump-n-release.nu
Path filters in push/pull_request triggers, artifact restoration directories, publish job tag conditions and package names, and release bump script package mappings all switched from clang-installer paths to clang-tools-manager.
Rust source imports and logger configuration
clang-tools-manager/src/main.rs, clang-tools-manager/tests/common.rs, clang-tools-manager/tests/pypi.rs, clang-tools-manager/tests/static_dist.rs, cpp-linter/src/clang_tools/mod.rs, cpp-linter/src/clang_tools/clang_tidy.rs, cpp-linter/src/cli/mod.rs, cpp-linter/src/run.rs
ClangTool, RequestedVersion, and other type imports updated from clang_installer to clang_tools_manager; logger module-path filtering logic updated to recognize clang_tools_manager prefix.
Build config, test utilities, and CI profiles
clang-tools-manager/build.rs, clang-tools-manager/src/progress_bar.rs, .config/nextest.toml, cspell.config.yml
Build script user-agent, docstring example, nextest CI profile default-filter, and spellcheck ignore paths all updated to clang-tools-manager.
Documentation and development tooling
clang-tools-manager/README.md, clang-tools-manager/CHANGELOG.md, docs/docs/changelog/clang-installer.md, docs/license_gen.py, docs/mkdocs.yml, nurfile
README heading, CHANGELOG v0.1.2 release entry with binstall fix reference, changelog markdown file, license/dependency documentation generation script, mkdocs navigation, and nurfile test/docs commands all reference clang-tools-manager.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

rust

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'fix: rename clang-installer to clang-tools-manager' clearly and concisely summarizes the primary change across all files in the changeset.
Linked Issues check ✅ Passed All code changes successfully address the linked issue #334 by renaming the crate from clang-installer to clang-tools-manager throughout the codebase.
Out of Scope Changes check ✅ Passed All changes are directly related to the crate rename from clang-installer to clang-tools-manager and fall within the scope of issue #334.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rename-crate

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 and usage tips.

coderabbitai[bot]

This comment was marked as resolved.

@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.02%. Comparing base (15f6b63) to head (8e04c99).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #337   +/-   ##
=======================================
  Coverage   91.02%   91.02%           
=======================================
  Files          22       22           
  Lines        3376     3376           
=======================================
  Hits         3073     3073           
  Misses        303      303           

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@2bndy5 2bndy5 merged commit 410a4e6 into main Jun 7, 2026
85 checks passed
@2bndy5 2bndy5 deleted the rename-crate branch June 7, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rename clang-installer crate

1 participant