feat: allow explicit use of package managers#372
Conversation
📝 WalkthroughWalkthroughAdds an ChangesSystem Package Manager Opt-In Flag
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
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. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #372 +/- ##
=======================================
Coverage 92.42% 92.43%
=======================================
Files 23 23
Lines 3632 3649 +17
=======================================
+ Hits 3357 3373 +16
- Misses 275 276 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The adds 2 new CLI options (for both `cpp-linter` and `clang-tools` binaries): 1. `--mod-sys` defaults to the value of a `CI` env var (if present); allows enabling package managers in non-CI contexts. 2. `--no-mod-sys` strictly disallow use of package-managers; overrides the default value of `--mod-sys`. Using both options in 1 invocation causes a conflict error. resolves #364
The adds 2 new CLI options (for both
cpp-linterandclang-toolsbinaries):--mod-sysdefaults to the value of aCIenv var (if present); allows enabling package managers in non-CI contexts.--no-mod-sysstrictly disallow use of package-managers; overrides the default value of--mod-sys.Using both options in 1 invocation causes a conflict error.
resolves #364
Summary by CodeRabbit
--mod-sysand--no-mod-sysCLI flags to control whether system package managers are used for clang tool installation. System package manager usage is automatically enabled in CI environments unless explicitly disabled via--no-mod-sys.