megalinter icon indicating copy to clipboard operation
megalinter copied to clipboard

Consider Using asdf

Open Kurt-von-Laven opened this issue 2 years ago • 10 comments

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 avatar Oct 18 '21 23:10 Kurt-von-Laven

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

nvuillam avatar Oct 19 '21 21:10 nvuillam

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.

Kurt-von-Laven avatar Oct 20 '21 08:10 Kurt-von-Laven

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[bot] avatar Nov 20 '21 00:11 github-actions[bot]

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[bot] avatar Dec 21 '21 00:12 github-actions[bot]

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[bot] avatar Jan 29 '22 00:01 github-actions[bot]

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[bot] avatar Mar 23 '22 00:03 github-actions[bot]

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.

Kurt-von-Laven avatar May 21 '22 05:05 Kurt-von-Laven

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[bot] avatar Jun 22 '22 01:06 github-actions[bot]

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[bot] avatar Jul 25 '22 01:07 github-actions[bot]

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[bot] avatar Sep 17 '22 01:09 github-actions[bot]