Re: [Pkg-javascript-devel] build node-i18next with webpack instead or rollup?

2019-10-07 Thread Pirate Praveen



On Sun, Oct 6, 2019 at 22:47, Nicolas Mora  
wrote:

Hello JS team,

I was able to make a package for i18next here:


Thanks to Pirate's feedback, I now build the bundle with rollup, but 
the

minified bundle is created with uglifyjs.terser

For some reason, lintian seems to be failing right now, I have the
following error message: "sbuild-build-depends-lintian-dummy : 
Depends:
lintian but it is not going to be installed" but if I run it 
manually, I

see no errors.

Could a DD check my package and - if it's ok to be pushed in NEW - 
copy
it in the js-team? Or if the package is not ok, tell me what I should 
do

to improve it?



See 
https://salsa.debian.org/ruby-team/rails/blob/master/debian/patches/0002-disable-uglify-in-activestorage-rollup-config-js.patch 
to pass system paths to rollup-plugin-node-resolve instead of copying 
whole /usr/lib/nodejs.


Pass /usr/lib/nodejs and /usr/share/nodejs both.

Also I think you have applied patches directly in master, we don't 
follow that scheme in js-team. Please unapply patches from master or 
otherwise quilt push -a was failing


$ quilt push -a
Applying patch build.patch
patching file .babelrc
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file .babelrc
patching file package.json
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- rejects in file package.json
patching file rollup.config.js
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 17.
2 out of 2 hunks FAILED -- rejects in file rollup.config.js
Patch build.patch can be reverse-applied




You can use debian/nodejs/build instead of override_dh_auto_build.


-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] build node-i18next with webpack instead or rollup?

2019-10-07 Thread Nicolas Mora
Hi,

Le 19-10-07 à 04 h 02, Pirate Praveen a écrit :
> 
> See
> https://salsa.debian.org/ruby-team/rails/blob/master/debian/patches/0002-disable-uglify-in-activestorage-rollup-config-js.patch
> to pass system paths to rollup-plugin-node-resolve instead of copying
> whole /usr/lib/nodejs.
> 
> Pass /usr/lib/nodejs and /usr/share/nodejs both.
> 
If I apply this change, I got a lot of errors like this:

(!) Circular dependency:
../../../usr/lib/nodejs/core-js/library/modules/_export.js ->
../../../usr/lib/nodejs/core-js/library/modules/_hide.js ->
../../../usr/lib/nodejs/core-js/library/modules/_object-dp.js ->
../../../usr/lib/nodejs/babel-runtime/core-js/object/define-property.js
-> ../../../usr/lib/nodejs/core-js/library/fn/object/define-property.js
->
../../../usr/lib/nodejs/core-js/library/modules/es6.object.define-property.js
-> ../../../usr/lib/nodejs/core-js/library/modules/_export.js

Aby idea how to fix it?

> Also I think you have applied patches directly in master, we don't
> follow that scheme in js-team. Please unapply patches from master or
> otherwise quilt push -a was failing
> 
My mistake, bad habit, it's fixed in the next commit, thanks

> You can use debian/nodejs/build instead of override_dh_auto_build.
> 
Done

/Nicolas


pEpkey.asc
Description: application/pgp-keys
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] build node-i18next with webpack instead or rollup?

2019-10-07 Thread Pirate Praveen


On 2019, ഒക്‌ടോബർ 7 7:17:30 PM IST, Nicolas Mora  wrote:
>Hi,
>
>Le 19-10-07 à 04 h 02, Pirate Praveen a écrit :
>> 
>> See
>>
>https://salsa.debian.org/ruby-team/rails/blob/master/debian/patches/0002-disable-uglify-in-activestorage-rollup-config-js.patch
>> to pass system paths to rollup-plugin-node-resolve instead of copying
>> whole /usr/lib/nodejs.
>> 
>> Pass /usr/lib/nodejs and /usr/share/nodejs both.
>> 
>If I apply this change, I got a lot of errors like this:
>
>(!) Circular dependency:
>../../../usr/lib/nodejs/core-js/library/modules/_export.js ->
>../../../usr/lib/nodejs/core-js/library/modules/_hide.js ->
>../../../usr/lib/nodejs/core-js/library/modules/_object-dp.js ->
>../../../usr/lib/nodejs/babel-runtime/core-js/object/define-property.js
>-> ../../../usr/lib/nodejs/core-js/library/fn/object/define-property.js
>->
>../../../usr/lib/nodejs/core-js/library/modules/es6.object.define-property.js
>-> ../../../usr/lib/nodejs/core-js/library/modules/_export.js
>
>Aby idea how to fix it?

I have seen such warnings, though I'm not sure how serious it is. Did the build 
fail?

>> Also I think you have applied patches directly in master, we don't
>> follow that scheme in js-team. Please unapply patches from master or
>> otherwise quilt push -a was failing
>> 
>My mistake, bad habit, it's fixed in the next commit, thanks
>
>> You can use debian/nodejs/build instead of override_dh_auto_build.
>> 
>Done

I'll check it later.

>/Nicolas

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] build node-i18next with webpack instead or rollup?

2019-10-07 Thread Nicolas Mora
Le 19-10-07 à 11 h 41, Pirate Praveen a écrit :
>> If I apply this change, I got a lot of errors like this:
>>
>> (!) Circular dependency:
>> ../../../usr/lib/nodejs/core-js/library/modules/_export.js ->
>> ../../../usr/lib/nodejs/core-js/library/modules/_hide.js ->
>> ../../../usr/lib/nodejs/core-js/library/modules/_object-dp.js ->
>> ../../../usr/lib/nodejs/babel-runtime/core-js/object/define-property.js
>> -> ../../../usr/lib/nodejs/core-js/library/fn/object/define-property.js
>> ->
>> ../../../usr/lib/nodejs/core-js/library/modules/es6.object.define-property.js
>> -> ../../../usr/lib/nodejs/core-js/library/modules/_export.js
>>
>> Aby idea how to fix it?
> 
> I have seen such warnings, though I'm not sure how serious it is. Did the 
> build fail?
> 
Indeed it's just warning messages, I've read the build log too fast, the
error was because of invalid tests.
The upstream package uses karma to run tests so I had to disable testing
in the package build. I let a note as a reminder for the future in
debian/tests/pkg-js/test

I've made other changes in the package to use pkg-js-tools features.

/Nicolas


pEpkey.asc
Description: application/pgp-keys
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Processing of node-css-what_3.2.0-1_sourceonly.changes

2019-10-07 Thread Debian FTP Masters
node-css-what_3.2.0-1_sourceonly.changes uploaded successfully to localhost
along with the files:
  node-css-what_3.2.0-1.dsc
  node-css-what_3.2.0.orig.tar.gz
  node-css-what_3.2.0-1.debian.tar.xz

Greetings,

Your Debian queue daemon (running on host usper.debian.org)

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] node-css-what_3.2.0-1_sourceonly.changes ACCEPTED into unstable

2019-10-07 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Mon, 07 Oct 2019 22:17:43 +0200
Source: node-css-what
Architecture: source
Version: 3.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 

Changed-By: Xavier Guimard 
Changes:
 node-css-what (3.2.0-1) unstable; urgency=medium
 .
   * Team upload
   * Declare compliance with policy 4.4.1
   * New upstream version 3.2.0
   * Use node-typescript-types files:
 + keep @types/node@12.6.8 for test only
 + build with "tsc --lib es6"
   * Add "Rules-Requires-Root: no"
Checksums-Sha1: 
 7d79d10d32df0b1c449b8ef21ab81e2d7cfa0f5f 2163 node-css-what_3.2.0-1.dsc
 bb7ad0d7d218379cfd058e60beb4e764b1bb6965 35097 node-css-what_3.2.0.orig.tar.gz
 93af11ad9eea997a41559f38486ca1ce343efd13 100408 
node-css-what_3.2.0-1.debian.tar.xz
Checksums-Sha256: 
 b71898ffdb20f1eabcd1da2664d47792c4bc91d476efce8f56c87ebebb0d6c20 2163 
node-css-what_3.2.0-1.dsc
 02ba4c4f2682197bf040cb866db8ec59c4a8841905008f81138865cf4b3b90e4 35097 
node-css-what_3.2.0.orig.tar.gz
 d7a94108f7c9029cdd84a36e655427b387f5c3f9fea78ab8eed29ba651295af6 100408 
node-css-what_3.2.0-1.debian.tar.xz
Files: 
 bcfab59be62fe5185e1a1f4f90ea349a 2163 javascript optional 
node-css-what_3.2.0-1.dsc
 ea73d3bc6050f063631dd4401b3f184b 35097 javascript optional 
node-css-what_3.2.0.orig.tar.gz
 f159366cd22adcbed7913f6ee8a3b6af 100408 javascript optional 
node-css-what_3.2.0-1.debian.tar.xz

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAl2bngcACgkQ9tdMp8mZ
7unkYA//RvzKeaN/SVbZQbzatm0j4jQjR1WrOSd95DUUlvNYJeF9Fq3ZLX+szxda
BMLtPV4LgMTc+F4K5uGlQFEZxYl5Nr5wEykXeOKMb0/7tBjIXav4bGnFZpUSv3KA
CvflWAywo+j+Bh2blqKd7ULUhfkN1gFTb4otOk9VLgi+vYeEE9DXmnQ1w3I+vc6z
PAo1m24zRMVDc4pCEHSwuxUBHKX6/MF/rJJS9KcTlvQPDZVxxZOsbwspPLJ2EaN5
hgKp7ju3h0+Kshs1ir6t5v1XyVlvUcNZ7ulLX+nZrFM1b1G8D+UmPQ66EHng1Lx4
vlgu1oyp/zvXh/IVkOk97ekpjqaBo0YQ+DiaW8+BOubzVSk2OFdq2ZZD7bG6jTDz
HpJTMYSmBKKLDPAE+id0nwG11cS4FCd4hsd7qMaHXkvCfZlghXFh3DInYOpnS3Dx
Ic287SCDwqVnoINd+Zil6En0MpCWRqZwhK4jgWm1QQhAhbw95Ub4GvugXKuRYk7d
BROUU5pXkmUaHk9MDBadTiItHx2stwa84ss1W5gJdW42sDt6Kit1EJhAGGp6gI23
LGCsu4SHcT4q8HG+wSg4euGL3a0aN88fNeD4O9Ihk39QBn3l57qmAMgmzvVNldUb
NiB8ST6lViDpNyi87hXmPFJfXIBowdBDojV2aFa8C3DvBi2CxwM=
=Oa8L
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Processed: [bts-link] source package src:pkg-js-tools

2019-10-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> #
> # bts-link upstream status pull for source package src:pkg-js-tools
> # see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
> # https://bts-link-team.pages.debian.net/bts-link/
> #
> user debian-bts-l...@lists.debian.org
Setting user to debian-bts-l...@lists.debian.org (was 
debian-bts-l...@lists.debian.org).
> # remote status report for #941582 (http://bugs.debian.org/941582)
> # Bug title: Add dh-make-node tool to automate packaging
> #  * https://salsa.debian.org/js-team/pkg-js-tools/merge_requests/2
> #  * remote status changed: (?) -> merged
> #  * closed upstream
> tags 941582 + fixed-upstream
Bug #941582 [src:pkg-js-tools] Add dh-make-node tool to automate packaging
Added tag(s) fixed-upstream.
> usertags 941582 + status-merged
There were no usertags set.
Usertags are now: status-merged.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
941582: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941582
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#941119: Bug#941119: Wontfix

2019-10-07 Thread Xavier
Le 04/10/2019 à 19:11, Pirate Praveen a écrit :
> On Mon, 30 Sep 2019 22:59:08 +0200 Xavier  wrote:
>> 941119: error is on npm registry side
> 
> It does not work for any module. npm and other tools still work with the
> registry so I think we need to work around this or at least report the
> issue to npmjs.com

I'm still unable to reproduce:

$ add-node-component -i sha1
Components added: sha1
add-node-component: Newest version of node-mongodb on remote site is
3.3.2, specified download version is 3.3.2
add-node-component: Newest version of node-mongodb on remote site is
3.2.7, specified download version is 3.2.7
Successfully symlinked ../node-mongodb-native-3.3.2.tar.gz to
../node-mongodb_3.3.2.orig.tar.gz.
Successfully symlinked ../mongodb-core-3.2.7.tgz to
../node-mongodb_3.2.7.orig-mongodb-core.tar.gz.
add-node-component: Newest version of node-mongodb on remote site is
1.0.1, ignore local version
Successfully symlinked ../require_optional-1.0.1.tgz to
../node-mongodb_3.2.7.orig-requireoptional.tar.gz.
add-node-component: Newest version of node-mongodb on remote site is
1.1.1, ignore local version
Successfully symlinked ../bson-1.1.1.tgz to
../node-mongodb_3.2.7.orig-bson.tar.gz.
add-node-component: Newest version of node-mongodb on remote site is
1.1.1, ignore local version
Successfully symlinked ../node-node-sha1-1.1.1.tar.gz to
../node-mongodb_3.2.7.orig-sha1.tar.gz.
mv ../node-mongodb_3.3.2.orig.tar.gz to
../node-mongodb_3.3.2+~3.2.7.orig.tar.gz
mv ../node-mongodb_3.2.7.orig-mongodb-core.tar.gz to
../node-mongodb_3.3.2+~3.2.7.orig-mongodb-core.tar.gz
mv ../node-mongodb_3.2.7.orig-requireoptional.tar.gz to
../node-mongodb_3.3.2+~3.2.7.orig-requireoptional.tar.gz
mv ../node-mongodb_3.2.7.orig-bson.tar.gz to
../node-mongodb_3.3.2+~3.2.7.orig-bson.tar.gz
mv ../node-mongodb_3.2.7.orig-sha1.tar.gz to
../node-mongodb_3.3.2+~3.2.7.orig-sha1.tar.gz
Étiquette 'upstream/3.3.2+_3.2.7' supprimée (elle était sur d8757bb)
[master c1aabf6] Embed components: sha1
 2 files changed, 10 insertions(+), 4 deletions(-)
What is the upstream version? [3.3.2+~3.2.7]
...

The reported error shows that npm returned a malformed JSON ("Malformed
upstream registry" followed by JSON error). This happens sometime

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#941582: Waiting for Perl transition

2019-10-07 Thread Xavier
Hi,

I'm waiting for perl transition to upload new pkg-js-tools.

Cheers,
Xavier

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] [bts-link] source package src:pkg-js-tools

2019-10-07 Thread debian-bts-link
#
# bts-link upstream status pull for source package src:pkg-js-tools
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
# https://bts-link-team.pages.debian.net/bts-link/
#

user debian-bts-l...@lists.debian.org

# remote status report for #941582 (http://bugs.debian.org/941582)
# Bug title: Add dh-make-node tool to automate packaging
#  * https://salsa.debian.org/js-team/pkg-js-tools/merge_requests/2
#  * remote status changed: (?) -> merged
#  * closed upstream
tags 941582 + fixed-upstream
usertags 941582 + status-merged

thanks

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] json-js 0~20190826-1 MIGRATED to testing

2019-10-07 Thread Debian testing watch
FYI: The status of the json-js source package
in Debian's testing distribution has changed.

  Previous version: 0~20180723-2
  Current version:  0~20190826-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] libjs-sdp 2.10.0-1 MIGRATED to testing

2019-10-07 Thread Debian testing watch
FYI: The status of the libjs-sdp source package
in Debian's testing distribution has changed.

  Previous version: 2.9.0-6
  Current version:  2.10.0-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] libjs-bootbox 5.3.2~dfsg-1 MIGRATED to testing

2019-10-07 Thread Debian testing watch
FYI: The status of the libjs-bootbox source package
in Debian's testing distribution has changed.

  Previous version: 5.1.3~dfsg-2
  Current version:  5.3.2~dfsg-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] leaflet 1.5.1~dfsg-2 MIGRATED to testing

2019-10-07 Thread Debian testing watch
FYI: The status of the leaflet source package
in Debian's testing distribution has changed.

  Previous version: 1.5.1~dfsg-1
  Current version:  1.5.1~dfsg-2

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] libjs-webrtc-adapter 7.3.0~ds-1 MIGRATED to testing

2019-10-07 Thread Debian testing watch
FYI: The status of the libjs-webrtc-adapter source package
in Debian's testing distribution has changed.

  Previous version: 7.2.8~ds-1
  Current version:  7.3.0~ds-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See https://release.debian.org/testing-watch/ for more information.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel