feat(config): add global config file support#59
feat(config): add global config file support#59Amolith wants to merge 4 commits intosatococoa:mainfrom
Conversation
Load config from $XDG_CONFIG_HOME/wtp/config.yml (or ~/.config/wtp/config.yml fallback) and merge with project-local .wtp.yml. Merge behavior: - defaults: project wins if set, otherwise global - hooks: concatenate (global first, then project) - version: project wins Assisted-by: Claude Opus 4.5 via Crush Assisted-by: Claude Sonnet 4.5 via Crush
|
Warning Rate limit exceeded@satococoa has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 12 minutes and 56 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
WalkthroughAdds global configuration loaded from $XDG_CONFIG_HOME/wtp/config.yml (fallback ~/.config/wtp/config.yml), merges it with project Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
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 |
|
I decided I was tired of I haven't decided whether I prefer |
|
I would like to see this feature as well. I dont want to have to add a .wtp.yml to every repo and then add that to the .gitignore too. |
I've got some workflows that rely on the same local files/dirs across multiple (even all) projects. I also really like using a common worktree structure across all the projects I create/contribute to, described in that
base_dir: ".."example workflow I left in the### Global Configurationcomments (happy to remove before merge).Copying mostly-the-same config files around to all the projects then making tiny additions would be quite tedious, so this loads a global config from
$XDG_CONFIG_HOME/wtp/config.yml(or~/.config/wtp/config.ymlfallback) and merges with the project-local.wtp.yml.Happy to modify any of this before merge, or even keep it in a soft fork if you'd prefer not to maintain the changes. Thank you for creating
wtp🙂Assisted-by: Claude Opus 4.5 via Crush
Assisted-by: Claude Sonnet 4.5 via Crush
Summary by CodeRabbit
New Features
Documentation
Tests
✏️ Tip: You can customize this high-level summary in your review settings.