Commit Graph

352 Commits

Author SHA1 Message Date
Trevor Brown
bcf989ec01
Merge pull request #191 from forking-repos/key-updates
Sync NodeJS gpg keys
2021-01-15 08:48:12 -05:00
gfyoung
a573580d03
Sync NodeJS gpg keys 2021-01-14 21:07:56 +00:00
Trevor Brown
33c2d574d6
Merge pull request #187 from Skillshare/master
Close #165
2021-01-05 08:15:04 -05:00
Trevor Brown
a5aa464e96
Merge pull request #170 from brianvanburken/default-packages-location
Support non-default default-npm-packages location.
2020-12-21 08:44:43 -05:00
Trevor Brown
bc5258148a
Add comment on individual uname -m clause 2020-11-23 08:48:26 -05:00
Trevor Brown
0292695959
Merge pull request #185 from nicocaille/master
add 'amd64' in install script function get_nodejs_machine_hardware_na…
2020-11-23 08:46:52 -05:00
Nicolas Caille
efcc5a7c82 add 'amd64' in install script function get_nodejs_machine_hardware_name for FreeBSD 2020-11-22 22:47:30 +01: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
Augusto Moura
aad7e3c362 separate install functions between alias and canon 2020-10-02 13:11:26 -03:00
Augusto Moura
9547c8c313 install alias as symlinks to real versions 2020-10-02 12:33:24 -03:00
Augusto Moura
11e2951ed3 fix lts/ breaking asdf dir versioning 2020-10-02 11:11:40 -03:00
Augusto Moura
7ba973a69a add better formatting and commentaries 2020-09-23 21:09:50 -03:00
Augusto Moura
d085bbaa2d fix typo in the filter versions function
I forgot to commit the change in name on the list_all script
2020-09-23 20:50:37 -03:00
Augusto Moura
929686f880 refactor list all to use the official index.tab
also add support for lts aliases, giving it's trivial to implement after
processing the tab

also get better error messages for missing versions
2020-09-23 20:33:03 -03:00
Adam Hawkins
c6e6f2e75a
Merge branch 'master' of github.com:asdf-vm/asdf-nodejs into master 2020-09-16 11:30:15 -10: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
Adam Hawkins
4433c85f80
fix(bin): add --yes to confirm GPG overwrite 2020-08-21 10:15:33 -10:00
Adam Hawkins
091309ede0
fix(bin): close #165
This file may already exist. It's unclear why this happens though.
2020-08-21 09:41:23 -10:00
Brian van Burken
9c9bc7f973
Support non-default default-npm-packages location. 2020-08-02 20:27:53 +02: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