Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why Alien:: Dists Should not be optional

3 views
Skip to first unread message

Shlomi Fish

unread,
Aug 1, 2018, 11:00:04 AM8/1/18
to <module-authors@perl.org>
Alien:: distributions on CPAN (see https://github.com/Perl5-Alien ) should
not be made an optional requirement by their reverse deps because this will
mean duplicate logic at best, and a broken build process at worst.

For more info and some solutions for common problems, see:

* https://github.com/petdance/html-tidy5/pull/9

* https://rt.cpan.org/Public/Bug/Display.html?id=125972


--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
https://github.com/shlomif/what-you-should-know-about-automated-testing

I don’t believe in fairies. Oops! A fairy died.
I don’t believe in fairies. Oops! Another fairy died.
http://www.shlomifish.org/humour.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Andy Lester

unread,
Aug 1, 2018, 11:00:04 AM8/1/18
to Shlomi Fish, <module-authors@perl.org>

Alien:: distributions on CPAN (see https://github.com/Perl5-Alien ) should
not be made an optional requirement by their reverse deps because this will
mean duplicate logic at best, and a broken build process at worst.

I’m not sure I see what you’re saying.  Are you saying that for something like HTML::Tidy5, that Tidy5 should somehow be required to use the corresponding Alien::Tidy5 module?

Shlomi Fish

unread,
Aug 1, 2018, 12:15:02 PM8/1/18
to Andy Lester, <module-authors@perl.org>
Hi,
either it should have it as a hard dep, or it should implement something of its
own to detect if the library is present (but not download and install it).


--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Funny Anti-Terrorism Story - http://shlom.in/enemy

I HAVE NEITHER BEEN THERE NOR DONE THAT
— Bart Simpson on chalkboard in episode AABF17
0 new messages