Nodejs is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. It uses NPM as its packaging system.
This hackweek project will create a npm2rpm Ruby gem to fully automate creation of (openSUSE) RPM packages.
As NPM is very picky about versions, this tool will create version-specific RPM files by appending the version number to the package name.
Having nodejs-* packages is a prerequisite for Orientdb-Studio required for this hackweek project
This project is part of:
Hack Week 10
Comments
-
over 10 years ago by kwk | Reply
The npm2rpm Ruby gem is reasonably functional. See this repository for packaged npm modules.
-
over 10 years ago by kwk | Reply
Local builds are fine, OBS builds not. Reason is that 'npm' tries a network connection to grab a (locally installed !) package. It will return 304 (Not modified) in local builds but raises a <pre> npm ERR! syscall getaddrinfo npm ERR! code ENOTFOUND </pre> error in OBS.
NPM needs to be modified to first look at its local cache before reaching out to the Internet.
Similar Projects
LSP server for SPEC files by mcepl
Has anybody ever heard about RPM Spec LSP serve...
Tumbleweed support for Raspberry Pi 4 with Quad SATA HAT by jbaier_cz
[comment]: # (Please use the project descriptio...
Investigate zypper/openSUSE repository refresh optimisations by dirkmueller
[comment]: # (Please use the project descriptio...
Switch software-o-o to parse repomd data by hennevogel
Currently software.opensuse.org search is using...
A CLI for Harvester by mohamed.belgaied
[comment]: # Harvester does not officially come...
Modernize SCC Customer Management and/or Patchfinder by digitaltomm
[comment]: # (Please use the project descriptio...
Reduce the amount of TODOs for RuboCop in OBS by enavarro_suse
Project Description
The OBS project has a...
Catalog/Online Store for a bakery in Rails 7 by gfilippetti
[comment]: # (Please use the project descriptio...
Dawnscanner: parsing a simple sinatra application by pperego
[comment]: # (Please use the project descriptio...
A command line image collector tool for my gallery website by AZhou
[comment]: # (Please use the project descriptio...