[Pkg-javascript-devel] Supporting multiple modules versions -OR- Bundling node modules in node app

David Paleino dapal at debian.org
Sat Nov 19 17:51:34 UTC 2011


Hello team members,
I'm still struggling in packaging TileMill for Debian. After the whole bunch of
node-* packages I uploaded, I hoped everything went fine, when... TileMill
requires an older version of a package I uploaded (node-bones 1.3.* vs. the
Debianic 2.0).

Now, I don't know what to do. Should I make a node-bones1 package? Should we
establish some policy for keeping different versions of a package?
It would be nice if we could use the same hierarchy of ~/.node_modules/ or
~/.npm/ in our NODE_PATH, i.e. something along the lines of:

/usr/lib/nodejs/
\ -- module/
     | --- 0.1/
     | --- 0.2/
     \ --- .../

or:

/usr/lib/nodejs/
| -- module at 0.1/
| -- module at 0.2/
\ -- module at .../

Or, at least, @1.x/, @2.x/, ... .

I can't think of any other way of keeping things sane, other than patching all
apps to work with the packaged modules (in this case I'll stop right away
working on TileMill, it's too far away from my possibilities), or bundling the
needed modules in the orig tarball.

What's your opinion on this?

Thank you,
David
-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20111119/6c1379aa/attachment.pgp>


More information about the Pkg-javascript-devel mailing list