Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: properly handle executable shims when getting diffs #1545

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

Ajpantuso
Copy link
Contributor

Summary

Fixes #1526

Shim diffs were not finding executable shell scripts already present in the shim directory. This change adds proper handling for shims which are not symlinks.

@jdx jdx enabled auto-merge (squash) January 27, 2024 15:28
@Ajpantuso
Copy link
Contributor Author

@jdx seems like a weird CDN issue is causing CI to flake. If I try to access a sub-path on the docs site directly, e.g. https://mise.jdx.dev/lang/bun.html, I get a 404. But, when accessing the same link from the site sidebar I get a 200.

2024-01-27T15:28:22.3485937Z   ERROR: 2 dead links found in README.md !
2024-01-27T15:28:22.3486826Z   [✖] https://mise.jdx.dev/dev-tools/ → Status: 404
2024-01-27T15:28:22.3487645Z   [✖] https://mise.jdx.dev/tasks/ → Status: 404
2024-01-27T15:28:22.3488242Z 
2024-01-27T15:28:22.3488511Z   ERROR: 1 dead links found in docs/bun.md !
2024-01-27T15:28:22.3489360Z   [✖] https://mise.jdx.dev/lang/bun.html → Status: 404
2024-01-27T15:28:22.3489854Z 
2024-01-27T15:28:22.3490096Z   ERROR: 1 dead links found in docs/deno.md !
2024-01-27T15:28:22.3491071Z   [✖] https://mise.jdx.dev/lang/deno.html → Status: 404
2024-01-27T15:28:22.3491629Z 
2024-01-27T15:28:22.3491867Z   ERROR: 1 dead links found in docs/go.md !
2024-01-27T15:28:22.3492776Z   [✖] https://mise.jdx.dev/lang/go.html → Status: 404
2024-01-27T15:28:22.3493285Z 
2024-01-27T15:28:22.3493524Z   ERROR: 1 dead links found in docs/java.md !
2024-01-27T15:28:22.3494362Z   [✖] https://mise.jdx.dev/lang/java.html → Status: 404
2024-01-27T15:28:22.3494852Z 
2024-01-27T15:28:22.3495241Z   ERROR: 1 dead links found in docs/node.md !
2024-01-27T15:28:22.3496081Z   [✖] https://mise.jdx.dev/lang/node.html → Status: 404
2024-01-27T15:28:22.3496621Z 
2024-01-27T15:28:22.3496879Z   ERROR: 1 dead links found in docs/python.md !
2024-01-27T15:28:22.3497856Z   [✖] https://mise.jdx.dev/lang/python.html → Status: 404
2024-01-27T15:28:22.3498389Z 
2024-01-27T15:28:22.3498631Z   ERROR: 1 dead links found in docs/ruby.md !
2024-01-27T15:28:22.3499475Z   [✖] https://mise.jdx.dev/lang/ruby.html → Status: 404

@jdx
Copy link
Owner

jdx commented Jan 27, 2024

oh this is something I just broke with the cdn

@jdx jdx merged commit add7253 into jdx:main Jan 27, 2024
7 checks passed
@Ajpantuso Ajpantuso deleted the apantuso/fix_reshim_for_non-symlinks branch January 27, 2024 16:18
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.

Mise doctor falsely complains shims are missing
2 participants