Hi Thorsten, On Fr 10 Jun 2016 20:46:42 CEST, Thorsten Alteholz wrote:
On Fri, 10 Jun 2016, Mike Gabriel wrote: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 targetIs that a good idea?Yes, it is. Of course npm2deb already creates a watch file similar to your suggestion. But it can only do this if the author of the npm-module does some kind of release management. My patch, which introduces the -b option (--build-from-git), is only for those modules where there is no release management. In this case there are no tags and DDPO won't get anything to track, so a watch file makes no sense
It actually makes sense from the moment on that the upstream author got told, that release management is something nice to have and starts doing release management.
This we may need to improve. E.g.: o pull latest tag, not HEAD from a Github repoDepending on the contents of package.json, npm2deb already does this in "normal" operation mode, doesn't it?
Yeah, but where does it pull from? Github? Or npm.org (or whatsitsname...)?
o pull HEAD from a non-default branchI don't think this is a common use case. If you want to have such a behaviour, you might edit the get-orig-source-script ...
Yeah, ok.
Thorsten
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
pgpOAtACLPN4v.pgp
Description: Digitale PGP-Signatur