Fix/mise data dir path - #19
Merged
Merged
Conversation
…HOME The generated hook shim hardcoded $HOME/.local/share/mise/shims, which breaks for users who set MISE_DATA_DIR or XDG_DATA_HOME to a non-default location. Compute the path using mise's own resolution order: MISE_DATA_DIR > XDG_DATA_HOME/mise > $HOME/.local/share/mise Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- DdevBackend.ExecWithContext now computes the container working dir from the host path via ddevContainerDir/ddevProjectRoot instead of hardcoding /var/www/html — fixes monorepo subdir mode where tools ran in the wrong dir - Remove BinaryExists from the Backend interface and all implementations (dead code, never called from production paths) - Add TicketPattern field to CommitMessagePolicy; ticketRegexFor() uses it when set, falls back to default [A-Z]+-[0-9]+ - Add AllowedTypes field to CommitMessagePolicy; conventionalRegexFor() builds the type alternation from it, falls back to the built-in default set - Add ticket_pattern and allowed_types to forge.schema.json - Add tests for all four changes; remove stale BinaryExists tests - Document ticket_pattern and allowed_types in website/reference/config.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
No description provided.