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

Improve artifact compatibility by adding a fallback mechanism #38

Merged
merged 4 commits into from
Jul 14, 2024

Conversation

filiptibell
Copy link
Collaborator

@filiptibell filiptibell commented Jul 14, 2024

This PR implements a simple fallback mechanism for when tools do not specify architectures in their release files:

  • tool-name-windows.zip
  • other-tool_macos.tar.gz
  • etc

Arch is no longer mandatory in a Descriptor since this seems to be a common pattern, and Rokit should not assume any architecture as "default" since arm macs and pcs are now much more common. We will implement improved fallbacks in the future as part of #4, but for now this PR solves a very real issue and does so in a user-friendly way while also spreading awareness.

Fixes #37

@filiptibell filiptibell changed the title Improve artifact selection and compatibility, add fallback mechanism Improve artifact compatibility by adding a fallback mechanism Jul 14, 2024
@filiptibell filiptibell merged commit 94b4c0e into main Jul 14, 2024
10 checks passed
@filiptibell filiptibell deleted the improve-artifact-compat branch July 14, 2024 21:50
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.

Changes in v0.1.1 -> v0.1.2 break tool installation for some name formats
1 participant