[Pkg-javascript-devel] review node-braces 2.3.1 with pkg-component setup
Paolo Greppi
paolo.greppi at libpf.com
Wed Jan 9 10:35:30 GMT 2019
Il 08/01/19 17:22, Jonas Smedegaard ha scritto:
> Hi Paolo,
>
> Quoting Paolo Greppi (2019-01-08 17:11:16)
>> While updating node-braces from 2.0.2 to 2.3.1, I found that the node-split-string version that we have in debian (6.0.0-1) breaks it (it only works with 3.0.2).
>> To see how it breaks it (779/944 tests fail), you can have a look at a failed CI run:
>> https://salsa.debian.org/js-team/node-braces/-/jobs/103300
>>
>> Since upstream is not willing to upgrade braces to use split-string 6.0.0 (https://github.com/micromatch/braces/issues/19) nor am I, I opted to embed split-string 3.0.2 (and assign-symbols that is for some mysterious reason also required), using the pkg-components procedure:
>> https://wiki.debian.org/Javascript/Nodejs/Npm2Deb/Embedding
>>
>> Since this is the 1st time I apply this procedure, I would appreciate if someone could review it:
>> https://salsa.debian.org/js-team/node-braces
>
> Do I understand correctly, that you embed libraries not because they are
> too tiny to be sensible to distribute alone in Debian, but because
> recent releases of (one of) those libraries cause testsuite failures and
> (upstream and) you don't want to patch testsuite?
>
> - Jonas
Both modules I propose to embed are small (132 and 26 LOC), do not require an elaborate build process and are not used by many other modules, so they qualify for embedding anyway.
split-string 6.0.0 breaks the braces module itself and not just the testsuite, the matter is that neither upstream nor I want to patch it.
BTW if this embedding is OK, we may as well drop node-split-string which AFAICT is not used at all.
The review I request is on the technicalities of the pkg-component embedding.
Paolo
More information about the Pkg-javascript-devel
mailing list