[Pkg-javascript-devel] ITP: node-copy-webpack-plugin -- Copy files and directories in webpack

Pirate Praveen praveen at debian.org
Fri Dec 15 18:02:14 UTC 2017


On Sun, 22 Oct 2017 10:09:14 +0530 Pirate Praveen <praveen at debian.org>
wrote:
> * Package name    : node-copy-webpack-plugin
>   Version         : 4.2.0
>   Upstream Author : Len Boyette
> * URL             : https://github.com/webpack-contrib/copy-webpack-plugin
> * License         : Expat
>   Programming Lang: JavaScript
>   Description     : Copy files and directories in webpack

Need to fix these two test failures.

68 passing (454ms)
  2 failing

  1) apply function with glob in from can use a glob to move multiple
files to a non-root directory with name, hash and ext:

      AssertionError: expected { Object
(nested///binextension-d41d8c.bin,
nested/directory/directoryfile-22af64.txt, ...) } to have keys
'nested/binextension-d41d8c.bin', 'nested/file-22af64.txt',
'nested/directory/directoryfile-22af64.txt',
'nested/directory/nested/nestedfile-d41d8c.txt', and
'nested/noextension-d41d8c'
      + expected - actual

       [
      -  "nested///binextension-d41d8c.bin",
      -  "nested///file-22af64.txt",
      -  "nested///noextension-d41d8c",
      +  "nested/binextension-d41d8c.bin",
         "nested/directory/directoryfile-22af64.txt",
      -  "nested/directory/nested/nestedfile-d41d8c.txt"
      +  "nested/directory/nested/nestedfile-d41d8c.txt",
      +  "nested/file-22af64.txt",
      +  "nested/noextension-d41d8c"
       ]

      at /<<PKGBUILDDIR>>/compiled_tests/index.js:117:67
      at tryCatcher (/usr/lib/nodejs/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler
(/usr/lib/nodejs/bluebird/js/release/promise.js:512:31)
      at Promise._settlePromise
(/usr/lib/nodejs/bluebird/js/release/promise.js:569:18)
      at Promise._settlePromise0
(/usr/lib/nodejs/bluebird/js/release/promise.js:614:10)
      at Promise._settlePromises
(/usr/lib/nodejs/bluebird/js/release/promise.js:693:18)
      at Async._drainQueue
(/usr/lib/nodejs/bluebird/js/release/async.js:133:16)
      at Async._drainQueues
(/usr/lib/nodejs/bluebird/js/release/async.js:143:10)
      at Immediate.Async.drainQueues
(/usr/lib/nodejs/bluebird/js/release/async.js:17:14)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)

  2) apply function with directory in from can move multiple files to a
non-root directory with name, hash and ext:

      AssertionError: expected { Object (nested///.dottedfile-79d39f,
nested///directoryfile-22af64.txt, ...) } to have keys
'nested/.dottedfile-79d39f', 'nested/directoryfile-22af64.txt', and
'nested/nested/nestedfile-d41d8c.txt'
      + expected - actual

       [
      -  "nested///.dottedfile-79d39f",
      -  "nested///directoryfile-22af64.txt",
      +  "nested/.dottedfile-79d39f",
      +  "nested/directoryfile-22af64.txt",
         "nested/nested/nestedfile-d41d8c.txt"
       ]

      at /<<PKGBUILDDIR>>/compiled_tests/index.js:117:67
      at tryCatcher (/usr/lib/nodejs/bluebird/js/release/util.js:16:23)
      at Promise._settlePromiseFromHandler
(/usr/lib/nodejs/bluebird/js/release/promise.js:512:31)
      at Promise._settlePromise
(/usr/lib/nodejs/bluebird/js/release/promise.js:569:18)
      at Promise._settlePromise0
(/usr/lib/nodejs/bluebird/js/release/promise.js:614:10)
      at Promise._settlePromises
(/usr/lib/nodejs/bluebird/js/release/promise.js:693:18)
      at Async._drainQueue
(/usr/lib/nodejs/bluebird/js/release/async.js:133:16)
      at Async._drainQueues
(/usr/lib/nodejs/bluebird/js/release/async.js:143:10)
      at Immediate.Async.drainQueues
(/usr/lib/nodejs/bluebird/js/release/async.js:17:14)
      at runCallback (timers.js:672:20)
      at tryOnImmediate (timers.js:645:5)
      at processImmediate [as _immediateCallback] (timers.js:617:5)



debian/rules:16: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2017-12-15T17:58:25Z

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20171215/3a39d5b0/attachment.sig>


More information about the Pkg-javascript-devel mailing list