Commit Graph

740 Commits

Author SHA1 Message Date
Trevor Brown
c041c930c5 Update CHANGELOG.md in preparation for 0.5.0 release. 2018-05-28 15:09:49 -04:00
Akash Manohar
459ae45650
Merge pull request #314 from andrewthauer/plugin-exec-path
Feature: Plugin Hook for Custom Executable Path
2018-05-25 15:04:57 +05:30
Trevor Brown
6c2d95f50e
Add another item to the changelog for 0.5.0. 2018-05-01 08:45:17 -04:00
Daniel Perez
b3408a0eaf
Merge pull request #315 from mxie/mx-include-plugin-name-in-error-output
Include plugin name in error message if plugin doesn't exist
2018-05-01 10:59:04 +09:00
Melissa Xie
f79dda865a Include plugin name in error message if plugin doesn't exist
Previously, if we ran a command like `asdf install` and we encountered a
plugin that didn't exist, asdf produces an error saying "No such
plugin". Without knowing which plugin it could be referring too, we'd
have to manually go through each plugin in `.tool-versions` to find the
culprit.

With this commit, we'll now also include the plugin name as part of the
messaging for easier debugging.
2018-04-30 12:49:40 -04: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
7774de9137
Merge pull request #311 from hlhr/master
List command without parameter lists all installed packages with versions
2018-04-18 11:16:52 -04:00
hlhr
e1a4ff244f list command without parameter lists all packages with versions 2018-04-16 18:37:22 -04:00
Trevor Brown
27b5e21db3
Add shim exit code feature to changelog. 2018-04-11 17:43:57 -04:00
Trevor Brown
351951f530
Update CHANGELOG.md 2018-04-11 13:13:33 -04:00
Trevor Brown
d9025448b9
Merge pull request #310 from endorama/change-exit-code
Change exit code
2018-04-11 13:13:13 -04:00
Edoardo Tenani
e710959d1b adapt test to new error code 2018-04-09 20:35:51 +02:00
Edoardo Tenani
9f58c22e98 use exit code 127 when version is not installed 2018-04-05 23:59:35 +02:00
Edoardo Tenani
23bf434dbf use exit code 126 when version is not set 2018-04-05 23:59:31 +02:00
Trevor Brown
ec84ad1f29
Merge pull request #306 from ipatch/master
add a more robust check for `bins` in `shims` dir for fish shell users
2018-04-03 09:00:38 -04:00
Trevor Brown
d6a45aa844
Merge pull request #309 from neilmb/nmb/no-version-to-stderr
Print "No version set" message to stderr
2018-04-02 11:52:46 -04:00
Neil Martinsen-Burrell
c7a8226db5 Print to stderr one level up to make tests pass 2018-03-30 12:09:56 -05:00
Neil Martinsen-Burrell
c1e50c2894 Print "No version set" message to stderr 2018-03-30 11:15:53 -05:00
ipatch
7102719d5b more terse solution for previous commit 2018-03-29 12:41:05 -05:00
ipatch
b6bc0b01ad add a more robust check for bins in shims dir for fish shell users 2018-03-28 23:49:40 -05:00
Trevor Brown
68b6b1532c Add check for duplicate issue numbers in the changelog to the release.sh script. 2018-03-12 15:45:02 -04:00
Trevor Brown
08fae99964 Update release.sh script so it prints out the git command needed to push the tag. 2018-03-11 15:14:22 -04:00
Trevor Brown
bcc959f6ef Update version to 0.4.3 2018-03-11 15:08:23 -04:00
Trevor Brown
1d68a15b8d Preparing for 0.4.4 version. 2018-03-11 15:07:55 -04:00
James Hegedus
4946e70237
Merge pull request #304 from jthegedus/master
begin stabalising asdf prepending to PATH logic
2018-03-10 11:24:41 +11:00
James Hegedus
28cfda2179 add colon between asdf segment and PATH 2018-03-09 01:02:08 +11:00
James Hegedus
d3895f593c match against whole PATH segments
string replacement still doesn't match against asdf segments when last in PATH
2018-03-09 01:01:09 +11:00
James Hegedus
f8c9e97900 revert use of colons to normalize PATH
* as per suggestion from here - https://github.com/asdf-vm/asdf/pull/303#issuecomment-371231967

* need to work on new PR with tests to address newly raised edge cases with PATH manipulation
2018-03-09 00:52:08 +11:00
James Hegedus
7f429dae19
Merge pull request #303 from jthegedus/master
add or move asdf to the front of PATH
2018-03-07 17:39:39 +11:00
James Hegedus
b0342d2f78 remove unnecessary colon 2018-03-07 17:06:34 +11:00
James Hegedus
c112fbf296 use variable in all places 2018-03-06 21:53:39 +11:00
James Hegedus
99110ce8d3 add or move asdf to front of PATH 2018-03-06 21:37:44 +11:00
Trevor Brown
e2ffb29ef6
Merge pull request #300 from fallwith/master
AZDF_CONFIG_FILE -> ASDF_CONFIG_FILE typo fix
2018-02-27 15:13:36 -05:00
james.bunch
d62fa098c1 AZDF -> ASDF environment variable name spelling
change all instances of `AZDF` to read `ASDF` instead, to bring the
variable names in line with the project name
2018-02-27 11:56:04 -08:00
james.bunch
742bfd0cab AZDF_CONFIG_FILE -> ASDF_CONFIG_FILE typo fix
update the README so that the `ASDF_CONFIG_FILE` environment variable is
spelled correctly
2018-02-27 11:39:45 -08:00
Trevor Brown
123c1404c1
Merge pull request #298 from aj-foster/fix-plugin-list-all-test
Fix `plugin-list-all` test
2018-02-26 09:17:37 -05:00
Trevor Brown
cd20cebb7c
Merge pull request #297 from aj-foster/no-version-messages
Refactor "no version set" messages
2018-02-26 09:15:53 -05:00
AJ Foster
210598239b Fix plugin-list-all test file name and update it for current output 2018-02-25 19:16:35 -05:00
AJ Foster
a195da28c2 Promote which version check from subshell to enable error emission 2018-02-25 18:34:39 -05:00
AJ Foster
eb5e5b780c Refactor "no version set" message to utilities 2018-02-25 18:33:42 -05:00
Trevor Brown
9733daafd4
Merge pull request #293 from aj-foster/no-version-errors
Suggest action when no version is set
2018-02-25 13:17:20 -05:00
Trevor Brown
4f41647d08
Merge pull request #294 from aj-foster/set-by-env
Specify when a version is set via environment variable
2018-02-25 13:02:00 -05:00
AJ Foster
24a7190505 Specify when a version is set via environment variable 2018-02-25 01:11:16 -05:00
AJ Foster
c2fb6a3140 Escape backticks in command suggestion 2018-02-25 00:50:46 -05:00
AJ Foster
f15a0c9de3 Suggest action when no version is set 2018-02-25 00:40:26 -05:00
Trevor Brown
4efa8a9707 Fix failing test for ASDF_DEFAULT_TOOL_VERSIONS_FILENAME environment variable. 2018-02-12 18:41:27 -05:00
Trevor Brown
ad3b81782f Update version to 0.4.2 2018-02-11 17:46:13 -05:00
Trevor Brown
651096d9a1 Prepare changelog for 0.4.2 release. 2018-02-11 17:45:30 -05:00
Trevor Brown
c14f60ed56 Add details on environment variables to readme. 2018-02-11 17:44:26 -05:00
Trevor Brown
a66a31c76d Add new tool version environment variable feature to changelog. 2018-02-11 17:34:29 -05:00