[Pkg-javascript-devel] Bug#940511: Bug#940511: Our mutual interest in /usr/bin/yarn
Pirate Praveen
praveen at debian.org
Sun Oct 29 10:46:40 GMT 2023
On Mon, 21 Nov 2022 09:39:31 +0100 "Yadd" <yadd at debian.org> wrote:
> I don't think that "Provides: yarn" is a good thing here since "/usr/bin/yarn" isn't provided by yarnpkg. "Provides: node-yarn" seems enough here and without any consequences.
As a compromise, can we have a debconf prompt to notify users about this
conflict and to run
sudo ln -s /usr/bin/yarnpkg /usr/bin/yarn
if they want to use yarn command.
Automating this via a postinst may be a good idea too, but not sure if
that is allowed by policy. May be we can ask for an exception since this
is a special case. This way people who want to use yarn command has a
way to do it easily.
Prompting users is a bad idea in general if we can have good defaults,
but we don't have much options left here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231029/4eb517d0/attachment.sig>
More information about the Pkg-javascript-devel
mailing list