asdf/lib/commands
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
..
current.sh use exit code 126 when version is not set 2018-04-05 23:59:31 +02:00
help.sh Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
install.sh Fix shellcheck warnings. 2018-06-16 15:26:02 -04:00
list-all.sh Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
list.sh Merge pull request #331 from brennanfee/fix-330-asdf-list 2018-06-16 15:30:35 -04:00
plugin-add.sh Change exit code from 0 -> 2 2018-05-29 21:47:46 -05:00
plugin-list-all.sh Fix shellcheck warnings. 2018-06-16 15:26:02 -04:00
plugin-list.sh Fix shellcheck warnings. 2018-06-16 15:26:02 -04:00
plugin-push.sh Fix shellcheck warnings. 2018-06-16 15:26:02 -04:00
plugin-remove.sh Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
plugin-test.sh plugin-test: check Auth is used when list-all uses Github API 2018-08-29 23:19:30 -07:00
plugin-update.sh Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
reshim.sh Fix shellcheck warnings. 2018-06-16 15:26:02 -04:00
uninstall.sh Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
update.sh Merge pull request #231 from hugopeixoto/use-origin-when-updating-tags 2017-10-14 17:23:16 +03:00
version_commands.sh Resolve symlink paths before altering .tool-version files. 2018-06-16 22:59:37 -04:00
where.sh Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
which.sh Promote which version check from subshell to enable error emission 2018-02-25 18:34:39 -05:00