Commit Graph

21 Commits

Author SHA1 Message Date
Marcos Ferreira
5a2e69ca86
Add info about using the CI repo on plugin test 2018-10-24 19:20:13 -03:00
Trevor Brown
201449eca6 Add info on new --asdf-tool-version flag. 2018-10-20 10:56:20 -04: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
Andrew Thauer
d94e0223bf Implement plugin hook to customize executable path
This feature allows the plugin to optionally change the executable path
of a shim prior to execution. This is useful when the plugin tool has
commands that may exist in multiple locations (like npm).
2018-04-25 22:18:34 -04:00
Trevor Brown
957c6307c6 Add details on ASDF_CONCURRENCY to the plugin guide. 2017-08-20 19:20:39 -04:00
Trevor Brown
286295bec4 Add more details on the proper behavior of install scripts to the plugin guide. 2017-08-17 14:14:14 -04:00
Daniel Perez
78fbbaf584 Merge pull request #183 from doughsay/master
Use a git repository for installing plugins.
2017-07-26 18:49:15 +02:00
Chris Dosé
1bdaf22a36
Update README and creating-pugins doc to reflect new plugin-add command. 2017-07-25 17:15:08 -07:00
Robin Schneider
7c30e6f9d2
Fix typo: seperated → separated
Automated edit command: git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's/seperated/separated/g;'
2017-02-20 19:44:44 +01:00
Stratus3D
4a4d9022f0 Add note on the recommended way to manually sort versions. 2016-12-14 11:04:31 -05:00
Victor Borja
da6b907b1d Add documentation on metadata for shim authors 2016-12-14 11:01:17 -05:00
Trevor Brown
7210d09938 Add a couple lines to the creating-plugins guide on version ordering. 2016-12-13 22:33:23 -05:00
Kevin Rockwood
20739721ca Add note about parse-legacy-file argument 2016-08-30 09:25:52 +09:00
Kevin Rockwood
333339b960 Update plugin docs with new legacy file api 2016-08-14 09:10:24 +09:00
Daniel Perez
caee08d39b Improve plugin tests 2016-06-17 18:37:26 +09:00
Daniel Perez
072a57e4cb Add command and instructions to test plugin. 2016-05-13 16:04:01 +09:00
Trevor Brown
30173d4dcf Add details on get_version_from_legacy_file script to creating-plugins.md document. 2015-11-27 11:17:46 -05:00
Akash Manohar J
9348661916 Documentation about custom shim 2015-06-07 00:37:57 +05:30
Akash Manohar J
a049ac1c2e New plugin API 2015-05-22 10:41:37 +05:30
Akash Manohar
737c6cc384 Update creating-plugins.md 2015-05-18 06:57:38 +05:30
Akash Manohar J
d3da8b0ea3 Move doc 2015-05-17 23:54:32 +05:30