[Pkg-javascript-devel] Bug#940511: Bug#940511: yarnpkg: Package symlink yarn -> yarnpkg

Xavier yadd at debian.org
Mon Sep 16 15:41:00 BST 2019


Control: tags -1 + wontfix

Le Lundi, Septembre 16, 2019 16:02 CEST, Melvin Vermeeren <vermeeren at posteo.net> a écrit: 
> Package: yarnpkg
> Version: 1.13.0-1
> Severity: normal
> 
> Upstream calls the binary itself yarn as yarnpkg appears to have been
> deprecated. Packaging as yarnpkg for backwards-compatibility is understandable,
> though I believe a symlink yarn -> yarnpkg should be added as tools and scripts
> nowadays typically check only for yarn.
> 
> For example a problem occurs when installing GitLab from source, it only checks
> for yarn during the rake task and complains it cannot be found. A local symlink
> /usr/local/bin/yarn -> /usr/bin/yarnpkg resolved the issue.
> 
> (Alternatively, perhaps make yarn the primary installation and symlink the
> legacy yarnpkg -> yarn.)
> 
> Thanks.

Debian has already a /usr/bin/yarn file given by cmdtest. cmdtest has a better "popcon" than yarnpkg, that's why we won't change this for now.

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list