[needs-packaging] forever

Bug #861219 reported by Gias Kay Lee
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Wishlist
Florian Brandes

Bug Description

A simple CLI tool for ensuring that a given script runs continuously (i.e. forever).

URL: https://github.com/indexzero/forever
License: https://github.com/indexzero/forever/blob/master/LICENSE
Notes: Newest version (v0.6.7) depends on nodejs (>= 0.4.12).

Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
Florian Brandes (florian-brandes) wrote :

using proposed install instructions under oneiric builds the package. It fails when using npm from current oneiric repository with the following error:
npm ERR! Error: Using '<' with 0.1.x makes no sense. Don't do it.
npm ERR! at /usr/share/npm/lib/utils/semver.js:94:29
npm ERR! at String.replace (native)
npm ERR! at replaceXRange (/usr/share/npm/lib/utils/semver.js:88:25)
npm ERR! at Array.map (native)
npm ERR! at replaceXRanges (/usr/share/npm/lib/utils/semver.js:84:17)
npm ERR! at Array.map (native)
npm ERR! at toComparators (/usr/share/npm/lib/utils/semver.js:66:8)
npm ERR! at Object.validRange (/usr/share/npm/lib/utils/semver.js:138:11)
npm ERR! at install_ (/usr/share/npm/lib/install.js:103:22)
npm ERR! at /usr/share/npm/lib/install.js:77:5
npm ERR! Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm ERR! or email it to <email address hidden>
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok

The version in the oneiric repositories is: 0.2.19-1
The current version of npm is: 1.0.30
In order for this to be packaged (using npm) npm needs to be updated.

Or is there a way to package forever without the proposed npm?

Revision history for this message
Gias Kay Lee (gias-kay-lee) wrote :

If it is acceptable to pull in dependencies from PPA, you will need the newest version of nodejs & npm:

http://blog.gantrithor.com/post/10405024929/install-up-to-date-node-js-and-npm-via-apt-get

I don't know if there is a way to package it sanely without npm.

Revision history for this message
Florian Brandes (florian-brandes) wrote :

I did update the node package manager to 1.0.30-1. See https://bugs.launchpad.net/ubuntu/+source/npm/+bug/863094
Forever installs with current oneiric nodejs and the newly packaged npm in version 1.0.30-1.

I'm working on packaging forever now, the npm is available in my PPA for people who are interested.

@Gias
Sorry, I read your comment a moment too late. I guess there are more npm-PPAs out there now ;-)
I think to package forever, I will need to put in a dependency of npm >= 1.0 to build it.

Changed in ubuntu:
assignee: nobody → Florian Brandes (florian-brandes)
Revision history for this message
Gias Kay Lee (gias-kay-lee) wrote :

No problem =) It is a very good thing to request a bump to NPM anyhow since v0.2.19 is way outdated, and many places inside /debian really need to be looked over again by someone good at packaging these things.

Just checked your package and there are some more settings need to be tweaked, like bash-completion and path for man pages. I got v1.0.29 in my PPA but it's basically the same with v1.0.30 (upstream removed generated man pages from source, no effect on package building).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.