[BUG] asdf can't install dojo
Describe the bug
running asdf install dojo latest results in the following error:
curl: (22) The requested URL returned error: 404
asdf-dojo: Could not download https://github.com/dojoengine/dojo/releases/download/v1.2.2/dojo_v1.2.2_linux_aarch64.tar.gz
when attempting to install dojo toolchain in linux on arm.
To Reproduce
asdf plugin add dojo https://github.com/dojoengine/asdf-dojo
asdf install dojo latest
Expected behavior dojo toolchain should install when using asdf
Additional context
It looks like the format of release tar files is incorrect/non-standard.
Asdf is expecting aarch64 while dojo releases seem to use arm64 in the suffix when naming the release files.
I believe the standard for arm is to use the aarch64 tag so fixing this would be much appreciated.
Hum, which asdf version do you have? Aren't you on a amd64 macOS actually?
We have the same format for release artifacts for a moment now, wondering about the format required in your case.
I am reaching out to express my interest in contributing to the project , to address the issue related to the Dojo toolchain installation for ARM architecture when using the ASDF plugin. I'm good at debugging codes.
ETA: 2Days
thank you @bengineer42 for the fix. We're currently reworking the dojoup script and asdf should make use of it for easier installation and version management.
Fixed in asdf with @bengineer42 PR and currently new dojoup would be preferred for components management.