Commit Graph

89 Commits

Author SHA1 Message Date
github-actions[bot]
ccdd47df9b
chore(master): release 0.14.0 (#1641)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-01-19 19:43:39 +11:00
github-actions[bot]
0586b37d03
chore(master): release 0.13.1 (#1638)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-13 17:51:22 +10:00
github-actions[bot]
43ca61af4e
chore(master): release 0.13.0 (#1580)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-12 00:16:14 +10:00
github-actions[bot]
816195d615
chore(master): release 0.12.0 (#1506)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-15 02:37:41 +10:00
github-actions[bot]
0adc6c11fb
chore(master): release 0.11.3 (#1498)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-16 02:21:13 +00:00
github-actions[bot]
8eb11b8977
chore(master): release 0.11.2 (#1430)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-22 09:30:25 -05:00
github-actions[bot]
27c8a101e5
chore(master): release 0.11.1 (#1386)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-13 09:45:18 -05:00
github-actions[bot]
6a4f51a351
chore(master): release 0.11.0 (#1273)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-12-15 07:53:20 +11:00
Josh Soref
eaf2215cb8
chore: Fix spelling (#1289)
chore: Fix spelling
2022-07-05 09:40:33 -04:00
github-actions[bot]
7e7a1faa70
chore: release 0.10.2 (#1233)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-09 09:12:52 -04:00
github-actions[bot]
f8109e0d8c
chore: release 0.10.1 (#1211)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-18 07:54:06 -04:00
github-actions[bot]
77fd510bdc
chore: release 0.10.0 (#1111)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-15 17:45:34 -04:00
github-actions[bot]
9ee24a3a75
chore: release 0.9.0 (#994)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-03 10:37:12 -05:00
James Hegedus
cf79a4cf05
chore: rm unused changelog heading (#990) 2021-07-08 09:20:13 +10:00
Trevor Brown
ab44e83183 Fix duplicate issue numbers in CHANGELOG.md 2021-05-18 19:40:53 -04:00
Trevor Brown
0a5fb17d7e Update changelog with details on 0.8.1 release 2021-05-18 19:35:01 -04:00
Trevor Brown
c4e2eaf935 Update changelog again for 0.8.0 release 2020-09-07 20:00:42 -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
f75ecc8769 Prepare for version v0.7.8 2020-03-23 09:36:13 -04:00
Jochen Schalanda
3c3f0e67f6
Rename custom plugin-add/plugin-remove for plugins (#684)
Rename custom scripts for `plugin-add` and `plugin-remove` phases in plugins to make clear when they are executed:

`plugin-add` -> `post-plugin-add`
`plugin-remove` -> `pre-plugin-remove`
2020-03-22 12:57:54 +11:00
Jochen Schalanda
57186be6d9
Support customizing plugin-add and plugin-remove
* Add support for custom `plugin-add` and `plugin-remove` in plugins
* Add configurable command hooks for plugin installation and removal

```shell
pre_asdf_plugin_remove = echo will remove plugin ${1}
pre_asdf_plugin_remove_foo = echo will remove plugin foo
post_asdf_plugin_remove = echo removed plugin ${1}
post_asdf_plugin_remove_foo = echo removed plugin foo
```

Closes #670
2020-03-21 14:59:33 +01:00
Victor Hugo Borja
a26bed6586 Make sure extension commands are properly displayed by asdf help 2020-03-15 11:45:09 -06:00
Trevor Brown
671416fc85 Prepare for tagging of version 0.7.7 2020-03-03 13:58:05 -05:00
Max Nordlund
40600ec903
Fix typo 2020-01-02 23:05:58 +01:00
Victor Hugo Borja
39d3773f57 Release 0.7.6 2019-12-15 23:09:49 -06:00
Victor Hugo Borja
3d3595c7a3 Improvements to asdf plugin commands. 2019-11-30 14:18:37 -06:00
Victor Hugo Borja
64d7cac9fd Update documentation 2019-11-27 12:18:00 -06:00
Victor Hugo Borja
4939e24c90 Make asdf plugin test determine plugin version with asdf latest
Fixes #541
2019-11-26 22:23:27 -06:00
Victor Hugo Borja
2ea3d2017f asdf --version shows git-revision when asdf_dir is a git clone.
This will help people running on asdf master be able to report
issues and maintainers can know the precise git commit where the
error was reported.

See #589
2019-11-26 22:08:45 -06:00
Victor Hugo Borja
0e8e1f8f84 New feature: asdf extension commands
It's possible for plugins to define new asdf commands. This way plugins can extend asdf capabilities or expose utilities related to their managed tool.

For example, a `foo` plugin might expose the command `asdf foo bar` by providing an executable file at `bin/bar`.
If `bin/bar` is a file but has no executable bit set, then its considered a source-able bash script, and will be sourced
with all the functions in `$ASDF_DIR/lib/utils.sh` already loaded.

A good example of this feature is the `nodejs` plugin, where people must import the release team keyring before
installing a nodejs version. People can execute the following command without having to know where exactly is the plugin located.
2019-11-25 02:24:46 -06:00
Kevin Lane
a3319235f8
Update CHANGELOG with contributions from #575 2019-11-22 11:34:25 -08:00
Trevor Brown
a600925736 Prepare for 0.7.5 version 2019-11-04 19:41:50 -05:00
Trevor Brown
cc8c7fb215 Prepare for 0.7.4 release 2019-08-14 22:41:43 -04:00
Trevor Brown
fb4ecbc214 Prepare for v0.7.3 release 2019-07-13 17:31:29 -04:00
Rohan Talip
97499028a8
Updated CHANGELOG.md to fix typo 2019-06-03 10:14:11 -07:00
Trevor Brown
8f5b20904e Preparing for 0.7.2 release 2019-05-18 16:31:09 -04:00
Daniel Perez
a4595da828 Prepare changelog for 0.7.1 release 2019-03-31 21:15:14 +01:00
Daniel Perez
ce895e9e76 Prepare changelog for 0.7.1 release
[skip ci]
2019-03-31 20:52:30 +01:00
Daniel Perez
450660018c Revert to using exec when running a shim 2019-03-26 17:36:08 +00:00
Daniel Perez
365a294cc3 Update CHANGELOG 2019-03-16 20:00:30 +00:00
Trevor Brown
d6009d6909 Prepare changelog for 0.7.0 release 2019-03-02 09:45:32 -05:00
Victor Hugo Borja
8927a4a09f Add asdf env command 2019-01-19 20:59:27 -06:00
Victor Hugo Borja
6da747b6ce Test that asdf exec works even if asdf shims are not in PATH. 2019-01-19 20:09:53 -06:00
Victor Borja
f1809ae290
Remove duplicate entries from merge.
Remove entries on 0.6.3 that are actually on 0.6.4-dev
2019-01-19 14:52:59 -06:00
Victor Hugo Borja
a46eaf3b4a Merge remote-tracking branch 'origin/shim-versions-command' into 0.6.4-dev 2019-01-19 13:56:56 -06:00
Victor Hugo Borja
9420ca1aec Add hooks for plugin uninstall 2019-01-19 13:48:21 -06:00
Victor Hugo Borja
dcc3727cab Add pre-install and pre-reshim hooks 2019-01-19 13:32:07 -06:00
Victor Hugo Borja
9a79ac9526 user configurable pre-post command hooks
Suppose a `foo` plugin is installed and provides a `bar` executable.
The following hooks will be executed when set in `.asdfrc`:

```shell
post_asdf_install_foo = echo installed foo version ${1}
post_asdf_reshim_foo = echo reshimmed foo version ${1}

pre_foo_bar = echo about to execute command bar from foo with args: ${@}
post_foo_bar = echo just executed command bar from foo with args: ${@}
```
2019-01-19 13:32:07 -06:00
Victor Hugo Borja
2c9621c1cc New shim metadata to allow many plugins with same executable names
Features

* New shim version meta-data allows shims to not depend on a particular plugin
  nor on its relative executable path (#431)
  Upgrading requires shim re-generation and should happen automatically
  by `asdf-exec`:
    `rm -rf ~/.asdf/shims/` followed by `asdf reshim`
* Added lots of tests for shim execution.
  We now make sure that shim execution obeys plugins hooks like
  `list-bin-paths` and `exec-path`.
* Shim exec is now performed by a new `bin/private/asdf-tool-exec` that might
  be faster for most common use case: (versions on local .tool-versions file)
  but fallbacks to slower `get_preset_version_for` which takes legacy formats
  into account.
* Shim exec recommends which plugins or versions to set when command is
  not found.

Fixed Bugs

* Allow many plugins to provide shims with same executable name (#431)
2019-01-19 13:32:07 -06:00