Comments (10)
@chrisbuttery for now, a workaround is to create a definition file.
Create the following file 1.0.3-io
install_package "iojs-v1.0.3-linux-x64" "https://iojs.org/dist/v1.0.3/iojs-v1.0.3-linux-x64.tar.gz#1599fb15b1b9fb3a6a0dba338d29df10249ccb0b" copy
Then from a prompt, run:
bash$ nodenv install ./1.0.3-io
from nodenv.
Thanks @peterkc
from nodenv.
In all honesty I've given it absolutely no thought as I've not really been following the io.js stuff. I will try and find time this month to take a look.
@peterkc is there likely more work required than just creating the definition file to make this compatible?
from nodenv.
👍
from nodenv.
What needs to be done to make this happen? I would love to make this a reality! :)
from nodenv.
iojs has been added to node-build
iojs scraper added: nodenv/node-build@3e85330
iojs-0.12.0-dev: nodenv/node-build@d30c639
iojs builds 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4: nodenv/node-build@3a55dd9
iojs build 1.1.0: nodenv/node-build@97d0b52
iojs build 1.2.0: nodenv/node-build@b00cb0b
iojs build 1.3.0: nodenv/node-build@3bac9dc
iojs build 1.4.1, 1.4.2, 1.4.3: nodenv/node-build@ba04ae4
iojs build 1.5.0, 1.5.1: nodenv/node-build@67e0cfb
iojs build 1.6.0, 1.6.1, 1.6.2: nodenv/node-build@c4a0b78
iojs build for 1.x devline branch: nodenv/node-build@4e2e08f
from nodenv.
@jasonkarns after looking at the request to get definition files for binary builds. I'm wondering if it would be better to have a "node-definition" plugin that is response for helping create definition files. This would avoid having to scrape nodejs.org and iojs.org for new releases.
I'm thinking of creating a PR for the following:
# Usage:
# node-definition create [-f|--force] [-v|--verbose] <version>
# node-definition create [-f|--force] [-v|--verbose] <version>,<os>,<arch>,<method>
#
# Create a definition file using default
$ nodenv definition create 0.12.1
# Create a definition file with the a specific version, os, arch, and method.
$ nodenv definition create 0.12.1,osx,x64,copy
The plugin will download the correct SHASUMS256.txt file from either nodejs.org or iojs.org and grep the checksum using the provided version, os and arch.
The above example would generate the following:
install_package "node-v0.12.1-darwin-x64" "https://nodejs.org/dist/v0.12.1/node-v0.12.1-darwin-x64.tar.gz#1724e75c32ac58452e0ca3eae25120ab67e3b1383da7c10278b33c0f2d3385bf" 0.12.1 copy
I have most of the functionality for this working, base on several scripts that I have created for a previous project.
Also, might be best after aligning/forking rbenv (#13) so as to get the upstream fixes as well.
from nodenv.
@peterkc How do you envision this working from within the context of nodenv? If the scraper is replaced, would this plugin be used by maintainers to generate definitions files? Be used on-demand by node-build just in time for installing a node?
from nodenv.
I'm thinking it should be on demand. If the definition is not there, the user will be prompted to create one and asked if it should be a binary or source install and proceed accordingly.
- Peter C
On Mar 30, 2015, at 07:04, Jason Karns [email protected] wrote:
@peterkc How do you envision this working from within the context of nodenv? If the scraper is replaced, would this plugin be used by maintainers to generate definitions files? Be used on-demand by node-build just in time for installing a node?
—
Reply to this email directly or view it on GitHub.
from nodenv.
Now that we have iojs definitions in node-build, i'm closing this issue.
@peterkc let's move any further discussion related to installing binaries to nodenv/node-build#11
from nodenv.
Related Issues (20)
- Script to install/update nodenv on a shell (linux/mac) HOT 1
- How do things like yarn installs work within nodenv? HOT 3
- Support Corepack HOT 6
- Question: how to best run globally installed npm module? HOT 4
- Question: How would I go about removing nodenv and all node instances from a server? HOT 1
- Advice: nodejs latest release does not appear in $nodenv --list HOT 4
- Suggestion/Feature: LTS Version marker on the install list HOT 2
- strange undesired behavior when installing global dep HOT 1
- GPL License Compliance Issue HOT 2
- homebrew formula broken HOT 1
- Installing global package with yarn will not yield to a shim after rehash HOT 2
- `nodenv install` tries to use python and fails on MacOS Monterey 12.3 and later and fails HOT 6
- Support pnpm HOT 5
- In addition to .node-version, support .tool-versions and .nvmrc HOT 4
- Download fails with no error code
- No Debian / Ubuntu package available in the official repositories HOT 4
- Create Debian installation packages HOT 1
- Not respecting makefile HOT 2
- RBENV reference in the README HOT 2
- Documents HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodenv.