[Pkg-javascript-devel] Bug#888903: Bug#888903: jsbeautifier, node-js-beautify: both ship /usr/bin/js-beautify
Paolo Greppi
paolo.greppi at libpf.com
Thu Jan 31 08:19:59 GMT 2019
Il 31/01/19 01:15, Jérémy Lal ha scritto:
> ...
> Hi,
>
> i find it funny that no one even tried to solve this bug:
> both packages (python-jsbeautifier, node-js-beautify)
> have the same upstream !
> The solution here is to provide two dpkg-alternative to
> /usr/bin/js-beautify.
>
> It's blocking postcss, it would be nice to quickly fix this.
>
> Jérémy
I had proposed an ever quicker fix:
https://alioth-lists.debian.net/pipermail/pkg-javascript-devel/2019-January/030590.html
which is still on my todo list. What do you think of that ?
A more complex (but nicer) alternative would be to have single source generate both the js and python package.
Currently they have the same homepage, but different upstream tarballs.
python-jsbeautifier watches pypi:
https://salsa.debian.org/debian/python-jsbeautifier/blob/debian/master/debian/watch
whereas we watch github:
https://salsa.debian.org/js-team/node-js-beautify/blob/master/debian/watch
Another difficulty is that python-jsbeautifier is at version 1.6.4, whereas node-js-beautifyis at 1.7.5.
In any case both packages could be updated to 1.8.9 which is the current non-beta version.
Paolo
More information about the Pkg-javascript-devel
mailing list