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

Looking for hackers with the skills:

rpm ruby nodejs

This project is part of:

Hack Week 10

Activity

  • almost 7 years ago: kwk added keyword "nodejs" to Nodejs automated packaging
  • almost 7 years ago: kwk added keyword "rpm" to Nodejs automated packaging
  • almost 7 years ago: kwk added keyword "ruby" to Nodejs automated packaging
  • almost 7 years ago: kwk started Nodejs automated packaging
  • almost 7 years ago: kwk originated Nodejs automated packaging

  • Comments

    • kwk
      almost 7 years ago by kwk | Reply

      The npm2rpm Ruby gem is reasonably functional. See this repository for packaged npm modules.

      • kwk
        almost 6 years ago by kwk | Reply

        https://build.opensuse.org/project/show/home:kwk:nodejs

    • kwk
      over 6 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.

    • kwk
      almost 6 years ago by kwk | Reply

      Waiting for https://github.com/npm/npm/issues/5509 to get resolved.

    Similar Projects

    libsolv web interface by lnussel

    In order to inspect rpm dependencies inside the...


    All our beloved acronyms in one place... also some Jekyll hackin by thutterer

    Acronyms are fun. Everyone at SUSE loves them. ...


    Learn Crystal by porting part of YaST to that language by ancorgs

    For a very long time, I have been planning to p...


    ActiveJob influxdb-rails instrumentation by hennevogel

    We have ActiveJob instrumentation in the OBS co...


    Analyser for YaST logs by jreidinger

    Well, we often stuck in YaST team with knowledg...


    Hacking irc-gitter bridge by juliogonzalezgil

    GitLab provides a [bridge to connect to Gitter ...


    Alexa on Linux - voice commands for SUSE products by calmeidadeoliveira

    What is it about?

    Learn about AVS (Alexa Vo...