Skip to content

Fix/mise data dir path - #19

Merged
TerrorSquad merged 2 commits into
mainfrom
fix/mise-data-dir-path
Jun 9, 2026
Merged

Fix/mise data dir path#19
TerrorSquad merged 2 commits into
mainfrom
fix/mise-data-dir-path

Conversation

@TerrorSquad

Copy link
Copy Markdown
Owner

No description provided.

TerrorSquad and others added 2 commits June 9, 2026 14:56
…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>
@TerrorSquad
TerrorSquad merged commit f057cd6 into main Jun 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant