Re: Task problem (was: Re: IMPORTANT → Please upgrade CPAN::Reporter to 1.2011)

2014-04-24 Thread David Golden
On Thu, Apr 24, 2014 at 3:00 PM, Reini Urban  wrote:
> First, CPAN dependencies are often wrong and maintainers are reluctant to
> add missing deps. Zefram is such a case. Tasks rely on proper deps of all
> kids, and when single child misses a dep the installation fails. Bundles are
> more stable. But of course Tasks are easier to maintain and cause less
> hassle on dep changes.

Tasks can add deep (missing) dependencies just as well as Bundles can.

> Second, the XS issue. I think filed a bug report years ago, when I had to
> write and keep maintaining Bundle::CPANReporter2 to be able install the new
> metacpan reporter on several hundred installations. Maybe I'll find it, but
> currently I'm a bit busy...

If I missed it, I apologize.

David


Task problem (was: Re: IMPORTANT → Please upgrade CPAN::Reporter to 1.2011)

2014-04-24 Thread Reini Urban

On 04/24/2014 01:26 PM, David Golden wrote:

On Thu, Apr 24, 2014 at 12:07 PM, Reini Urban  wrote:

Easy and modern, but too easy and wrong.
Tasks will not upgrade XS modules, when a newer module was found but is not
usable.


Hi, Reini.  Could you please explain that further with an example?  My
understanding is that tasks are no better or worse for dependency
management than a typical CPAN distribution so I'd like to understand
your experience in more detail.

And, yes, I do understand what Bundles do and why they are different
and some of the specific use-cases for them.  Please just focus on
what Task:: is getting wrong.


First, CPAN dependencies are often wrong and maintainers are reluctant 
to add missing deps. Zefram is such a case. Tasks rely on proper deps of 
all kids, and when single child misses a dep the installation fails. 
Bundles are more stable. But of course Tasks are easier to maintain and 
cause less hassle on dep changes.


Second, the XS issue. I think filed a bug report years ago, when I had 
to write and keep maintaining Bundle::CPANReporter2 to be able install 
the new metacpan reporter on several hundred installations. Maybe I'll 
find it, but currently I'm a bit busy...



[Disclaimer: The views expressed in this letter are my own, and do not 
represent those of my employer.]

--
Reini

Working towards a true Modern Perl.
Slim, functional, unbloated, compile-time optimizable


Re: IMPORTANT → Please upgrade CPAN::Reporter to 1.2011

2014-04-24 Thread David Golden
On Thu, Apr 24, 2014 at 12:07 PM, Reini Urban  wrote:
> Easy and modern, but too easy and wrong.
> Tasks will not upgrade XS modules, when a newer module was found but is not
> usable.

Hi, Reini.  Could you please explain that further with an example?  My
understanding is that tasks are no better or worse for dependency
management than a typical CPAN distribution so I'd like to understand
your experience in more detail.

And, yes, I do understand what Bundles do and why they are different
and some of the specific use-cases for them.  Please just focus on
what Task:: is getting wrong.

David


Re: IMPORTANT → Please upgrade CPAN::Reporter to 1.2011

2014-04-24 Thread Reini Urban

On 04/24/2014 04:51 AM, Olivier Mengué wrote:

As Task::CPAN::Reporter is the easiest way to install CPAN::Reporter and
all its dependencies, that distribution should be upgraded too.


Easy and modern, but too easy and wrong.
Tasks will not upgrade XS modules, when a newer module was found but is 
not usable.


Thus I updated Bundle::CPANReporter2 to 0.09 which also flattens the 
reqs manually, thus adds missing reqs and works ok.

And I also switched from the "unsafe" Crypt::SSLeay to
the Net::SSLeay, IO::Socket::SSL, LWP::Protocol::https combo which does 
hostname verification.



2014-04-23 1:00 GMT+02:00 David Golden mailto:x...@xdg.me>>:
If you smoke with CPAN+CPAN::Reporter, please upgrade CPAN::Reporter.
CPAN 2.05 reports optional prerequisites and you must upgrade
CPAN::Reporter to deal with it.

I should have mentioned this after the QAH but forgot.  Mea culpa.


--
Reini

Working towards a true Modern Perl.
Slim, functional, unbloated, compile-time optimizable


Re: IMPORTANT → Please upgrade CPAN::Reporter to 1.2011

2014-04-24 Thread Olivier Mengué
As Task::CPAN::Reporter is the easiest way to install CPAN::Reporter and
all its dependencies, that distribution should be upgraded too.


2014-04-23 1:00 GMT+02:00 David Golden :

> If you smoke with CPAN+CPAN::Reporter, please upgrade CPAN::Reporter.
> CPAN 2.05 reports optional prerequisites and you must upgrade
> CPAN::Reporter to deal with it.
>
> I should have mentioned this after the QAH but forgot.  Mea culpa.
>
> David
>
>
> --
> David Golden  Twitter/IRC: @xdg
>


IMPORTANT → Please upgrade CPAN::Reporter to 1.2011

2014-04-22 Thread David Golden
If you smoke with CPAN+CPAN::Reporter, please upgrade CPAN::Reporter.
CPAN 2.05 reports optional prerequisites and you must upgrade
CPAN::Reporter to deal with it.

I should have mentioned this after the QAH but forgot.  Mea culpa.

David


-- 
David Golden  Twitter/IRC: @xdg