Grokbase
x

Re: Class::ISA CPAN install destination

View PostFlat  Thread  Threaded | < Prev - Next >
Steffen Mueller Re: Class::ISA CPAN install destination
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Hi Todd, hi David,

Todd Rinaldo wrote:
> On Feb 8, 2010, at 11:04 AM, David E. Wheeler wrote:
>
>> On Feb 8, 2010, at 8:15 AM, jesse wrote:
>>
>>>> That's a little confusing. So the second a deprecated module is
>>>> upgraded via CPAN, the deprecation message goes away?
>>> Correct. What's deprecated is the module's inclusion in core. Not
>>> the module itself.
>> What's the deprecation message? Maybe it could be clearer?

> $>perl.5.11 -W -MClass::ISA -e '' Class::ISA will be removed from the
> Perl core distribution in the next major release. Please install it
> from CPAN. It is being used at -e, line 0.

I think we all agree that's plenty clear, thanks for posting it.

> So I guess the goal here is to make a little noise so people making
> distributions and/or packaging CPAN modules will know they need to
> update their distribution dependency tree and/or Makefile.PL to
> reference the new dependency since taking core for granted is no
> longer safe.

It was the only solution anybody could think of to get rid of old crap
(and stuff that simply doesn't have to be core) and at the same time
provide for the self-imposed deprecation period of such changes. I think
the perl5-porters have a good track record of not simply breaking
compatibility like other languages that start with P. Or R.

> I'm guessing there's an old thread on this topic and I'll grant it's
> too late to change anything for 5.12.0, but IMHO I don't follow what
> the major problem would have been be with just yanking the deprecated
> modules from core and letting all of the new distributions fix their
> dependency trees. As it is now, I have to write code when packaging
> perl via RPM to pull it out of core after the make install so I can
> have the ability later package it separately.
>
> If I don't do so, it just makes annoying noise to the user who can't
> do anything about the packager's (me) original decision to not remove
> Class::ISA from the core RPM. In my case, I'm dealing with RPM, but
> the issue should be identical in Debian and maybe BSD packaging
> design.

This is indeed unfortunate. Maybe it would be possible to include that
bit of code in core (can't be *that* much nor *that* hard) and have a
build option to exclude the deprecated stuff? Then you'd "just" have to
force installation of the now de-cored packages separately. Some form of
virtual-package system should allow for this.

Of course, we're in 5.12 code freeze, so you'd have to be extra nice to
Jesse to get such a tool in before.

> If I could recommend anything for the short term, it would be to
> artificially lower the version number on these deprecated modules in
> core to below CPAN levels so that my first 'cpan -u' (upgrade) makes
> this issue go away. Right now, Class::ISA in core and CPAN are both
> 0.36

As John already pointed out, it must be the other way around. I'm the
sucker for Class::ISA.

Best regards,
Steffen

Thread : Class::ISA CPAN install destination
1)
Todd Rinaldo --Apple-Mail-35--746224174 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;...
2)
Nicholas Clark No, this is working exactly as designed. It means that the CPAN distribution and the core...
3)
Todd Rinaldo That's a little confusing. So the second a deprecated module is upgraded via CPAN, the deprecation...
4)
Nicholas Clark YES. Because the "deprecation" (somewhat misnamed) is that it's to be removed from *core*. Not,...
5)
Jesse Correct. What's deprecated is the module's inclusion in core. Not the module itself. > Todd
6)
David E. Wheeler What's the deprecation message? Maybe it could be clearer? David
7)
Todd Rinaldo $>perl.5.11 -W -MClass::ISA -e '' Class::ISA will be removed from the Perl core distribution in the...
8)
John Peacock Version numbers must be monotonically increasing or else everything will come to a screeching halt....
9)
David E. Wheeler Better to release 0.37 on CPAN then. Best, David
10)
Nicholas Clark It seems unfair to break things on people with no warning. The intent was specifically to get third...
11)
Todd Rinaldo Yep it'll have to be decoupled in the packaging. I guess the question is how to get the word out to...
12)
David E. Wheeler major release. Please install it from CPAN. It is being used at -e, line = That's pretty...
13)
Steffen Mueller Hi Todd, hi David, I think we all agree that's plenty clear, thanks for posting it. It was the only...
14)
Rafael Garcia-Suarez jor release. Please install it from CPAN. It is being used at -e, line 0. ibutions and/or packaging...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >