Commit Graph

1691 Commits

Author SHA1 Message Date
dependabot[bot]
b7e8b81442
chore(deps): bump actions/setup-node from 1 to 3 (#1263) 2022-06-24 09:30:49 +00:00
dependabot[bot]
ef4bc281d7
chore(deps): bump actions/checkout from 2 to 3 (#1266) 2022-06-24 09:26:43 +00:00
James Hegedus
21bc411915
ci: add latest OSs to testing matrix, bump BATS, shfmt, shellcheck (#1260)
* ci: add latest OSs to testing matrix
* ci: bump bats & shellcheck & shfmt
* chore: format with latest shfmt
2022-06-24 19:20:27 +10:00
James Hegedus
b1842b1b8e
ci: configure dependabot scanning & PR generation (#1261) 2022-06-23 11:16:20 +10:00
dependabot[bot]
6873a946ae
chore(deps): bump nanoid from 3.1.23 to 3.3.4 in /docs (#1258)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 23:05:14 +10:00
dependabot[bot]
93ba4e5cbe
chore(deps): bump markdown-it from 12.1.0 to 12.3.2 in /docs (#1259)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 23:05:05 +10:00
botp
5ea67953be
feat: mark current resolved versions in asdf list output (#762)
Co-authored-by: botp <botpena@example.com>
Co-authored-by: James Hegedus <jthegedus@hey.com>
2022-06-21 22:54:02 +10:00
dependabot[bot]
b94ac1d6c8
chore(deps): bump ansi-regex from 5.0.0 to 5.0.1 in /docs (#1252)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 01:42:16 +10:00
dependabot[bot]
c576e32fc2
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (#1251)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 01:19:57 +10:00
dependabot[bot]
aff02ae8a7
chore(deps): bump prismjs from 1.24.1 to 1.27.0 in /docs (#1205)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 00:53:28 +10:00
Trevor Brown
950e417271
docs: remove text from plugin create doc that says utils.bash functions are available (#1247)
While the sentence is correct we do not want users relying on `utils.bash` internal functions

Related to the conversation on #682
2022-06-13 13:24:55 -04:00
github-actions[bot]
7e7a1faa70
chore: release 0.10.2 (#1233)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-09 09:12:52 -04:00
Kimiaki Kuno
b9962f7156
fix: get invalid ASDF_DATA_DIR when exec asdf shims by non-shell (#1154)
* fix: get invalid ASDF_DATA_DIR when exec asdf shims by non-shell

asdf_data_dir function inits ASDF_DATA_DIR with HOME when value is empty.
HOME may replace to empty string when asdf shims called by non-shell program.
this makes invalid value of ASDF_DATA_DIR.
2022-06-08 12:54:53 -04:00
Trevor Brown
92d005dacd
fix: update plugin-add regex to support other languages (#1241)
[:alpha:] and [:digit:] character classes support characters from other
languages whereas ranges like a-z and 0-9 may not.

Fixes #1237
2022-06-07 08:43:02 -04:00
Robby Russell
738306bc5d
fix: updating references to legacy github.io site (#1240) 2022-06-01 15:12:32 -04:00
Trevor Brown
711ad99104
fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present (#1238)
* fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present
* fix: correct version command unit tests for ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

Fixes #1082
2022-05-27 07:50:04 -04:00
Trevor Brown
0bc8c3ab68
fix: update event trigger for doc-version workflow (#1232)
Possible fix for https://github.com/asdf-vm/asdf/issues/1230
2022-05-20 09:07:11 -04:00
github-actions[bot]
f8109e0d8c
chore: release 0.10.1 (#1211)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-18 07:54:06 -04:00
Daniel Schömer
86537d2a6d
docs: ASDF_DIR/ASDF_DATA_DIR absolute paths (#1225)
docs: ASDF_DIR/ASDF_DATA_DIR strict absolute paths

This PR updates the documentation for environment variables `ASDF_DIR` and `ASDF_DATA_DIR`.

Both variables should be set to _absolute_ paths to avoid issues with plugins changing the current working directory.
2022-05-17 08:03:40 -04:00
Trevor Brown
788ccab597
fix: only iterate over directories in the plugins/ directory (#1228)
Fixes part of #1029
2022-05-12 07:48:54 -04:00
Trevor Brown
37046c7c64 Merge branch 'imefisto-master' 2022-05-09 08:09:52 -04:00
Ignacio El Kadre
91136234e9 fix: instead /tmp, use TMPDIR if defined 2022-05-09 08:09:27 -04:00
Trevor Brown
39909e01af
fix: add asdf to list of banned commands (#1224)
Ban recusive asdf calls as they are inefficient and may introduce bugs.
If you find yourself needing to invoke an `asdf` command from within
asdf code, please source the appropriate file and invoke the
corresponding function.
2022-05-06 09:21:06 -04:00
Josué Lobo
a9caa5bdff
fix: fixing bats (#1215)
docs/pt-br/contribute/core.md
2022-04-26 10:05:12 -04:00
Josué Lobo
068432f114
docs: updates portuguese translation in the documentation (#1210)
* docs: <getting started> translate missing snippets
* docs: translate missing snippets
* docs: translate plugins create article
* docs: translate documentation to contribute
* docs: translate contribute core
* docs: translate first-party-plugins
* docs: translate contribute/github-actiosn
2022-04-26 09:01:58 -04:00
Trevor Brown
27f7ef7852
fix: don't invoke asdf inside asdf commands (#1208)
* fix: don't invoke asdf inside asdf commands

Recursive calls have a number of disadvantages:

* Poorer performance since each invocation spawns and new process and re-executes all the code in bin/asdf
* Makes debugging more difficult
* More likely to introduce subtle bugs and the possibility for infinite loops
2022-04-25 08:45:19 -04:00
Dave Nicolson
713bcebaa7
docs: update version (#1214) 2022-04-25 08:18:21 -04:00
skwerlman
5a89563c0a fix: update elvish to 0.18.0
* replace deprecated 'except' with 'catch'
2022-04-22 07:50:53 -04:00
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