[Pkg-javascript-devel] On node-svgo

Pirate Praveen praveen at onenetbeyond.org
Fri Dec 10 08:49:14 GMT 2021



2021, ഡിസംബർ 10 1:57:30 PM IST, Julien Puydt <julien.puydt at gmail.com>ൽ എഴുതി
>Hi,
>
>Le jeudi 09 décembre 2021 à 17:16 +0100, Jonas Smedegaard a écrit :
>> Quoting Julien Puydt (2021-12-09 17:05:57)
>> > Hi,
>> > 
>> > on salsa we have a node-svgo, and the changelog shows traces of
>> > having
>> > been uploaded to unstable ; but I don't find the package in NEW and
>> > can't install it.
>> > 
>> > What's amusing is that if you have a look at "npm2deb svgo", you'll
>> > see
>> > there is no Debian package, but "npm2deb depends svgo" will still
>> > say:
>> > 
>> > Warnings occurred:
>> >  [warning] csso: csso is included in node-svgo. Package it
>> > separately
>> > and remove it from node-svgo if you need it for another module.
>> >  [warning] stable: stable is included in node-svgo. Package it
>> > separately and remove it from node-svgo if you need it for another
>> > module.
>> >  [warning] prettier: Useless in Debian compilation, see node-jest
>> > for
>> > an example
>> > 
>> > Finally, there's an ITP bug: https://bugs.debian.org/887376 -- and
>> > it
>> > doesn't look like it was ever closed.
>> > 
>> > What is the status of this?
>> 
>> The odd warning likely comes from here: 
>> https://wiki.debian.org/Javascript/Nodejs/Database
>> 
>> Perhaps the package simply has not yet entered Debian¹ at all?
>> 
>>  - Jonas
>> 
>> ¹ Salsa is not Debian - it is a playground for creating Debian.
>> 
>
>I know salsa is a playground, but I had mixed signals, so I was lost.

It was part of a mass reject of NEW as documented in https://wiki.debian.org/Javascript/Nodejs/NEW

"DONE: node-svgo - no longer a dependency of css-loader from 1.0"

So it was packaged since an older version of css-loader depended on it, but it was removed from dependency since 1.0

>I reworked the package a little - refraining from updating to a more
>recent upstream, because it looked like more work. That means quite a
>few patches to cope with new api in other packages, but I made
>autopkgtest run so I'm pretty confident about those.
>
>I'm still annoyed with:
>E: node-svgo source: source-is-missing
>debian/node_modules/csso/dist/csso-browser.js
>which I don't really know how I want to fix, but I think it looks
>pretty good.

You can generate that file if you need browser support or probably exclude that from source if you only need nodejs support.

Also that is using the old method of embedding before uscan supported components, so it is a good idea to convert it to a uscan component.

>Cheers,
>
>J.Puydt
>
>-- 
>Pkg-javascript-devel mailing list
>Pkg-javascript-devel at alioth-lists.debian.net
>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

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



More information about the Pkg-javascript-devel mailing list