asdf-vm/asdf

Documentation clarification request

Open

#872 建立於 2021年2月23日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Go (23,759 star) (881 fork)batch import
enhancementhelp wanted

描述

Is your feature request related to a problem? Please describe.

It's related to an unclear portion of the documentation.

Describe the solution you'd like

On https://github.com/asdf-vm/asdf/edit/master/docs/core-configuration.md there is the following information:

legacy_version_file - defaults to no. If set to yes it will cause plugins that support this feature to read the version files used by other version managers (e.g. .ruby-version in the case of Ruby’s rbenv).

However, it is unclear if this means it will exclusively read the legacy files, or whether it will additionally read the legacy files. It's also unclear which would take precedence (though I would guess it would be .tool-versions).

I would like to use the .tool-versions file in my $HOME, but continue to use .ruby-version in repos, since it does not seem polite to require other developers to immediately switch.

Basically in a nutshell, I'm hoping I can use asdf's default (and better) file whenever it exists, but still support legacy files otherwise. The reason for this is that it would be a huge pain to have to change files for all repos and for all languages globally at the same time, and do this for all developers across an organization..

(This is a documentation clarification request, but if the clarification is that this is not currently possible, then my next step will be to create a feature request 😉.)

貢獻者指南