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

Consider Using asdf #870

Open
Kurt-von-Laven opened this issue Oct 18, 2021 · 10 comments
Open

Consider Using asdf #870

Kurt-von-Laven opened this issue Oct 18, 2021 · 10 comments
Labels
enhancement New feature or request nostale This issue or pull request is not stale, keep it open

Comments

@Kurt-von-Laven
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Mega-Linter presently maintains a wide variety of tool installation snippets, but this work is already done by asdf.

Describe the solution you'd like
Use asdf in tandem with .tool-versions files to install all asdf-supported tools. Write asdf plugins for any tools we need to install that don't support asdf.

Describe alternatives you've considered
Leave the code base as is.

Additional context
This change should not affect users of Mega-Linter, only contributors.

@Kurt-von-Laven Kurt-von-Laven added the enhancement New feature or request label Oct 18, 2021
@nvuillam
Copy link
Member

Do you mean some unique install command line to run to be able to contribute to Mega-Linter easily on any platform ?

If yes, that's a great idea ! :)

If it affects only contributors, that's great so no risk of regression for users

@Kurt-von-Laven
Copy link
Collaborator Author

Yeah, I think that is a compelling use case for asdf. I could also see it being valuable in Dockerfiles since presently they install a lot of different tools via, for example, curling install scripts that upstream may break. That part would have nonzero regression risk, so it would require more testing, but no reason they would need to be done all at once.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Nov 20, 2021
@Kurt-von-Laven Kurt-von-Laven removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Nov 20, 2021
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Dec 21, 2021
@Kurt-von-Laven Kurt-von-Laven removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Dec 29, 2021
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jan 29, 2022
@Kurt-von-Laven Kurt-von-Laven removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Feb 19, 2022
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Mar 23, 2022
@github-actions github-actions bot closed this as completed Apr 7, 2022
@Kurt-von-Laven Kurt-von-Laven added nostale This issue or pull request is not stale, keep it open and removed O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity labels May 21, 2022
@Kurt-von-Laven
Copy link
Collaborator Author

We've been using asdf for a while now across different operating systems and toolchains, and I have grown ever more sold on the idea its use could greatly simplify MegaLinter. It can serve as the base of the pyramid, with any of its enormous array of plugins layered on top (most notably almost every major package manager), and then each plugin can install the appropriate versions of the appropriate dependencies. It is a very flexible and extensible approach to dependency management.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jun 22, 2022
@Kurt-von-Laven Kurt-von-Laven removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jun 23, 2022
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jul 25, 2022
@github-actions github-actions bot closed this as completed Aug 9, 2022
@Kurt-von-Laven Kurt-von-Laven removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Aug 17, 2022
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Sep 17, 2022
@Kurt-von-Laven Kurt-von-Laven removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nostale This issue or pull request is not stale, keep it open
Projects
None yet
Development

No branches or pull requests

2 participants