mig4
f994b07a2c
Optimise listing all plugins
...
When checking if a plugin is installed (to display a flag) it is not
necessary to loop through all installed plugins, since we already have
a name we can check directly.
Also expand test case to test this code path too.
2018-10-27 20:05:02 +01:00
Trevor Brown
4b857d0b7b
Merge pull request #386 from mracos/patch-1
...
Add info about $TRAVIS_BUILD_DIR on the creating plugin guide
2018-10-24 18:43:05 -04:00
Marcos Ferreira
5a2e69ca86
Add info about using the CI repo on plugin test
2018-10-24 19:20:13 -03:00
Trevor Brown
65ce0db5e1
Merge pull request #381 from asdf-vm/tb/plugin-test-tool-version
...
Add --asdf-tool-version flag to plugin-test command
2018-10-20 11:55:01 -04:00
Trevor Brown
357413c950
Add support for the --asdf-tool-version flag to the plugin-test command.
2018-10-20 11:48:10 -04:00
Trevor Brown
201449eca6
Add info on new --asdf-tool-version flag.
2018-10-20 10:56:20 -04:00
Trevor Brown
d5ded35c33
Merge pull request #379 from asdf-vm/tb/plugin-test-fixes
...
plugin-test fixes
2018-10-19 22:54:57 -04:00
Trevor Brown
13cff01ea0
Fix output for plugin_test_command function.
2018-10-19 22:46:51 -04:00
Trevor Brown
60e67c4f5b
Add primitive tests for plugin_test_command.
2018-10-19 22:44:26 -04:00
Trevor Brown
bebdd04084
Merge pull request #377 from asdf-vm/tb/asdf-local-tree
...
Add 'asdf local -p' command.
2018-10-19 20:43:10 -04:00
Trevor Brown
fc078c5e72
Implement 'asdf local -p'.
2018-10-19 20:41:49 -04:00
Trevor Brown
e8905b42bc
Add tests for 'asdf local -p' command.
2018-10-19 20:41:49 -04:00
Trevor Brown
f9bb44fd54
Add note to README about selecting the right version
...
The version of README you refer to needs to match the version of
asdf you have installed.
Fixes #229
2018-10-18 21:10:39 -04:00
Trevor Brown
ae07c03bd4
Merge pull request #372 from llk23r/patch-2
...
Fix Broken Link To Maintainer Danhper's Github Profile In README
2018-10-11 13:25:36 -04:00
ach
480b43e30c
Fix Broken Link To Maintainer Danpher's Github Profile In README
...
- update Github profile url:
- https://github.com/tuvistavie to https://github.com/danhper
2018-10-11 21:29:26 +05:30
Trevor Brown
f708e3c15f
Merge pull request #371 from phunehehe/version-set-by
...
commands/current: add space before parenthesis
2018-10-10 18:21:46 -04:00
Hoang Xuan Phu
1330083229
commands/current: add space before parenthesis
...
It seems to have been lost in 88d47bbd69
.
Probably by accident?
I also pulled the literal bits into the format string. It looks more
readable to me that way. I'm happy to remove that if it's not desired.
2018-10-10 17:28:23 -04:00
Trevor Brown
aa5f7f1680
Update version to 0.6.0
2018-10-07 22:31:42 -04:00
Trevor Brown
ba2fb201d6
Preparing for 0.6.0 release.
2018-10-07 22:31:04 -04:00
Trevor Brown
60ceeb301e
Merge pull request #370 from asdf-vm/resolve-symlinks-fix
...
Resolve symlinks fix
2018-10-07 21:56:53 -04:00
Trevor Brown
d6b01e35ec
Simplify resolve_symlink function.
2018-10-07 21:47:57 -04:00
Trevor Brown
e0cdec39f9
Address shellcheck errors in resolve_symlink function.
2018-10-07 21:47:57 -04:00
Trevor Brown
4c4590c6e6
Update resolve_symlink function so it always returns absolute paths.
2018-10-07 21:47:57 -04:00
Trevor Brown
2bc679084f
Add test for the resolve_symlink function.
2018-10-07 21:47:57 -04:00
Trevor Brown
64d4e145a1
Merge pull request #369 from asdf-vm/dont-install-system-versions
...
Dont install system versions
2018-10-07 14:47:02 -04:00
Trevor Brown
e095ed5efa
Don't install system versions.
2018-10-07 14:35:36 -04:00
Trevor Brown
39687b5a94
Add test for not installing system versions.
2018-10-07 14:31:30 -04:00
Trevor Brown
af5393d563
Move current_command test into current_command.bats.
2018-10-07 14:22:31 -04:00
Trevor Brown
0fdc972cfa
Merge pull request #368 from josacar/asdf-current
...
Fix asdf current behaviour
2018-10-04 15:15:27 -04:00
Jose Luis Salas
448d3215d8
Fix asdf current behaviour
...
Closes : #353
2018-10-04 21:00:29 +02:00
Trevor Brown
9a0edd7cc0
Merge pull request #365 from josacar/document_asdf_data_dir
...
Document asdf data dir
2018-09-27 21:36:46 -04:00
Jose Luis Salas
5acef7c9bf
Remove get_install_type and fix indentation
2018-09-27 22:18:36 +02:00
Jose Luis Salas
7bb11c18ad
Add ASDF_DATA_DIR in README.md
2018-09-27 22:18:36 +02:00
Trevor Brown
fc8de39a5f
Merge pull request #364 from josacar/master
...
Fix user shims stored now in ASDF_DATA_DIR
2018-09-24 12:18:02 -04:00
Jose Luis Salas
0a9cd676f4
Fix user shims stored now in ASDF_DATA_DIR
2018-09-24 17:47:49 +02:00
Trevor Brown
266e3cffa5
Merge pull request #360 from teixeiradiego/reshim-fix
...
Fix reshim to generate shims only for executable files and not directories.
2018-09-19 08:16:33 -04:00
Diego Nogueira Teixeira
20bb61963d
Implemented tests for shim generation only for executable files, not directories.
2018-09-19 09:00:11 -03:00
Trevor Brown
d9603e1abc
Merge pull request #362 from asdf-vm/another-data-dir-test
...
Add another test for the ASDF_DATA_DIR functionality.
2018-09-18 20:30:05 -04:00
Matt Wean
c468ae7d6a
Add another test for the ASDF_DATA_DIR functionality.
2018-09-18 20:21:46 -04:00
Diego Nogueira Teixeira
28c0576d17
Fix reshim to create shim only for executable files and not directories.
2018-09-18 10:38:22 -03:00
Trevor Brown
6ee3e4043c
Merge pull request #358 from nate/make-optional-install-args-look-optional
...
Make help text reflect that <name> and <version> are optional in `asdf install` command
2018-09-17 17:45:42 -04:00
Nathan Sutton
79d188604b
Make help text reflect that <name> and <version> are optional in asdf install
command
2018-09-17 16:29:32 -05:00
Trevor Brown
2e27ceb090
Merge pull request #335 from josacar/user-install-directory
...
Install data outside asdf installation directory
2018-09-16 22:36:08 -04:00
Jose Luis Salas
d1782f456e
Retrieve asdf_data_dir from environment variable
2018-09-16 18:39:21 +02:00
Victor Hugo Borja
a4fc43e682
plugin-test: check Auth is used when list-all uses Github API
...
Many plugins were having this problem where they rely on accessing
GitHub's API for listing versions from some repo releases. But not
setting an Authorization token for `curl`, causes the test to fail.
We now detect that if the plugin `list-all` looks like accessing
`api.github.com` and if so, we also try to guess if the Authroization
header will be set. If not, we fail the test and head the plugin author
to some documentation on how to add it.
Hope this reduces the number of failures due to GitHub API rate
limiting on travis.
2018-08-29 23:19:30 -07:00
Victor Hugo Borja
950853d9e6
test plugin in subshell and from isolated asdf
...
The subshell sources the isolated asdf environment, making the asdf
command available. In some plugin tests we were having failures do
to the asdf bin not set on PATH.
2018-08-29 23:16:01 -07:00
Daniel Perez
c060b4c390
Merge pull request #348 from asdf-vm/fix-fish-completions
...
Fix fish shell completions
2018-08-25 09:10:20 +02:00
Daniel Perez
8ae7be11f7
Fix fish shell completions
2018-08-24 13:25:38 +02:00
Jose Luis Salas
c86707c55f
Add config option to install plugins in $HOME/.asdf
2018-08-11 15:37:56 +02:00
Trevor Brown
6e9da8af0c
Update version to 0.5.1
2018-07-30 09:28:47 -04:00