feat(config): support global local override via runok.local.yml#105
feat(config): support global local override via runok.local.yml#105
runok.local.yml#105Conversation
….local.yml Allow users to create a machine-specific global override config at ~/.config/runok/runok.local.yml (or .yaml) that is not tracked by dotfiles. This is useful when the global config is version-controlled but the user needs machine-specific rules (e.g. internal tool allow). Merge priority: global < global local override < project < project local override Co-Authored-By: Claude Opus 4.6 <[email protected]>
Summary of ChangesHello @fohte, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses the need for machine-specific global configuration overrides, similar to how project-local overrides function. It introduces a new Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
…ution The `.yml`-then-`.yaml` fallback logic was repeated across three methods (`global_local_override_config_path`, `local_config_path`, `local_override_config_path`). Extract a shared `find_config` helper that takes a directory and candidate filenames.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #105 +/- ##
==========================================
+ Coverage 89.82% 89.93% +0.11%
==========================================
Files 29 29
Lines 6242 6332 +90
==========================================
+ Hits 5607 5695 +88
- Misses 635 637 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Why
runok.local.ymlfor personal overrides, but the global config lacked an equivalent mechanismWhat
~/.config/runok/runok.local.yml(or.yaml) as a global local override