Hi Thorsten, hi Leo, On Do 09 Jun 2016 20:08:13 CEST, Thorsten Alteholz wrote:
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 newversion 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 hashishit 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
Is that a good idea? Not having an actual URL in debian/watch? When obtaining upstream projects from Github, I recommend using a watch file of this kind:
""" version=3 opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/<PKGNAME>-$1.tar.gz/ \https://github.com/<USER-OR-ORG>/<UPSTREAMPROJECT>/tags .*/archive/v?([\d\.]+).tar.gz
"""This, although not used with uscan, provides upstream release tracking in DDPO.
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.
This we may need to improve. E.g.: o pull latest tag, not HEAD from a Github repo o pull HEAD from a non-default branch
What do you think of it?
Thanks for working on this! Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de
pgppR1s9nW3e3.pgp
Description: Digitale PGP-Signatur