Repository navigation
Download versioned, platform-specific yak CLI - #18
Merged
Merged
Conversation
McNeel no longer updates tools/latest/yak.exe and replaced it with a deprecation notice. Download the pinned build for the current platform instead, and drop the Mono fallback, which only applied to the old .NET Framework yak.exe. Co-Authored-By: Claude Opus 5.5 <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.
yakerizeandpublish_yakdownloadedtools/latest/yak.exe, which now prints a deprecation warning. McNeel has stopped updating that URL and replaced it with a deprecation notice.This PR downloads a pinned build (
YAK_VERSION = "0.19.1") for the current OS and architecture, using the URLs from the yak CLI reference.yakfrom the Rhino app bundle or PATH, and now download the native build if neither is found.yak.exe.Needs testing before merge: the new binary has not been run yet. Only the URL selection is covered by tests, and the download URLs were checked with headers-only requests. McNeel says v0.19.1 "requires .NET 10", and neither the docs nor the forum say whether the builds bundle the runtime. Please run
invoke yakerizeandinvoke publish_yak --test-serveron a machine without .NET 10. If it fails, CI will need .NET 10 installed, orYAK_VERSIONcan move to0.15.1, which targets .NET 8.What type of change is this?
Checklist
CHANGELOG.mdfile in theUnreleasedsection under the most fitting heading (e.g.Added,Changed,Removed).invoke test).invoke lint).compas.datastructures.Mesh.🤖 Generated with Claude Code