-
Notifications
You must be signed in to change notification settings - Fork 257
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
Add asdf installation instructions to docs #383
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! Can you shorten it up a bit? :)
Co-authored-by: Nate Finch <natefinch@github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@natefinch can we get this transferred to the magefile org? This is really useful for projects and would be good to know the regular test suite runs. The test case is already documented too. |
I'm fine with that. Other than copying the repo to the mage org, we'd also need to update the asdf-plugins repo to point at the new location. |
I'm not entirely sure that asdf is even really needed for mage. It says it's intended to manage different versions of tools, but mage is 100% backwards compatible, so you don't need to manage versions, you can always just get latest and it'll work with any mage script ever written. |
it's probably not "needed" 😏 but the reason I love to manage tools with asdf is it provides a standard way of installing binaries from a CI pov, that theoretically works on multiple system architectures. For instance, this tool is a github-action linter written in rust and I install the last stable version with asdf on commits to any PR to ensure changes to any other action conforms to standards. https://i.imgflip.com/6a48ie.jpg I don't personally regularly use mage, and I cannot remember why I originally made this plugin 🤔 , but someone might want to do the same and I'll transfer ownership if desired 🤷 Also happy to continue "maintaining" this plugin, but there haven't been any PRs yet. |
That's funny that you're not even using Mage. Sheldon, do you want to take over, since you actually do use it? I know the burden of maintaining stuff that you don't even use. |
@natefinch be more than happy to help where I can. I've been meaning to explore creating an asdf plugin but hadn't yet. I actually do most of my installs in mage tasks now 😆 and avoid bash scripting where I can. I'll have to getfamiliarr with the asdf one. |
To be fair I prefer The versioning is a perk, but running on latest is also totally fine. |
The asdf version manager is a tool for installing release binaries from Github. With asdf installed, the asdf plugin for mage can be used to install any released version of mage.
Please let me know if there is anything else I can do for this PR.
PS: Also willing to transfer ownership of the plugin if that is desirable to the community