Coder Social home page Coder Social logo

IO.js? about nodenv HOT 10 CLOSED

nodenv avatar nodenv commented on July 21, 2024
IO.js?

from nodenv.

Comments (10)

peterkc avatar peterkc commented on July 21, 2024

@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.

chrisbuttery avatar chrisbuttery commented on July 21, 2024

Thanks @peterkc

from nodenv.

OiNutter avatar OiNutter commented on July 21, 2024

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.

KaoruDev avatar KaoruDev commented on July 21, 2024

👍

from nodenv.

algogrit avatar algogrit commented on July 21, 2024

What needs to be done to make this happen? I would love to make this a reality! :)

from nodenv.

jasonkarns avatar jasonkarns commented on July 21, 2024

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.

peterkc avatar peterkc commented on July 21, 2024

@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.

jasonkarns avatar jasonkarns commented on July 21, 2024

@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.

peterkc avatar peterkc commented on July 21, 2024

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.

jasonkarns avatar jasonkarns commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.