Commit Graph

62 Commits

Author SHA1 Message Date
Akash Manohar
eedcc35d67 Merge pull request #32 from MSch/patch-1
Add support for .node-version
2017-02-26 13:11:16 +05:30
Akash Manohar
8365aaa6d3 Remove typo line 2017-02-26 11:29:33 +05:30
Akash Manohar
9a25dd9f5f Simplify docs. Add copy-paste instructions 2017-02-26 11:28:55 +05:30
Akash Manohar
4e547ff5af Update README.md 2017-02-26 11:11:56 +05:30
Akash Manohar
af8b48c4cc Merge pull request #30 from ZuraGuerra/master
Fix broken install on MacOS
2017-02-26 11:09:34 +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
Zura Guerra
6c0abb5b7a Document in the ReadMe file that coreutils is a requirement for MacOS users 2017-02-22 16:17:36 -06:00
Akash Manohar
bf8ab6f582 Merge pull request #28 from ypid/fix_ci_test/check_openpgp_signatures
Fix CI testing of signatures/checksums checking
2017-02-22 12:04:35 +05:30
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
21c2e00343
Update Travis CI tests on OSX to xcode8.2 to have gpg available
Related to: https://github.com/travis-ci/travis-ci/issues/6916#issuecomment-262241758
2017-02-20 21:37:07 +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
36fbaf2d60
Update README 2017-02-20 06:58:03 +01:00
Robin Schneider
6c8bb8c9f4
Optimize script: Fix remaining shellcheck warnings, clean up /tmp 2017-02-20 06:58:03 +01:00
Robin Schneider
dbe5e78886
Fix version note in README 2017-02-20 06:58:03 +01:00
Robin Schneider
add6f5d8a9
Add missing LICENSE
Related to: https://github.com/asdf-vm/asdf/issues/161
2017-02-20 06:58:02 +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
Akash Manohar
57cd6aa88e Merge pull request #23 from bzf/patch-1
Add support for selecting version from nvmrc
2017-01-12 23:17:00 +05:30
André Ligné
d737bf189d Add support for selecting version from nvmrc 2016-12-05 09:49:53 +01:00
Akash Manohar
cb0b6910e7 Merge pull request #21 from Stratus3D/add-0.10
Add 0.10.x and 0.11.x nodejs versions to list-all script.
2016-10-06 08:05:31 +05:30
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
Daniel Perez
60707f42d0 Add CI integration. 2016-05-14 15:27:38 +09:00
Akash Manohar
cdf560b8a2 Update to refer to new organization 2016-03-16 09:54:18 +05:30
Akash Manohar J
abc472cc1e Revert back version sorting 2016-03-12 22:29:48 +05:30
Akash Manohar J
5519535ffd Revert back post-install 2016-03-12 22:20:10 +05:30
Akash Manohar J
446ffb7cbc Sort in reverse order 2016-03-12 21:48:58 +05:30
Akash Manohar
98b01a2c96 Merge pull request #14 from richarddewit/patch-1
Fix `asdf_nodejs_plugin_path`. Thank you @richarddewit ~!
2016-03-12 21:24:24 +05:30
Richard de Wit
e03b535793 Fix asdf_nodejs_plugin_path
When installing a module that uses `postinstall` it threw an error

> No such plugin.

The variable `asdf_nodejs_plugin_path` was assigned wrong.
2016-02-29 09:37:40 +01:00
Akash Manohar
17c062ae27 Merge pull request #13 from rstacruz/patch-1
list-all: fetch versions from semver.io. Thanks to @rstacruz ~!
2016-02-15 06:39:57 +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
Akash Manohar
b55cc6caf4 Merge pull request #10 from Molly101/patch-2
Add Node.js 5.5.0 version to the list. Thank you @Molly101 ~!
2016-02-01 06:39:45 +05:30
Yurii Bodarev
a9f7c732ef Add Node.js 5.5.0 version to the list 2016-01-31 22:07:10 +02:00
Akash Manohar
d80b5c69da Merge pull request #9 from nickgal/patch-1
Add 5.4.1 to versions_list. Thank you @nickgal ~!
2016-01-14 08:35:29 +05:30
Nick Gal
036b831659 Add 5.4.1 to versions_list 2016-01-13 18:36:59 -08:00
Akash Manohar
41b908d21e Merge pull request #8 from Molly101/patch-1
Node version 5.4.0 added. Thank you @Molly101 ~!
2016-01-07 22:30:18 +05:30
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
Akash Manohar
de77b08c19 Merge pull request #7 from justin-calleja/add-node-versions
Added more Node versions. Thank you @justin-calleja ~!
2015-12-23 17:40:05 +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