[Pkg-javascript-devel] RFS: node-loose-envify 1.3.0

Jérémy Lal kapouer at melix.org
Sat Dec 3 00:33:15 UTC 2016


2016-12-03 1:02 GMT+01:00 Paolo Greppi <paolo.greppi at libpf.com>:
> Hi,
>
> I packaged node-loose-envify as per this ITP:
> https://bugs.debian.org/846206, this is the repo:
> https://anonscm.debian.org/git/pkg-javascript/node-loose-envify.git
>
> Two notes
> - regarding the source-is-missing error mentioned here
> https://lists.alioth.debian.org/pipermail/pkg-javascript-devel/2016-November/015929.html,
> I choose to delete the file with a patch

I'm not sure it does the trick.
A better IMO approach is to use Files-Exclude in debian/copyright, and
make a proper debian/watch. Then uscan will automatically dfsg-repack
the orig tarball. See how some other dfsg/ds packages do that.

> - I could not get rid of the binary-without-manpage lintian warning, as
> the supplied CLI does not support --help I could not use help2man ...

Then you need to build a manpage...
A very easy way to do so is with marked-man (convert .md to .1).
Leave the envify.md file in debian/ dir and build the .1 during build.


Side note:
override_dh_fixperms:
  dh_fixperms -X debian/node-loose-envify/usr/lib/nodejs/loose-envify/cli.js

isn't right because it makes the build non-reproducible, see
https://bugs.debian.org/845745
about why.

Also the description isn't really clear. Maybe a short sentence about
what it's about in a more general way. Is it useful for some build tool ?

Jérémy.




More information about the Pkg-javascript-devel mailing list