[Pkg-javascript-devel] RFS: node-yarnpkg

Xavier yadd at debian.org
Fri Jan 25 08:06:47 GMT 2019


Le 25/01/2019 à 09:04, Xavier a écrit :
> Le 25/01/2019 à 08:16, Paolo Greppi a écrit :
>> Il 25/01/19 07:18, Paolo Greppi ha scritto:
>>> Il 25/01/19 06:24, Pirate Praveen ha scritto:
>>>> On വെ, ജനു 25, 2019 at 10:22 രാവിലെ, Paolo Greppi <paolo.greppi at libpf.com> wrote:
>>>>> ...
>>>>
>>>> E: yarnpkg: package-contains-ancient-file usr/lib/nodejs/yarn/node_modules/npm-logical-tree/CHANGELOG.md 1970-01-01 (and some more)
>>>
>>> ...
>>> I wonder how we can fix this !
>>>
>>> Paolo
>>
>> @yadd says:
>>> Remove *.orig.tar.gz and regenerate them with gbp buildpackage
>>
>> and indeed:
>>
>> rm ../node-yarnpkg_1.13.0.orig*
>> gbp buildpackage -uc -us
>>
>> now the npm-logical-tree tarball is different and:
>>
>> tar xf ../node-yarnpkg_1.13.0.orig-npm-logical-tree.tar.gz
>> ls node-yarnpkg-1.13.0/ -l
>> totale 28
>> -rw-r--r-- 1 paolog paolog 1222 gen 25 08:09 CHANGELOG.md
>> -rw-r--r-- 1 paolog paolog 4919 gen 25 08:09 index.js
>> -rw-r--r-- 1 paolog paolog  755 gen 25 08:09 LICENSE.md
>> -rw-r--r-- 1 paolog paolog 1380 gen 25 08:09 package.json
>> -rw-r--r-- 1 paolog paolog 4563 gen 25 08:09 README.md
>>
>> Paolo
> 
> Hello,
> 
> I fixed some little things but looking at debian/tests/yarn, it seems
> that this test download packages during test. I think it's bad.
> 
> Is it also possible to add a test during build (override_dh_auto_test) ?
> Without network access of course.
> 
> Cheers,
> Xavier

Install also docs in the right place:
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/decode-uri-component/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/decode-uri-component/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/decode-uri-component/readme.md
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/hash-for-dep/README.md
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/is-gzip/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/is-gzip/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/is-gzip/readme.md
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/normalize-url/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/normalize-url/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/normalize-url/readme.md
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/npm-logical-tree/CHANGELOG.md
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/npm-logical-tree/LICENSE.md
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/npm-logical-tree/LICENSE.md
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/npm-logical-tree/README.md
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/peek-stream/LICENSE
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/peek-stream/LICENSE
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/peek-stream/README.md
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/query-string/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/query-string/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/query-string/readme.md
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/strict-uri-encode/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/strict-uri-encode/license
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/strict-uri-encode/readme.md
I: yarnpkg: extra-license-file
usr/lib/nodejs/yarn/node_modules/tar-fs/LICENSE
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/tar-fs/LICENSE
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/tar-fs/README.md
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/v8-compile-cache/CHANGELOG.md
I: yarnpkg: package-contains-documentation-outside-usr-share-doc
usr/lib/nodejs/yarn/node_modules/v8-compile-cache/README.md




More information about the Pkg-javascript-devel mailing list