Commit Graph

1730 Commits

Author SHA1 Message Date
Yasuyuki Ageishi
90b92b99be
fix: broken link in contributing.md (#852)
Co-authored-by: Y4suyuki <4ge15h1@gmail.com>
2021-01-20 00:41:54 +11:00
Trevor Brown
bd21c99a0a
Merge pull request #851 from klaxit/fix/posixly-correct
fix: shims break when POSIXLY_CORRECT=1
2021-01-14 09:27:27 -05:00
Jean-Paul Bonnetouche
0de6910d1f fix: shims break when POSIXLY_CORRECT=1
Process substitution isn't specified by POSIX and makes shims break when called by a script that `export POSIXLY_CORRECT=1` (like gitflow [here](https://github.com/nvie/gitflow/blob/develop/git-flow#L78)).

Here we replace `grep -f <(cmd1) <(cmd2)` with `cmd2 | grep -F "$(cmd1)"` so that we can provide a string instead of a file descriptor and get the same result as before.

(Note: We also check if the result of `cmd1` is empty before running `grep` to get the same behavior as with `-f`. This also prevent crashes if null results are piped to `xargs` and fits nicely with the `with_shim_executable` function that already check the result of `$selected_version` before going on).

Fixes: #581
2021-01-14 13:19:27 +01:00
Hyunwoo Park
bdace81ae9
docs: fix GitHub typo (#847) 2021-01-13 08:41:33 +11:00
Trevor Brown
0eb377cc7a
docs: note about unsolicited formatting pull requests (#848) 2021-01-13 08:37:42 +11:00
Trevor Brown
f55fca4e94
Merge pull request #839 from jthegedus/docs/link-github-discussions
docs: github dicsussions link
2021-01-04 09:39:03 -05:00
N1H1L0
954a5db19d
docs: improve zsh completion directions for macOS,ZSH,Homebrew (#843) 2020-12-31 11:53:18 +11:00
Aaron Jensen
d2b7e2fceb
Update no plugin installed error message (#818) 2020-12-21 11:00:09 +11:00
jthegedus
05a7f15dca docs: github dicsussions link 2020-12-18 17:31:27 +11:00
Trevor Brown
2c1301dfd2
Merge pull request #835 from juriglx/fix/broken-link-in-readme
Fix broken link in readme
2020-12-16 08:24:28 -05:00
Juri Glass
2daaf43c92 Fix broken link in readme 2020-12-15 12:04:35 +01:00
James Hegedus
7c74879ed2
Merge pull request #833 from smorimoto/fix-workflow
Fix .github/workflows/workflow.yml
2020-12-06 11:48:55 +11:00
Sora Morimoto
59ad7a62ca Fix .github/workflows/workflow.yml
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2020-12-03 07:59:08 +09:00
Trevor Brown
8b4f19c8af
Merge pull request #832 from sasurau4/fix/broken-link-in-contributing
fix broken link in CONTRIBUTING
2020-12-01 08:17:07 -05:00
Daiki Ihara
83a26ba5bf fix broken link in CONTRIBUTING 2020-12-01 20:47:49 +09:00
Trevor Brown
4d33bebf11
Merge pull request #827 from e28eta/patch-1
Update documentation references to icongram svg files
2020-11-20 11:17:56 -05:00
Dan Jackson
413f17e5ad
also update README.md references to icongram svgs 2020-11-17 22:49:57 -08:00
Dan Jackson
84f4301736
Fix broken image link for GitHub icon
icongram.jgog.in is returning a 525 error through cloudflare for me. As far as I can tell, it has switched to icongr.am

This also matches the icon on the StackOverflow Tag link.
2020-11-17 22:45:57 -08:00
James Hegedus
9a07c824cf
chore: jthegedus details. Update supported version (#825) 2020-11-10 19:40:01 +11:00
James Hegedus
16af32cf50
chore: sec details & update supported version (#825) 2020-11-10 19:39:13 +11:00
James Hegedus
a637266d54
chore: jthegedus details. Update supported version 2020-11-09 17:43:07 +11:00
Trevor Brown
51a283a41d
Merge pull request #820 from asdf-vm/docs
docs: print docs and github URLs in help cmd
2020-10-27 08:15:24 -04:00
James Hegedus
b65fbf98a7
docs: print docs and github URLs in help cmd 2020-10-23 11:22:53 +11:00
Trevor Brown
ac1a35b85b
Merge pull request #815 from asdf-vm/tb/fix-relative-symlinks
Fix resolution of relative symlinks
2020-10-08 10:38:29 -04:00
Trevor Brown
34593c1766 Fix resolution of relative symlinks
Fixes #366, #625
2020-10-08 10:17:01 -04:00
James Hegedus
2bf076f3d3
fix: docs file rename (#809)
We renamed the documentation to refer to `asdf` the tool itself instead of `asdf-vm`. We forgot to update the release script.
2020-09-29 08:46:40 +10:00
Trevor Brown
55557c2086
Merge pull request #626 from deiga/parallelize-plugin-updates
Enables parallelization of updating all plugins
2020-09-28 12:33:26 -04:00
Trevor Brown
ebc52b150b
Merge branch 'master' into parallelize-plugin-updates 2020-09-28 12:16:06 -04:00
Trevor Brown
3874e7995a
Merge pull request #810 from asdf-vm/tb/cleanup-plugin-update-test
Cleanup unused code in plugin update tests
2020-09-28 11:46:13 -04:00
Trevor Brown
5d5ab1e6b2 Cleanup unused code in plugin update tests 2020-09-28 11:16:04 -04:00
Trevor Brown
2e3dd351b5
chore: basic tests for plugin-update command (#807) 2020-09-27 14:10:26 +10:00
Trevor Brown
8bbefba072
chore: ban echo command (#806) 2020-09-22 08:27:52 +10:00
James Hegedus
11b5403abb
chore: remove -vm from common usage as the tool is just asdf (#798) 2020-09-19 15:40:11 +10:00
Jochen Schalanda
0edb50547c
feat: support for "latest" in shell, local, and global (#802) 2020-09-19 15:37:52 +10:00
Trevor Brown
610bfde586
Merge pull request #805 from asdf-vm/joelparkerhenderson-patch-1
Fix plugin-update --all when there are no plugins
2020-09-18 11:54:03 -04:00
Trevor Brown
d93a2b6fe1 Fix syntax for plugin update loop 2020-09-18 11:41:56 -04:00
Joel Parker Henderson
0efc04bca5
Fix plugin-update --all when there are no plugins
Issue: when asdf is first installed, there are no plugins, and running `asdf plugin-update --all` crashes because the plugin directory doesn't exist; similarly, the command crashes if the plugins directory exists yet doesn't contain any subdirectories.

Solution: This patch changes the directory loop from using a wildcard `plugins/*` to a more robust approach: first verify the plugins directory exists, then use the`find` command to list subdirectories and correctly handle the corner case of no subdirectories.

Future: Consider printing an error message and/or advice message. Consider automatically creating the plugins directory as needed. Consider prompting the user to install some popular plugins.
2020-09-16 21:00:35 -07:00
Trevor Brown
c6145d08d0 Update version to 0.8.0 2020-09-07 20:16:35 -04:00
Trevor Brown
5479c6b500 Fix existing tag check in tag.sh script 2020-09-07 20:14:34 -04:00
Trevor Brown
c4e2eaf935 Update changelog again for 0.8.0 release 2020-09-07 20:00:42 -04:00
James Hegedus
96b87f4c96
docs: link to Homebrew common issues from documentation site (#795) 2020-09-08 09:07:17 +10:00
Trevor Brown
8745ae8a62 Add details on implementing backwards compatible plugins to documentation
Fixes #768
2020-09-07 11:00:54 -04:00
James Hegedus
b178cb07a7
fix: rm asdf current header row for now (#793) 2020-09-02 09:11:07 +10:00
Timo Sand
d27b3661a9
Fixes linter issues 2020-09-01 23:27:56 +02:00
Timo Sand
cd4c1c5748
Changes to use function to update plugin
Enables us to add parallelization
2020-09-01 23:27:56 +02:00
Dave Nicolson
1479ec83be
fix: fish init command (#792) 2020-09-01 08:10:50 +10:00
James Hegedus
5084592786
chore: add gitattributes file (#783) 2020-09-01 08:06:15 +10:00
James Hegedus
e9c149ea21
fix: incorrect version output in asdf current (#746) 2020-08-29 09:09:22 +10:00
Daniel Perez
77a748d70a
fix: _where_ bug when multiple versions are selected (#790)
Fixes #690
2020-08-28 19:24:59 +10:00
Daniel Perez
219b9e6db9
Fix fish completions for info command 2020-08-28 01:10:07 +01:00