Bug#879481: ITP: node-copy-webpack-plugin -- Copy files and directories in webpack

2017-12-15 Thread Pirate Praveen
On Sun, 22 Oct 2017 10:09:14 +0530 Pirate Praveen 
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 /<>/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 /<>/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 '/<>'
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



signature.asc
Description: OpenPGP digital signature


Bug#879481: ITP: node-copy-webpack-plugin -- Copy files and directories in webpack

2017-10-21 Thread Pirate Praveen
Package: wnpp
Severity: wishlist
Owner: Pirate Praveen 
X-Debbugs-CC: debian-de...@lists.debian.org

* 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

 This webpack plugin copies individual files or entire directories to
the build
 directory.
 .
 Webpack takes code targeted at node.js and makes it run in the browser.
 Node.js comes with API of its own that is not available in the browsers.
 Webpack exposes this code to programs that are unaware they are running
in a
 browser.
 .
 Node.js is an event-based server-side JavaScript engine.

Dependency of gitlab 9.5



signature.asc
Description: OpenPGP digital signature