[Pkg-javascript-devel] Bug#1010471: Bug#1010471: Bug#1010471: Bug#1010471: eslint: please move Recommends to Depends
Jérémy Lal
kapouer at melix.org
Wed May 4 11:41:36 BST 2022
Le lun. 2 mai 2022 à 12:48, Jérémy Lal <kapouer at melix.org> a écrit :
>
>
> Le lun. 2 mai 2022 à 12:24, Jonas Smedegaard <jonas at jones.dk> a écrit :
>
>> Quoting Jérémy Lal (2022-05-02 11:59:15)
>> > Le lun. 2 mai 2022 à 11:54, Jonas Smedegaard <jonas at jones.dk> a écrit :
>> >
>> > > Quoting Jérémy Lal (2022-05-02 11:45:36)
>> > > > I stand by saying as it is, putting those packages:
>> > > > node-chalk
>> > > > node-strip-ansi
>> > > > node-text-table
>> > > > in Recommends just breaks the default functionality of eslint.
>> > >
>> > > Ignoring recommends breaks systems.
>> > >
>> >
>> > eslint is a build-dependency of enigmail (nothing odd about that).
>> > When sbuild builds a package, it doesn't install recommended packages
>> > of build-dependencies ?
>>
>> Correct: Build environments need recommendations explicitly declared as
>> build-dependencies, when needed.
>>
>
> I don't discuss the usefulness of Recommends.
>
> I'm trying to argue why in the particular case of eslint and of those
> three packages
> (mentioned above) you put in Recommends, it breaks eslint for other
> packages
> Build-Depending on eslint.
>
> Adding those Recommends in Build-Depends is not a good practice, IMO,
> for this reasons:
> - separation of concerns
> - Build-Depends eslint does not install Recommends resulting in a broken
> eslint
> - when some eslint recommends change, build-dependent packages will just
> break again !
> - worse (because undetectable) build-dependent packages will uselessly
> build-depend on
> no longer required packages.
>
> Is there a strong reason to put those three packages in Recommends ?
> The economy of installing three additional small packages is outweighed by
> the
> over-engineering needed to cope with it.
>
Because of that, I think it's desirable to ask for eslint maintainer (Jonas)
to also maintain packages Build-Depending on eslint... or at least, maintain
these packages's Build-Dependencies, because only the eslint maintainer
knows
what he meant to go in there, for eslint to work.
Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220504/ab6af50b/attachment.htm>
More information about the Pkg-javascript-devel
mailing list