Commit Graph

191 Commits

Author SHA1 Message Date
Adam Hawkins
6cd8bc40b2 fix(bin): add --yes to confirm GPG overwrite 2021-04-09 13:41:06 -03:00
Adam Hawkins
2abce68edc fix(bin): close #165
This file may already exist. It's unclear why this happens though.
2021-04-09 13:41:06 -03:00
Brian van Burken
3bff0719af Support non-default default-npm-packages location. 2021-04-09 13:41:06 -03:00
Trevor Brown
adb47b8bc9 Add comment on individual uname -m clause 2021-04-09 13:41:06 -03:00
Nicolas Caille
cc7c7d20ae add 'amd64' in install script function get_nodejs_machine_hardware_name for FreeBSD 2021-04-09 13:41:06 -03:00
Ben Limmer
f0cc64c799
Update bin/install
Co-authored-by: Augusto Borges de Moura <augusto.borgesm@gmail.com>
2021-04-09 10:18:04 -06:00
Ben Limmer
44cff5c4b0
Suggest updating plugin upon failure 2020-11-14 14:17:18 -07:00
Trevor Brown
dd9f0bdb35
Merge pull request #180 from nazarhussain/master
Update nodejs release keys
2020-10-29 08:57:37 -04:00
Nazar Hussain
403bfcd01b
🔒 Update relevant previous keys and add reference to readme 2020-10-28 16:57:08 +01:00
Nazar Hussain
4bb90e8d0c
🔒 Update nodejs release keys 2020-10-28 11:46:41 +01:00
Trevor Brown
de91346936
Merge pull request #173 from XX-NF-XX/patch-1
Add new release keys
2020-09-10 08:20:18 -04:00
XX-NF-XX
44145c16d0
Add new release keys
- Richard Lau - C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C
- Ruy Adorno - 108F52B48DB57BB0CC439B2997B01419BD92F80A
Node.js 14.10.0 is signed with the key of Richard Lau.
[Official list of release keys](https://github.com/nodejs/node/#release-keys)
2020-09-09 00:39:29 +03:00
Trevor Brown
cd8dc32e82
Merge pull request #166 from christhekeele/patch-1
Make keyring instructions more flexible.
2020-06-12 07:27:32 -04:00
Christopher Keele
e5e0078759
Make keyring instructions more flexible.
- Honoring `$ASDF_DATA_DIR` lets this command be plug-and-play for [custom installation locations](https://asdf-vm.com/#/core-configuration?id=environment-variables)
- Defaulting to `$HOME/.asdf` keeps it backwards-compatible with previous instructions
- Using `bash -c` with single quotes lets more shells execute the command with env var default and expansion correctly (fish in mind here)
2020-06-11 16:45:02 -07:00
Trevor Brown
ad39d87048
Merge pull request #161 from homburg/feature/separate-keyring
Move gpg keys to separate keyring
2020-05-15 17:00:07 -04:00
Thomas B Homburg
66f5292b45 Extract gpg key name to env var 2020-05-14 22:32:14 +02:00
Thomas B Homburg
2c4ae501e8 Do not switch to master branch in test 2020-05-13 17:43:43 +02:00
Thomas B Homburg
b7430cbecc Fix install 2020-05-13 17:43:43 +02:00
Thomas B Homburg
c3aec726a2 Import and use gpg keys in separate keyring
Using separate gpg keyring file in
~/.gnupg/asdf-nodejs.gpg to avoid
mixing with default keyring
2020-05-13 17:43:43 +02:00
Trevor Brown
cd3a1a7ddb
Merge pull request #162 from homburg/fix/default-packages-install-location
Fix `.default-npm-packages` install location
2020-05-12 15:52:11 -04:00
Trevor Brown
4d34262376
Merge pull request #163 from TqLj/busybox-patch
--check to -c for busybox
2020-05-11 14:22:45 -04:00
天驱 · 练剑 / TianQu · LianJian
4c4d4ef6c7
--check to -c for busybox
when use asdf-node in docker image alpine
```
sha256sum: unrecognized option: check
BusyBox v1.31.1 () multi-call binary.

Usage: sha256sum [-c[sw]] [FILE]...

Print or check SHA256 checksums

        -c      Check sums against list in FILEs
        -s      Don't output anything, status code shows success
        -w      Warn about improperly formatted checksum lines
```
2020-05-10 04:07:59 +08:00
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