Commit Graph

310 Commits

Author SHA1 Message Date
Trevor Brown
9097696a4f feat(golang-rewrite): create Makefile
* Address Go linter warnings
* Fix Github workflow
2024-12-18 11:32:00 -05:00
Trevor Brown
2b02f51fa1 feat(golang-rewrite): create plugin remove command
* Simplify BATS test Golang code
* Update plugin add test to new command format
* Correctly set `ASDF_DATA_DIR` for BATS tests
* Rename `PluginAdd` function to `Add`
* Create `plugin.Remove` function
* Make plugin remove command invoke `plugin.Remove` function
2024-12-18 11:32:00 -05:00
Trevor Brown
2951011090 feat(golang-rewrite): set variables for bats integration tests 2024-12-18 11:32:00 -05:00
莊喬
fa3d216540
test: unset ASDF_DATA_DIR and ASDF_CONFIG_FILE during test (#1722)
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-17 15:58:05 -05:00
Trevor Brown
15571a2d28
feat(golang-rewrite): remove asdf update command to prepare for Go version (#1806) 2024-12-16 15:38:02 -05:00
Ben Blank
44f3efb63b
fix: Only display the "can't keep downloads" warning when asked to keep downloads (#1756) 2024-08-15 10:08:49 -04:00
Edwin Kofler
b8ecf71d77
test(fish): Improve test isolation (#1708) 2024-01-19 19:38:06 +11:00
Edwin Kofler
19515eda3b
fix: warn if plugin does not support keeping downloads if configured (#1644) 2024-01-10 00:06:35 +11:00
Edwin Kofler
dfea89ccc7
fix: avoid mention of ASDF_NU_DIR (#1660) 2024-01-09 23:25:30 +11:00
Lorenz Kitzmann
0ddab5dfaf
fix: nushell language syntax update (#1624)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2023-09-11 21:02:46 +10:00
Edvard
36c7024baa
feat: add plugin location when update the plugin (#1602) 2023-09-11 00:43:39 +10:00
Edwin Kofler
4dd190466a
fix!: 0 exit code for success when adding an existing plugin (#1598) 2023-07-26 21:42:08 +10:00
Edwin Kofler
097f7733d6
fix: warn if .tool-versions or asdfrc contains carriage returns (#1561) 2023-05-28 23:36:53 +10:00
Edwin Kofler
684f4f058f
feat: Support configurable ASDF_CONCURRENCY (#1532)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2023-04-19 13:45:51 +00:00
Trevor Brown
2dd65e0e71
chore: only ban readlink -f (#1539) 2023-04-13 10:06:25 -04:00
Edwin Kofler
491ef2a9f2
test: rm useless echo usage in tests (#1535) 2023-04-11 03:58:58 +00:00
alexezio
d28b13a8c7
test: reshim of plugins installed by path (#1287)
Co-authored-by: Benchi Lian <benchi.lian@thoughtworks.com>
Co-authored-by: James Hegedus <jthegedus@hey.com>
2023-04-05 13:48:13 +00:00
Edwin Kofler
213aa22378
feat: Support PowerShell Core (#1522) 2023-04-01 04:12:20 +00:00
Edwin Kofler
747a55fe4a
test: skip tests for uninstalled shells when run locally (#1517) 2023-03-26 23:18:00 +00:00
Edwin Kofler
a1b5eeec1c
fix: asdf info show BASH_VERSION & all asdf envs (#1513) 2023-03-26 22:28:16 +00:00
Edwin Kofler
bbcbddcdd4
fix: Better handling with paths that include spaces (#1485) 2023-03-24 12:37:23 +00:00
Andrea Jemmett
9363fb2f72
fix: Nushell plugin list --urls (#1507) 2023-03-23 01:23:53 +00:00
Andrea Jemmett
c5b8b3c128
fix: nushell plugin list all (#1501) (#1502) 2023-03-21 08:53:10 +00:00
Edwin Kofler
cd4c3f9698
test: assert info and help output (#1482)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2023-02-19 22:10:05 +11:00
Edwin Kofler
dd8d3999d4
fix: support nushell v0.75.0 (#1481) 2023-02-19 21:46:59 +11:00
Edwin Kofler
e0fd7a7be8
fix: enforce & use consistent function definitions (#1464) 2023-01-29 14:52:22 +11:00
Edwin Kofler
aa0abfa504
test: Skip Fish test if not installed (#1463) 2023-01-29 12:51:54 +11:00
Edwin Kofler
22be95e68d
test: vaidate Bats minimum required version in tests (#1460) 2023-01-28 21:57:39 +11:00
Edwin Kofler
90ead5ea0a
chore: Fix ShellCheck errors in tests (#1459)
Closes https://github.com/asdf-vm/asdf/issues/1396
2023-01-27 23:17:41 +11:00
Edwin Kofler
df154edc25
test: better isolate Git in test suite (#1454) 2023-01-27 23:09:43 +11:00
Edwin Kofler
ffa018763c
chore: Fix ShellCheck errors in tests (#1452) 2023-01-26 00:37:21 +11:00
Edwin Kofler
f0fe961373
chore: Remove useless echos in test/ (#1455) 2023-01-25 18:40:03 +11:00
Edwin Kofler
720fd17200
chore: Fix ShellCheck errors in tests (#1451) 2023-01-25 00:15:23 +11:00
Edwin Kofler
28b348a041
chore: Fix ShellCheck errors in tests (#1450) 2023-01-23 15:29:18 +11:00
Edwin Kofler
b5e981cf1d
chore: Fix ShellCheck errors in tests (#1449) 2023-01-23 10:36:47 +11:00
Edwin Kofler
6f64aa8d84
chore: Fix ShellCheck errors in tests (#1444) 2023-01-22 23:04:46 +11:00
Edwin Kofler
998180e362
chore: Fix ShellCheck errors in tests (#1443) 2023-01-22 21:55:19 +11:00
Edwin Kofler
407a6696c0
chore: fix ShellCheck errors in tests (#1433) 2023-01-22 20:20:23 +11:00
Edwin Kofler
d81b81f9de
fix: Remove == inside [ (#1421)
* lint(checkstyle): Miscellaneous tweaks
* lint(checkstyle): Add 'no-double-equals' rule
* lint: Remove double equals from `[`
* chore: Remove final double equals

Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2023-01-14 08:18:44 -05:00
Edwin Kofler
d6a4cbd685
test: improve Elvish tests (#1422) 2023-01-09 11:59:42 +11:00
Edwin Kofler
035e247056
test: Do not run Nu test if it does not exist (#1423)
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2023-01-06 09:43:15 -05:00
Edwin Kofler
670c96d1a6
fix: Allow path: versions to use ~ (#1403) 2023-01-06 07:08:48 -05:00
Fer
60d4494d5d
fix: Add test for nushell integration and fix some bugs (#1415)
* Add test for nushell integration
* Add nushell to CI
* Fix brew installation search
* Fix to get current dir when ASDF_DIR is empty
* Remove complexity of asdf.nu
* Try a different approach to get info about function definition of asdf for MacOS 10.15
* Fix shims dir and fix test assertions to check path
* Add setup nushell to CI and remove rust compilation of nushell
* Add gh token to get a higher rate limit
* Change to use binary distribution of nushell instead compile it
* Skip test for older ubuntu
* Use single skipping check
* Remove unneeded condition in SKIP_NUSHELL_TESTS env var
2023-01-04 15:42:34 -05:00
Trevor Brown
8aa060ade9
Merge branch 'master' into improve-pwd 2023-01-04 09:49:11 -05:00
Edwin Kofler
f522ab9879
fix: Remove usage of $(pwd) in favor of $PWD 2022-12-30 01:57:35 -08:00
Edwin Kofler
196a05b2dc
fix: force lwrcase plugin name fix capitalization mismatch errs (#1400)
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
Closes https://github.com/asdf-vm/asdf/issues/816
2022-12-29 13:12:47 +11:00
Dylan Chong
5af7625769
fix: reshim did not rewrite executable path (#1311)
Co-authored-by: James Hegedus <jthegedus@hey.com>
Fixes https://github.com/asdf-vm/asdf/issues/1115
Fixes https://github.com/asdf-vm/asdf/issues/1231
Fixes https://github.com/asdf-vm/asdf/issues/1286
2022-12-21 08:25:34 +11:00
Edwin Kofler
15faf93a0d
fix: Remove unecessary backslashes (#1384) 2022-12-20 15:54:00 -05:00
Edwin Kofler
ec972cbdf0
fix: Ban use of 'test' (#1383) 2022-12-19 08:08:38 -05:00
Yuri Pereira Constante
24b46078e3
test: use resulting PATH on duplicated source tests (#1328)
* test: use actual result PATH for fish test

Fish uses space instead of colon for $PATH separator

* test: use actual result PATH for elvish and sh tests
2022-10-18 09:58:12 -04:00