Victor Borja
b900533294
Set executable bit for list-bin-paths
2017-09-04 03:31:47 -05:00
Daniel Perez
d182dca840
Use list-bin-paths instead of custom hook
2017-08-19 14:34:09 +09:00
vic
be1deeebd3
Use a more portable version sort.
...
On some linux's sort command does not take the `-V` option (Alpine base image with busybox). Use a more portable `sort_versions` from rbenv. Also I guess this removes the dependency on gsort in OSX.
2017-07-23 05:39:44 -05:00
Daniel Perez
eeaae91251
Merge pull request #39 from jechol/master
...
Change keyserver to ipv4.pool.sks-keyservers.net
2017-05-06 19:12:57 +09:00
jechol
4a4138ddb3
Change keyserver to ipv4.pool.sks-keyservers.net
2017-04-17 11:54:00 +09:00
Robin Schneider
7e3e6e53ff
Use ASDF_DIR environment variable if available
...
Related to: https://github.com/asdf-vm/asdf/pull/156
2017-03-16 23:02:02 +01:00
Akash Manohar
eedcc35d67
Merge pull request #32 from MSch/patch-1
...
Add support for .node-version
2017-02-26 13:11:16 +05:30
Martin Schürrer
ffed40a438
Add support for .node-version
...
Used by avn, nodenv and ndenv
2017-02-24 00:48:10 +01:00
Zura Guerra
fed3e97b69
Change some commands in the install
script to make it work for both Linux and MacOS
2017-02-22 17:35:31 -06:00
Robin Schneider
2d0460219d
mktemp
on OSX only supports short command line parameters Oo
...
Related to: #15
2017-02-21 00:21:31 +01:00
Robin Schneider
2d0a443ad2
Fix CI testing of signatures/checksums checking
...
Fixes : #25
2017-02-20 19:21:05 +01:00
Akash Manohar
cf582889e7
Merge pull request #25 from ypid/feature/check_openpgp_signatures
...
Check signatures/checksums to ensure authenticity
2017-02-20 23:16:23 +05:30
Robin Schneider
001999f36c
Give user hint if trust might not be bootstrapped yet to ease upgrade
2017-02-20 08:39:49 +01:00
Akash Manohar
0b15cadbbd
Merge pull request #24 from fazibear/fix-file-modes
...
Fix bin file mode
2017-02-20 11:52:18 +05:30
Robin Schneider
6c8bb8c9f4
Optimize script: Fix remaining shellcheck warnings, clean up /tmp
2017-02-20 06:58:03 +01:00
Robin Schneider
c213d9c20e
Check signatures/checksums to ensure authenticity
...
Please refer to [Verifying Node.js Binaries](https://blog.continuation.io/verifying-node-js-binaries/ )
for why this is important.
Related to: https://github.com/asdf-vm/asdf/issues/158
Mitigates: https://github.com/nodejs/node/issues/9859
Mitigates: https://github.com/nodejs/node/issues/6821
Implementing this feature required some rework of the `install` script
which is included in this PR. The following other PR are
superseded/included in this one:
Closes : #15
Closes : #16
Closes : #19
Note that this PR also updates the base download URL from
"http://nodejs.org/dist " to "https://nodejs.org/dist " meaning that
before this PR (or #16 which is not merged), binaries where downloaded
over plain legacy HTTP! (those binaries where later executed by the
user). This is really bad and is fairly easy to exploit!
Related to: https://github.com/creationix/nvm/pull/736
Related to: https://github.com/creationix/nvm/issues/793
2017-02-20 06:58:02 +01:00
Robin Schneider
ae0c4205c7
Upgrade URL schema to HTTPS for list-all
...
Related to: #16
2017-02-20 06:57:08 +01:00
Akash Manohar
c1199f6810
Merge pull request #16 from edupc/master
...
Change install script to use https on package download
2017-02-20 10:05:58 +05:30
Michał Kalbarczyk
277347bc8a
Fix bin file mode
2017-02-10 22:42:21 +01:00
André Ligné
d737bf189d
Add support for selecting version from nvmrc
2016-12-05 09:49:53 +01:00
Trevor Brown
d4d3a126b7
Add 0.10.x and 0.11.x nodejs versions to list-all script.
2016-10-04 14:03:23 -04:00
Eduardo Cunha
85cbe3b496
Change install script to use https on package download
2016-05-30 23:02:38 -03:00
Akash Manohar J
abc472cc1e
Revert back version sorting
2016-03-12 22:29:48 +05:30
Akash Manohar J
446ffb7cbc
Sort in reverse order
2016-03-12 21:48:58 +05:30
Rico Sta. Cruz
d7005d4cd2
list-all: fetch versions from semver.io
2016-02-15 08:31:14 +08:00
Akash Manohar
4f850e5e49
Update git url
2016-02-09 22:40:09 +05:30
Yurii Bodarev
a9f7c732ef
Add Node.js 5.5.0 version to the list
2016-01-31 22:07:10 +02:00
Nick Gal
036b831659
Add 5.4.1 to versions_list
2016-01-13 18:36:59 -08:00
Yurii Bodarev
1f32717051
Node version 5.4.0 added
...
https://github.com/nodejs/node/blob/v5.4.0/CHANGELOG.md
2016-01-07 18:38:18 +02:00
Akash Manohar J
7cf59c1454
Move the hook script from python to node.js
...
Some environments like containers don't have Python installed.
2016-01-05 11:27:03 +05:30
Justin
daaac9f4bf
Added more Node versions
...
Added all the missing ones which are currently listed here:
https://nodejs.org/dist/
2015-12-23 12:40:18 +01:00
Akash Manohar J
286e8055d2
Fix condition
2015-12-23 05:44:18 +05:30
Akash Manohar J
ec1aca10ba
Fix bin names #6
2015-12-22 22:35:59 +05:30
Akash Manohar J
ae6b6ff9e4
Centralized postinstall hook #3
2015-12-22 22:35:35 +05:30
Akash Manohar J
92e83cb235
Add 4.2.0 and 4.2.1
2015-10-18 07:47:12 +05:30
Praveen Wicliff
c0f2d5d25b
[Versions] Adds listing for new nodejs versions
2015-10-07 08:58:46 +05:30
Akash Manohar J
ed3ad675f0
Add npm hook
2015-05-24 15:17:38 +05:30
Akash Manohar J
5138c05bb7
fix function call
2015-05-24 11:28:44 +05:30
Akash Manohar J
19edf42920
Initial commit with nodejs plugin
2015-05-24 09:56:04 +05:30