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

  • about 12 years ago: kwk added keyword "nodejs" to this project.
  • about 12 years ago: kwk added keyword "rpm" to this project.
  • about 12 years ago: kwk added keyword "ruby" to this project.
  • about 12 years ago: kwk started this project.
  • about 12 years ago: kwk originated this project.

  • Comments

    • kwk
      about 12 years ago by kwk | Reply

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

      • kwk
        about 11 years ago by kwk | Reply

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

    • kwk
      almost 12 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

      npm ERR! syscall getaddrinfo
      npm ERR! code ENOTFOUND
      
      error in OBS.

      NPM needs to be modified to first look at its local cache before reaching out to the Internet.

    • kwk
      about 11 years ago by kwk | Reply

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

    Similar Projects

    Kudos aka openSUSE Recognition Platform by lkocman

    Description

    I started the Kudos application shortly after Leap 16.0 to create a simple, friendly way to recognize people for their work and contributions to openSUSE. There’s so much more to our community than just submitting requests in OBS or gitea we have translations (not only in Weblate), wiki edits, forum and social media moderation, infrastructure maintenance, booth participation, talks, manual testing, openQA test suites, and more!

    Goals

    • Kudos under github.com/openSUSE/kudos with build previews aka netlify

    • Have a kudos.opensuse.org instance running in production

    • Build an easy-to-contribute recognition platform for the openSUSE communit a place where everyone can send and receive appreciation for their work, across all areas of contribution.

    • In the future, we could even explore reward options such as vouchers for t-shirts or other community swag, small tokens of appreciation to make recognition more tangible.

    Resources