Commit Graph

112 Commits

Author SHA1 Message Date
Trevor Brown
1624799560
Merge pull request #176 from augustobmoura/feature/oficial-versions-list
Refactor list all to use the official index.tab
2021-01-19 13:57:07 -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
Nicolas Caille
efcc5a7c82 add 'amd64' in install script function get_nodejs_machine_hardware_name for FreeBSD 2020-11-22 22:47:30 +01: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
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
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
Thomas B Homburg
66f5292b45 Extract gpg key name to env var 2020-05-14 22:32:14 +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
天驱 · 练剑 / 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
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
c975636239 Remove hardcoded plugin name and replace with variable
Fixes issue #20
2020-01-14 09:54:39 -05:00
Trevor Brown
7b4f11365a Hide gpg signature trust warning 2019-12-20 10:32:47 -05:00
Trevor Brown
3fb3356b65 Use gpg2 if gpg command is missing 2019-12-19 10:06:12 -05:00
Thibaut Barrère
5244d19cdd
Update link to list of keys 2019-10-18 16:28:07 +02: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
Rohan Talip
b48c4bcffd
Updated postinstall to fix typo 2019-06-03 13:18:07 -07: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
David Nicolson
6188c0dc71 Use UTF-8 for output 2019-02-24 21:35:15 +01:00
David Nicolson
fd44dc4c7f Use UTF-8 for output 2019-02-03 17:09:29 +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
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
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
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
Ondrej Galbavy
d49479dbc4 Show proper error on invalid requested version 2018-10-20 20:42:40 +02: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
Emilien Mottet
b5ee2365a0 add optionnal proxy for gpg 2018-08-03 10:52:09 +02:00
David Bernheisel
9d323d367d Do it in both places 2018-07-23 16:45:56 -04:00
David Bernheisel
2346013a9e Make it consistent 2018-07-23 16:38:31 -04:00