Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lowjs 20200402+1028ffb (binaries only) #592

Closed
wants to merge 1 commit into from
Closed

lowjs 20200402+1028ffb (binaries only) #592

wants to merge 1 commit into from

Conversation

jasonkarns
Copy link
Member

@jasonkarns jasonkarns commented Apr 11, 2020

Pinging @neoniousTR as maintainer of lowjs...

This adds a binaries-only definition file for lowjs. Subsequent PRs will start to add the ability to compile lowjs from source.

Questions for Thomas Rogg:

  1. This build is named 20200402+1028ffb but based on the sha, it looks like it's actually v1.4.9. Is this correct? Should this be published within nodenv as v1.4.9 or 20200402+1028ffb? Which version naming scheme will be used moving forward. Is it expected that binary dists are typically only published for tagged releases? If so, will these binaries eventually be uploaded as assets with each GitHub Release?
    (I'm concerned about consistent releases since it looks like the last release tag of v1.4.9 is at sha 93cc895 but the binary is from sha 1028ffb.)

  2. I see that the tarball doesn't contain a bin named 'node'. Is it common for lowjs users to want their low bin to be symlinked as node? For a similar example, in ruby-build, the jruby definition symlinks jruby as ruby. So when a jruby is activated, invoking ruby gives one the jruby runtime. Similarly in nodenv, graalvm's definition symlinks node to its graalvm node runtime. Alternatively, is it frequently necessary for "standard" node to still be available alongside lowjs such that symlinking lowjs as node is specifically undesirable?

  3. Does npm work for lowjs or is there a package manager that should be bundled with low or installed automatically when lowjs is installed by nodenv? Can node packages be installed "globally" under lowjs' lib/node_modules directory similar to npm installing packages under nodejs' lib/node_modules directory?

Anything else that would be useful for lowjs builds? I'd like to eventually get source compilation definitions added for lowjs, so nodenv can be used to compile releases and nightlies in addition to downloading binary dists.

Thanks! Hopefully nodenv can provide some helpful utility to lowjs users!

#457

@jasonkarns jasonkarns changed the title lowjs 20200402_1028ffb (binaries only) lowjs 20200402+1028ffb (binaries only) Apr 11, 2020
@ThomasRogg
Copy link

Hi!

  1. See Machine-parseable releases listings neonious/lowjs#102

  2. The purpose of low.js is to enable the usage of Node.JS on low powered devices. But I would not add the symlink, because this would imply 100% compatibility with Node.JS. We are not there yet.

  3. People can get packages from npm, but npm requires Node.JS, so adding npm would break the purpose of low.js. There is no package manager yet.

Thomas

@jasonkarns
Copy link
Member Author

closing per #457

@jasonkarns jasonkarns closed this May 24, 2024
@jasonkarns jasonkarns deleted the lowjs branch May 24, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants