[Pkg-javascript-devel] Bug#826882: create package from git

Thorsten Alteholz alteholz at debian.org
Thu Jun 9 18:08:13 UTC 2016


Package: npm2deb
Version: 0.2.5-1
Severity: whishlist
Tags: patch
thanks

Hi Leo,

as you know, not every developer of npm modules does release a tarball for 
new versions. Some of them commit something to github and just put the new
version in their package.json.

With this patch npm2deb is able to work with such repositoies.
If you do something like (the -b is new):
  ./npm2deb.py  create -b hashish
it will create a different debian/watch file (just saying that you can not 
use uscan to get a new version), it will add a new target get-orig-source 
to debian/rules and it will create a debian/get-orig-source script that 
pulls the latest commit from the repository, creates a orig.tar and puts 
something like X.Y.Z~gitHHHH as version in debian/changelog.

What do you think of it?


Thanks!
  Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: npm2deb-git-download.diff
Type: text/x-diff
Size: 9906 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20160609/7af8c58b/attachment.diff>


More information about the Pkg-javascript-devel mailing list