Commit Graph

1813 Commits

Author SHA1 Message Date
Shane Liesegang
6fc4bb8fc6
fix: make fish shell setup match other shells (#1209)
The asdf.sh file only sets `ASDF_DIR` if it hasn't already been set. This change to the fish file has it do the same.
2022-04-21 09:40:43 -04:00
github-actions[bot]
77fd510bdc
chore: release 0.10.0 (#1111)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-15 17:45:34 -04:00
Trevor Brown
448f750891
fix: local plugin in then clause too (#1203)
Co-authored-by: Kazuhiro NISHIYAMA <znz@users.noreply.github.com>
2022-04-14 11:10:17 -04:00
Bo Lopker
de6e22f909
fix: remove comments from whole file instead of line by line for performance (#1198) 2022-04-08 10:44:07 -04:00
Samuel Bodin
7493f4099c
docs: remove github discussion reference (#1175)
* Update config.yml
* Update sidebar.js
* Update navbar.js
2022-03-02 08:46:37 -05:00
cherryblossom000
682b7a1d6d
fix(elvish): prepend asdf paths to $PATH (#1174)
* fix(elvish): prepend asdf paths to `$PATH`
* refactor(elvish): minor improvements
2022-02-28 08:58:18 -05:00
MichaelDimmitt
e0d27e6c3c
fix link going to http instead of https (#1169) 2022-02-14 11:27:59 -05:00
Trevor Brown
6996b63038
docs: remove github discussions link (#1171) 2022-02-14 11:20:52 -05:00
Bruno Roque
824550ed20
feat: upgrade elvish to 0.17.0 (#1159)
* feat: upgrade elvish to 0.17.0
* Remove || and fix array slice
* Update elvish config path
* Tests use new path
* Escape $ in bats
* Fix legacy assignment in test
2022-02-11 17:19:55 -05:00
Trevor Brown
2a538fe631 Merge branch 'systemmonkey42-issue_1120' 2022-01-27 11:20:46 -05:00
David le Blanc
b2b71e6402 Added test for handling config file values containing "=" in their text 2022-01-27 11:20:08 -05:00
David le Blanc
afd6224298 Fixed config file parsing to handle "=" in value field. 2022-01-27 11:20:08 -05:00
Shengzhou Li
06d469ec4a
docs(website): add simplifed chinese (#1166)
* docs(website): add simplifed chinese
* docs: format some documentations
2022-01-27 08:02:24 -05:00
Joe Horsnell
b7dd291c98
fix: Prevent unbound variable error with nounset in asdf.sh (#1158)
`asdf` [v0.9.0][1] included a [bug fix][2] to not override an existing ASDF_DIR.

However, if `ASDF_DIR` is not set at all, then this causes an error when using bash `set -u`, or
`set -o nounset` - see [here][3] for additional info.

[1]: https://github.com/asdf-vm/asdf/releases/tag/v0.9.0
[2]: https://github.com/asdf-vm/asdf/pull/1008
[3]: https://mywiki.wooledge.org/BashFAQ/112
2022-01-19 17:00:53 -05:00
Trevor Brown
853eede94e
docs: correct tag in getting-started.md (#1151) 2022-01-05 10:54:06 -05:00
Greg Myers
d52cd52004
docs: update git/bash install docs to use 0.9.1 (#1140)
Branch 0.8.1 no longer exists, leading to detached head upon checkout
2022-01-05 09:43:23 -05:00
Stephan Kämper
5f287efddc
docs: Fix help text for 'asdf global' (#1150)
* docs: Fix help text for 'asdf global'

Signed-off-by: Stephan Kämper <the.tester@seasidetesting.com>
2022-01-04 14:09:27 -05:00
Trevor Brown
87137e4103
fix: Ban ls command (#1141)
* Ban `ls` command
* Update banned commands test so it only checks bash and sh files
* Only allow `ls` for resolving symlinks
* Replace `ls` commands with `find`
2021-12-29 12:10:39 -05:00
Jochen Schalanda
e61e3d9ade
feat: case-insensitive filtering of unstable versions in latest (#1139)
* feat: case-insensitive filtering of unstable versions in `latest`
* Fix versions in version_commands tests
2021-12-29 08:50:06 -05:00
Yves Blusseau
288468f93f
fix: don't generate on error if backup file doesn't exists (#1057)
Signed-off-by: JrCs <90z7oey02@sneakemail.com>
2021-12-23 11:43:41 -05:00
Trevor Brown
6bb07b6d36
docs: Document the latest-stable callback plugin creation docs (#1132)
Fixes #1110
2021-12-20 10:18:33 -05:00
Alberto de Murga
aafe1e5304
fix: latest --all correctly report plugins as missing (#1118) 2021-12-09 16:49:24 +11:00
Trevor Brown
6e4c39c244
fix: ban grep long flags (#1117)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-12-09 13:17:49 +11:00
Kerollos Magdy
8e6f0cc370
docs: remove the usage of sudo (#1116) 2021-12-07 12:39:34 -05:00
Max Strübing
ac2791e49f
fix: newline after error msg for ASDF_DIR (#1113)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-12-06 21:22:30 +11:00
Alberto de Murga
f85fef533f
feat(latest): adds the flag --all to the latest command (#1096) 2021-12-05 23:41:27 +11:00
nozaq
5992abb09e
fix: do not print find errors (#1102) 2021-12-05 19:21:57 +11:00
Jonas Thuresson
234778a397
fix: shorthand grep options for alpine support (#1106)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-12-05 18:40:19 +11:00
James Hegedus
ffb188ed1c
docs: fix bug report info instructions (#1107) 2021-12-05 18:24:36 +11:00
github-actions[bot]
9ee24a3a75
chore: release 0.9.0 (#994)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-03 10:37:12 -05:00
Elijah
cc7778a040
feat: Elvish Shell support (#1066) 2021-11-18 21:05:27 +11:00
Trevor Brown
4b93bc81aa
fix: Sed improvements (#1087) 2021-11-15 19:03:53 +11:00
Chris Rose
41162849cf
fix: clarify the wording when no version is set (#1088)
Co-authored-by: Chris Rose <offline@offby1.net>
Co-authored-by: jthegedus <jthegedus@hey.com>
2021-11-14 14:35:42 +11:00
kenny-evitt
ca77d42758
docs: Mention comments for .tool-versions files (#1092)
Closes #1091
2021-11-12 16:25:20 -05:00
Radon Rosborough
c911f2d431
fix: Fix plugin-test arg parsing (#1084) 2021-11-08 09:40:53 +11:00
Trevor Brown
4321980c33
fix: Correct typo on getting started page (#1086)
Co-authored-by: Khalid J Hosein <kjhosein@gmail.com>
2021-11-05 10:55:49 -04:00
Eric Nielsen
73efc9fa97
fix: don't override existing ASDF_DIR (#1008) 2021-11-03 09:47:43 +11:00
Radon Rosborough
69ff2d0c9a
fix: Quote commands correctly in plugin-test (#1078)
* fix: Quote commands correctly in plugin-test
* make it posix compliant
* default to $SHELL
2021-11-02 09:48:26 -04:00
Kosmas Chatzimichalis
d566a36433
docs: fix spelling mistake (#1072) 2021-10-18 13:38:10 -04:00
Rafael Camargo
ba04906fdd
docs: getting started translated pt-br (#1019) 2021-10-14 10:09:41 +11:00
Max Nordlund
847ec73751
fix: Use more idiomatic fish (#1042)
The use of `.` is deprecated in fish, unlike POSIX shells. We can avoid
calling `psub` and pipe directly into source which does the same thing.

https://fishshell.com/docs/current/cmds/source.html
2021-10-07 09:20:41 -04:00
Alberto de Murga
8a515f49d7
fix: Adds "grep -P" to the list of banned commands (#1064)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-10-07 09:58:42 +11:00
Vinicius Barbosa de Aguiar
245f88db0f
docs: update pt-br homepage translations (#1063)
Co-authored-by: Vinicius Barbosa de Aguiar <vb9763662@gmail.com>
2021-10-07 09:46:43 +11:00
Alberto de Murga
9430a39aef
feat: Displays a warning when a plugin from the tools-version list does not exist (#1033)
* feat: Displays a warning when the plugin from the tools-version does not exist

When calling the install command, it tried to look for versions for all
the plugins available and installed them. With this change, it will attempt to
find versions for all the installed plugins and plugins defined in the
`.tool-versions`.

Fixes https://github.com/asdf-vm/asdf/issues/574

* feat: Changes the algorithm to detect not installed plugins

This patch changes the algorithm. It preserves the original logic for
the plugin resolution, but at the same time, reports entries with plugins not
available.

* fix: Addresses the pull request comments.

- Changes the comparison to be strict rather than partial.
- Prints a list of missing plugins.
- Exists if at least one plugin is not present.
- Adds unit tests.
2021-10-01 08:38:57 -04:00
Iris Garcia
43412aad5f
fix: completions for asdf plugin list (#1061) 2021-09-30 08:24:03 -04:00
Aurel Branzeanu
cb79c692df
docs: fix brew upgrade from latest commit on master command (#1052) 2021-09-26 13:09:34 +10:00
Frederick
afe89a5718
docs: Remove stray a (#1053) 2021-09-26 13:09:16 +10:00
Yasunori Fujie
304f72dbb2
feat: add post update plugin support (#1049)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-09-24 08:53:52 +10:00
Yasunori Fujie
3e0cb9aaea
fix: help for extension commands for plugins with hyphens in the name. (#1048)
* test: add test for plugin command list in asdf help
* fix: help for plugins containing hyphens
2021-09-23 14:47:26 -04:00
Yasunori Fujie
7e1f2a0d93
fix: wait until the plugin update are finished (#1037) 2021-09-14 09:44:53 -04:00