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

asdf: update page #15750

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

kemelzaidan
Copy link

Checklist

  • The page(s) are in the correct platform directories: common, linux, osx, windows, sunos, android, etc.
  • The page(s) have at most 8 examples.
  • The page description(s) have links to documentation or a homepage.
  • The page(s) follow the content guidelines.
  • The page(s) follow the style guide.
  • The PR title conforms to the recommended templates.
  • Version of the command being documented (if known): version 0.16.2

The version 0.16 of asdf have removed the global and local commands and it uses set now: https://asdf-vm.com/manage/versions.html#set-version

I also updated the english, pt_Br and italian versions with on extra command, not exceeding the 8 max (it has 7 now). With the other languages, I just updated the local and global command.

Hope that's good enough. Best regards,

@CLAassistant
Copy link

CLAassistant commented Feb 18, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added page edit Changes to an existing page(s). translation edit Changes to an existing translation page(s). labels Feb 18, 2025
@tldr-bot
Copy link

Hello! I've noticed something unusual when checking this PR:

  • The page pages.de/common/asdf.md is outdated, based on number of commands, compared to the English page.
  • The page pages.fr/common/asdf.md is outdated, based on number of commands, compared to the English page.
  • The page pages.id/common/asdf.md is outdated, based on number of commands, compared to the English page.
  • The page pages.ja/common/asdf.md is outdated, based on number of commands, compared to the English page.
  • The page pages.ko/common/asdf.md is outdated, based on number of commands, compared to the English page.
  • The page pages.zh/common/asdf.md is outdated, based on number of commands, compared to the English page.

Is this intended? If so, just ignore this comment. Otherwise, please double-check the commits.

@acuteenvy acuteenvy changed the title Asdf update asdf: update page Feb 18, 2025
Copy link
Member

@acuteenvy acuteenvy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Please sign the CLA.

@kemelzaidan
Copy link
Author

Thanks for your contribution! Please sign the CLA.

Done!

Copy link
Collaborator

@noraj noraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's wrong, old asdf local translate to asdf set without option not with asdf set -p.

The new asdf set behaves the same as asdf local by default

https://asdf-vm.com/guide/upgrading-to-v0-16.html#asdf-global-and-asdf-local-commands-have-been-replaced-with-asdf-set

Also you can see this flag is not by default:

➜ asdf set --help 
NAME:
   asdf set

USAGE:
   asdf set [command options]

OPTIONS:
   --home, -u    The version should be set in the current users home directory (default: false)
   --parent, -p  The version should be set in the closest existing .tool-versions file in a parent directory (default: false)
   --help, -h    show help


- Set local version for a package:

`asdf local {{name}} {{version}}`
`asdf set -p {{name}} {{version}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{name}} {{version}}`
`asdf set {{name}} {{version}}`


- 设置软件包的本地版本:

`asdf local {{软件包名}} {{版本}}`
`asdf set -p {{软件包名}} {{版本}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{软件包名}} {{版本}}`
`asdf set {{软件包名}} {{版本}}`


- Define a versão local de um pacote:

`asdf local {{nome}} {{versão}}`
`asdf set -p {{nome}} {{versão}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{nome}} {{versão}}`
`asdf set {{nome}} {{versão}}`


- 로컬 버전 패키지 설치:

`asdf local {{이름}} {{버전}}`
`asdf set -p {{이름}} {{버전}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{이름}} {{버전}}`
`asdf set {{이름}} {{버전}}`


- パッケージのローカルバージョンの設定:

`asdf local {{パッケージ名}} {{バージョン}}`
`asdf set -p {{パッケージ名}} {{バージョン}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{パッケージ名}} {{バージョン}}`
`asdf set {{パッケージ名}} {{バージョン}}`


- Imposta la versiona locale per un pacchetto:

`asdf local {{nome}} {{versiona}}`
`asdf set -p {{nome}} {{versiona}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{nome}} {{versiona}}`
`asdf set {{nome}} {{versiona}}`


- Setel versi bawaan/default paket piranti lunak yang akan digunakan secara lokal (pengguna saat ini):

`asdf local {{nama}} {{versi}}`
`asdf set -p {{nama}} {{versi}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{nama}} {{versi}}`
`asdf set {{nama}} {{versi}}`


- Fix en local la version d'un paquet :

`asdf local {{nom}} {{version}}`
`asdf set -p {{nom}} {{version}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{nom}} {{version}}`
`asdf set {{nom}} {{version}}`


- Lege die lokale Version für ein Paket fest:

`asdf local {{name}} {{version}}`
`asdf set -p {{name}} {{version}}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`asdf set -p {{name}} {{version}}`
`asdf set {{name}} {{version}}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
page edit Changes to an existing page(s). translation edit Changes to an existing translation page(s).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants