[Pkg-javascript-devel] Untested package pushed in NEW queue

Yadd yadd at debian.org
Sat Feb 5 08:26:40 GMT 2022


Hi,

node-sanitize-html was pushed to NEW queue without care. Here is what a 
simple upgrade shows:
  * the use of npm registry when GitHub tag is available
  * test not enabled even if it was easy and shows that package is buggy
  * useless dependency to nodejs. At least use nodejs:any (multi-arch)

Full changes with my tools:

   [ lintian-brush ]
   * Bump debhelper from old 11 to 13
   * Set upstream metadata fields: Bug-Submit
   * Remove obsolete fields Contact, Name from debian/upstream/metadata
     (already present in machine-readable debian/copyright)

   [ Yadd ]
   * Add "Rules-Requires-Root: no"
   * Use dh-sequence-nodejs instead of pkg-js-tools
   * Drop dependency to nodejs
   * Use GitHub tags, not npm registry
   * Mark test dependencies with <!nocheck>
   * Enable upstream test (mocha). This proves that node-sanitize-html
     isn't compatible with node-htmlparser2 >=7



More information about the Pkg-javascript-devel mailing list