Commit Graph

1652 Commits

Author SHA1 Message Date
Trevor Brown
3874e7995a
Merge pull request #810 from asdf-vm/tb/cleanup-plugin-update-test
Cleanup unused code in plugin update tests
2020-09-28 11:46:13 -04:00
Trevor Brown
5d5ab1e6b2 Cleanup unused code in plugin update tests 2020-09-28 11:16:04 -04:00
Trevor Brown
2e3dd351b5
chore: basic tests for plugin-update command (#807) 2020-09-27 14:10:26 +10:00
Trevor Brown
8bbefba072
chore: ban echo command (#806) 2020-09-22 08:27:52 +10:00
James Hegedus
11b5403abb
chore: remove -vm from common usage as the tool is just asdf (#798) 2020-09-19 15:40:11 +10:00
Jochen Schalanda
0edb50547c
feat: support for "latest" in shell, local, and global (#802) 2020-09-19 15:37:52 +10:00
Trevor Brown
610bfde586
Merge pull request #805 from asdf-vm/joelparkerhenderson-patch-1
Fix plugin-update --all when there are no plugins
2020-09-18 11:54:03 -04:00
Trevor Brown
d93a2b6fe1 Fix syntax for plugin update loop 2020-09-18 11:41:56 -04:00
Joel Parker Henderson
0efc04bca5
Fix plugin-update --all when there are no plugins
Issue: when asdf is first installed, there are no plugins, and running `asdf plugin-update --all` crashes because the plugin directory doesn't exist; similarly, the command crashes if the plugins directory exists yet doesn't contain any subdirectories.

Solution: This patch changes the directory loop from using a wildcard `plugins/*` to a more robust approach: first verify the plugins directory exists, then use the`find` command to list subdirectories and correctly handle the corner case of no subdirectories.

Future: Consider printing an error message and/or advice message. Consider automatically creating the plugins directory as needed. Consider prompting the user to install some popular plugins.
2020-09-16 21:00:35 -07:00
Trevor Brown
c6145d08d0 Update version to 0.8.0 2020-09-07 20:16:35 -04:00
Trevor Brown
5479c6b500 Fix existing tag check in tag.sh script 2020-09-07 20:14:34 -04:00
Trevor Brown
c4e2eaf935 Update changelog again for 0.8.0 release 2020-09-07 20:00:42 -04:00
James Hegedus
96b87f4c96
docs: link to Homebrew common issues from documentation site (#795) 2020-09-08 09:07:17 +10:00
Trevor Brown
8745ae8a62 Add details on implementing backwards compatible plugins to documentation
Fixes #768
2020-09-07 11:00:54 -04:00
James Hegedus
b178cb07a7
fix: rm asdf current header row for now (#793) 2020-09-02 09:11:07 +10:00
Timo Sand
d27b3661a9
Fixes linter issues 2020-09-01 23:27:56 +02:00
Timo Sand
cd4c1c5748
Changes to use function to update plugin
Enables us to add parallelization
2020-09-01 23:27:56 +02:00
Dave Nicolson
1479ec83be
fix: fish init command (#792) 2020-09-01 08:10:50 +10:00
James Hegedus
5084592786
chore: add gitattributes file (#783) 2020-09-01 08:06:15 +10:00
James Hegedus
e9c149ea21
fix: incorrect version output in asdf current (#746) 2020-08-29 09:09:22 +10:00
Daniel Perez
77a748d70a
fix: _where_ bug when multiple versions are selected (#790)
Fixes #690
2020-08-28 19:24:59 +10:00
Daniel Perez
219b9e6db9
Fix fish completions for info command 2020-08-28 01:10:07 +01:00
Daniel Perez
a3ea698bf6
Fix fish completions for info command 2020-08-28 01:04:22 +01:00
James Hegedus
8ca2af3316
feat: cmd to print debug information (#787) 2020-08-24 10:55:41 +10:00
Daniel Perez
d37e99a21e
Merge pull request #780 from samontea/master
fix: typo causing plugin-test to erroneously fail
2020-08-18 09:46:45 +01:00
samontea
b6deb141b5 fix: typo causing plugin-test to erroneously fail 2020-08-17 15:38:36 -07:00
Trevor Brown
65aabd65e7
Merge pull request #778 from vscncls/fix/shims-folder
fix shims folder path
2020-08-12 11:02:28 -04:00
Lucas Vasconcelos
0d7a939934 fix shims folder path 2020-08-12 10:12:22 -03:00
Daniel Perez
81130db6fc
Merge pull request #777 from vscncls/fix/unique-shims-folder
make sure the shims folder is appended to path only once
2020-08-12 00:39:40 +01:00
Lucas Vasconcelos
22d79ae121 make sure the shims folder is appended to path only once 2020-08-11 20:11:24 -03:00
James Hegedus
cc929d2fdf
docs: link to our community and place(s) for q&a (#775) 2020-08-11 09:03:13 +10:00
Daniel Perez
1a01356935
fix: plugin test to emit error message when latest fails (#772)
Fix #756
2020-08-10 13:27:35 +10:00
Daniel Perez
f09532478b
Merge pull request #774 from jthegedus/docs/homebrew-prefix
fix: revert to cmds to precompute brew prefix on addition to shell config
2020-08-10 01:28:48 +01:00
James Hegedus
a76880d25a
fix: typo in subshell for fish instructions 2020-08-10 09:03:05 +10:00
James Hegedus
1a4c1c15b8 fix: revert to commands to precompute brew prefix on addition to shell config 2020-08-09 22:57:50 +00:00
Trevor Brown
e0142eed55 Update version to 0.8.0-rc1 2020-07-31 09:01:41 -04:00
Trevor Brown
ed11edfb0a Prepare for 0.8.0-rc1 release 2020-07-31 09:01:37 -04:00
Trevor Brown
265b46679b Prepare for 0.8.0 release 2020-07-31 08:58:51 -04:00
Trevor Brown
cc0023b022
feat: plugin documentation callback support 🎉 (#757) 2020-07-31 18:47:18 +10:00
James Hegedus
a5c815b6d4
fix: print tool-versions file dir on shim error (#750) 2020-07-31 18:46:33 +10:00
Trevor Brown
62d2d9cb8b
Merge pull request #760 from fajpunk/install-one-tool
Install one tool specified in .tool-versions
2020-07-15 08:38:23 -04:00
Dan Fuchs
c9c7be2080 Clarify different versions of asdf install 2020-07-09 21:46:53 -05:00
Dan Fuchs
d7e1e66c03 Add test for invalid asdf install arguments 2020-07-09 21:18:16 -05:00
Dan Fuchs
5578b7849c Clarify different versions of asdf install 2020-07-09 21:17:19 -05:00
Dan Fuchs
6a1855e26f Install one tool specified in .tool-versions
`asdf install <name>` installs that single tool at the version specified
in `.tool-versions`.  If there is no `.tool-versions` or if that tool is
not in it, an error message is shown and `asdf` exits `1`.

Implements #759
2020-07-09 18:16:50 -05:00
Trevor Brown
a492e4db42
Merge pull request #758 from fajpunk/install-bin-clarification
Docs: Clarify shim creation for writing plugins
2020-07-09 18:11:28 -04:00
Dan Fuchs
ae87dca99f Docs: Clarify shim creation for writing plugins 2020-07-09 09:51:19 -05:00
Trevor Brown
aef4ae8b5a
fix: ban the sort -V command (#755) 2020-07-08 15:37:52 +10:00
Trevor Brown
0de5f56b45
Merge pull request #754 from asdf-vm/tb/ban-column-command
Add column to list of banned commands for the asdf codebase
2020-07-06 13:21:22 -04:00
Trevor Brown
4219f9f5b1 Add column to list of banned commands for the asdf codebase 2020-07-06 09:47:35 -04:00