fix: implement RALPH_CONFIG env var override - #23
Merged
mad01 merged 1 commit intoJun 23, 2026
Merged
Conversation
CLAUDE.md documented RALPH_CONFIG for overriding the config path, but getDefaultConfigPathInternal only checked XDG_CONFIG_HOME. Add RALPH_CONFIG as the first check: if set, expand and require the file to exist, failing loudly rather than silently falling back to the default. Closes MAD-78
mad01
added a commit
that referenced
this pull request
Jul 3, 2026
…e host filter - GitPull now always captures stderr to a buffer (teeing to os.Stderr when verbose), so the 'no tracking information' origin/<branch> fallback fires in verbose mode too (#22). - Recipe override sections for names that aren't valid bare TOML keys (e.g. 'web.tools') are now written as quoted keys, so the override is readable instead of parsed as nested tables (#23). - applyRecipeHostFilter now propagates recipe hosts to tool config files; env remains a flat map and is documented as not host-taggable (#24).
mad01
added a commit
that referenced
this pull request
Jul 3, 2026
CLAUDE.md documented RALPH_CONFIG for overriding the config path, but getDefaultConfigPathInternal only checked XDG_CONFIG_HOME. Add RALPH_CONFIG as the first check: if set, expand and require the file to exist, failing loudly rather than silently falling back to the default. Closes MAD-78
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
getDefaultConfigPathInternalnow checksRALPH_CONFIGbefore the XDG path. If set, the path is expanded and the file must exist — otherwise it returns an error rather than silently falling back to the default. This makes the documentedRALPH_CONFIGoverride actually work.Closes MAD-78