Commit Graph

169 Commits

Author SHA1 Message Date
Thomas B Homburg
4b6591e3bb Fix .default-npm-packages install location 2020-05-08 15:01:03 +02:00
Trevor Brown
946c650a5b
Merge pull request #159 from mdesantis/patch-1
List curl as required dependency
2020-04-27 11:04:05 -04:00
Maurizio De Santis
e10902ec84
List curl as required dependency
Not all Linux systems come with `curl` pre-installed: for example, a clean Ubuntu installation doesn't have `curl` by default. This causes the plugin to raise errors like the following one:

```
> env LANG=C asdf list-all nodejs
/home/user/.asdf/plugins/nodejs/bin/list-all: line 7: curl: command not found
```

Here I added `curl` among the required dependencies to let users install it before than trying to use the plugin.
2020-04-26 19:43:31 +02:00
Trevor Brown
7d17cbefeb
Merge pull request #154 from rcorre/pgp-warning
Align install PGP warning with README
2020-02-25 16:34:24 -05:00
Ryan Roden-Corrent
dd80ca0fbf
Align install PGP warning with README
If you haven't imported the necessary PGP keys, the installer will print an error about "bootstrapping trust" and direct you to the README. However, the words "bootstrap" and "trust" never appear in the README.

This adjusts the warning to include some words that you can actually search the README for.
2020-02-25 16:01:05 -05:00
Trevor Brown
c6e7e72264
Merge pull request #153 from joneslee85/patch-1
Tell Travis to test against the current branch's latest commit
2020-01-29 07:33:39 -05:00
Trung Lê
dc00efc5ed
Tell Travis to test against the current branch's latest commit 2020-01-28 15:42:00 +11:00
Trevor Brown
70503a4abc
Merge pull request #150 from asdf-vm/tb/remove-hardcoded-plugin-name
Remove hardcoded plugin name and replace with variable
2020-01-15 07:39:11 -05:00
Trevor Brown
c975636239 Remove hardcoded plugin name and replace with variable
Fixes issue #20
2020-01-14 09:54:39 -05:00
Trevor Brown
9ce0f7ba22
Merge pull request #149 from asdf-vm/tb/hide-trust-warning
Hide gpg signature trust warning
2019-12-20 11:08:31 -05:00
Trevor Brown
7b4f11365a Hide gpg signature trust warning 2019-12-20 10:32:47 -05:00
Trevor Brown
c523280349
Merge pull request #148 from asdf-vm/tb/gpg2-command
Use gpg2 if gpg command is missing
2019-12-19 10:22:10 -05:00
Trevor Brown
3fb3356b65 Use gpg2 if gpg command is missing 2019-12-19 10:06:12 -05:00
Trevor Brown
8e369a5385
Merge pull request #145 from thbar/patch-1
Fix broken link (keyring)
2019-10-18 10:33:17 -04:00
Thibaut Barrère
5244d19cdd
Update link to list of keys 2019-10-18 16:28:07 +02:00
Trevor Brown
7e43853bbb
Merge pull request #144 from radar/master
Use 'command' over 'which' to check for shasum
2019-10-03 08:28:53 -04:00
Ryan Bigg
ad152f3b72 Use 'command' over 'which' to check for shasum
'command' is a shell builtin on all current shells

'which' is not builtin to bash, and if the node 'which' package is installed, that package may interfere

See https://github.com/asdf-vm/asdf-nodejs/issues/137 for an example of that interference
2019-10-03 14:44:10 +10:00
Trevor Brown
8bbe1ed855
Merge pull request #135 from RohanTalip/patch-1
Updated postinstall to fix typo
2019-06-04 13:01:53 -04:00
Rohan Talip
b48c4bcffd
Updated postinstall to fix typo 2019-06-03 13:18:07 -07:00
Trevor Brown
41f8a8078f
Merge pull request #132 from homburg/fix/install-default-npm-packages
Fixes for `~/.default-npm-packages` install
2019-05-04 08:44:55 -04:00
Thomas B Homburg
7677cbfa78 Get command exit code without exiting 2019-05-03 13:16:52 +02:00
Thomas B Homburg
1656548338 Fix bash ansi color output 2019-05-03 13:14:59 +02:00
Trevor Brown
ffe48ce372
Merge pull request #131 from jcaudle/patch-1
Clarify GPG instructions
2019-04-28 15:23:24 -04:00
Joseph Caudle
c603dd399b
Clarify GPG instructions
This should make the wording a bit more clear and fix #123.
2019-04-27 23:47:28 -04:00
Trevor Brown
897b6fb5f2
Remove incorrect instructions for running the import-release-team-keyring script 2019-04-05 17:35:49 -04:00
Trevor Brown
5675a4cd9d
Replace dead link to article on verifying nodejs binaries with link to node readme 2019-03-20 22:42:27 -04:00
Trevor Brown
80097386a2
Merge pull request #124 from dnicolson/output-utf8-2
Use UTF-8 for output during installation
2019-02-24 18:27:02 -05:00
David Nicolson
6188c0dc71 Use UTF-8 for output 2019-02-24 21:35:15 +01:00
Trevor Brown
f6a4fdba57
Merge pull request #121 from dnicolson/output-utf8
Use UTF-8 for output
2019-02-04 16:26:07 -05:00
David Nicolson
fd44dc4c7f Use UTF-8 for output 2019-02-03 17:09:29 +01:00
Victor Borja
247338aa8b
Merge pull request #117 from lukaselmer/feature/temporary-reshim-fix
Add option to temporarily disable reshimming
2019-01-23 14:01:05 -06:00
Lukas Elmer
9975c20a21
document reshim skipping 2019-01-23 19:10:05 +01:00
Lukas Elmer
441d9f857e
add option to temporarily disable reshimming 2019-01-23 19:02:33 +01:00
Joseph Snell
38f3db2dad add new release team key from nodejs (#115) 2019-01-04 10:19:58 -05:00
Trevor Brown
641ae61e61
Add more release team keys (#114)
Fixes #112
2018-12-21 09:23:32 -05:00
Eric Kelly
11eeecf719 Fix typo (#113)
Fixes a typo
2018-12-17 16:38:23 -05:00
Nicola Brisotto
494bc93eff Add --no-tty to GPG commands (#108)
Solve #107
2018-12-09 21:59:37 -05:00
Trevor Brown
ad7e1bbed0
Fix conditional for http_proxy check (#109)
* Fix conditional for `http_proxy` check
* Make variable presence optional
2018-12-06 15:05:56 -05:00
Trevor Brown
f7e82ef14a
Merge pull request #84 from FreedomBen/shasum-missing-fix
Add handling for missing shasum
2018-12-02 14:29:15 -05:00
Trevor Brown
42782e08f4
Merge pull request #90 from EmilienMottet/master
gpg use proxy env variasble if it set
2018-11-15 09:23:06 -05:00
Trevor Brown
9867f805be
Merge pull request #103 from sukima/patch-1
Speed up npm global installs
2018-11-07 11:17:47 -05:00
Devin Weaver
d18287b041
Speed up npm global installs
Per issue #46 the `ASDF_INSTALL_VERSION` variable is not available in global NPM installs. Instead the `npm_config_node_version` is provided by NPM during this situation.

This change offers a fallback in these cases. Since a version will be available this will significantly speed up the postinstall during global NPM installs.

Fixes #46
2018-11-07 11:09:35 -05:00
Trevor Brown
ccbbf35e1d
Merge pull request #101 from ramortegui/update-linux-instructions
Update Linux/Debian instructions.
2018-11-02 08:37:32 -04:00
Ruben Amortegui
9cc4f0acee Update Linux/Debian instructions. 2018-11-02 00:05:14 -06:00
Trevor Brown
8c0e102c56
Correct ASDF_INSTALL_PATH check. 2018-10-25 12:15:57 -04:00
Trevor Brown
2da40fdf6f
Merge pull request #86 from mclark-newvistas/master
Fixes #85 - system npm fails to run via `asdf`
2018-10-25 12:14:55 -04:00
Trevor Brown
8d8d604832
Merge pull request #99 from OndroNR/master
Show proper error on invalid requested version
2018-10-20 17:59:30 -04:00
Ondrej Galbavy
d49479dbc4 Show proper error on invalid requested version 2018-10-20 20:42:40 +02:00
Trevor Brown
51578fa22b
Merge pull request #98 from slaskis/patch-1
Update parse-legacy-file
2018-10-18 08:52:57 -04:00
Robert Sköld
dcf2ff9769
Update parse-legacy-file
Fixes issue with reading legacy file in directories with space
2018-10-18 10:34:49 +02:00