Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 48721
Status: resolved
Worked: 30 min
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in:
  • 6.54
  • 6.55_01
  • 6.55_02
Fixed in: (no value)



Subject: Document versions for WriteMakeFile arguments
Use case: as a distribution author I want to use META_ADD in my Makefile.PL. In which version did this setting appeared? How should I write a Makefile.PL that will work on both 6.54 and on an alder version that did not support it? So it would be helpful for distribution authors to have access to the version number (CPAN release / Perl release) in which each WriteMakeFile argument key appeared. This information would be included in the EU::MM POD. Also it would be helpful if the POD documented a standard way of using new EU::MM features but still work on an old EU::MM.
Subject: Re: [rt.cpan.org #48721] Document versions for WriteMakeFile arguments
Date: Wed, 19 Aug 2009 12:14:53 -0700
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Olivier 'dolmen' Mengué via RT wrote: Show quoted text
> Use case: as a distribution author I want to use META_ADD in my > Makefile.PL. In which version did this setting appeared? How should I > write a Makefile.PL that will work on both 6.54 and on an alder version > that did not support it? > > So it would be helpful for distribution authors to have access to the > version number (CPAN release / Perl release) in which each WriteMakeFile > argument key appeared. This information would be included in the EU::MM POD. > > Also it would be helpful if the POD documented a standard way of using > new EU::MM features but still work on an old EU::MM.
Agreed. Crib the "standard" way from Test-Simple's Makefile.PL. Otherwise, scour the Changes file and git log to figure out when things were added. Pick the highest stable version that doesn't have any major bugs. For example, META_MERGE would be 6.46 not 6.45_01. -- emacs -- THAT'S NO EDITOR... IT'S AN OPERATING SYSTEM!
Птн. Авг. 14 09:23:48 2009, DOLMEN писал: Show quoted text
> Use case: as a distribution author I want to use META_ADD in my > Makefile.PL. In which version did this setting appeared? How should I > write a Makefile.PL that will work on both 6.54 and on an alder version > that did not support it? > > So it would be helpful for distribution authors to have access to the > version number (CPAN release / Perl release) in which each WriteMakeFile > argument key appeared. This information would be included in the
EU::MM POD. Show quoted text
> > Also it would be helpful if the POD documented a standard way of using > new EU::MM features but still work on an old EU::MM.
I'm planning to release a compatibility code (already used in repo versions of my modules) after EUMM release with working BUILD_REQUIRES. -- Alexandr Ciornii, http://chorny.net
Le Dim 04 Oct 2009 06:42:57, CHORNY a écrit : Show quoted text
> Птн. Авг. 14 09:23:48 2009, DOLMEN писал:
> > Use case: as a distribution author I want to use META_ADD in my > > Makefile.PL. In which version did this setting appeared? How should I > > write a Makefile.PL that will work on both 6.54 and on an alder version > > that did not support it?
Someone wrote tips on this subject on the Perl Foundation's wiki (see "Silencing unnecessary warnings"): http://www.perlfoundation.org/perl5/index.cgi?tips_for_writing_modules -- Olivier Mengué - http://o.mengue.free.fr/
On Fri Aug 14 12:23:48 2009, DOLMEN wrote: Show quoted text
> Use case: as a distribution author I want to use META_ADD in my > Makefile.PL. In which version did this setting appeared? How should I > write a Makefile.PL that will work on both 6.54 and on an alder version > that did not support it? > > So it would be helpful for distribution authors to have access to the > version number (CPAN release / Perl release) in which each WriteMakeFile > argument key appeared. This information would be included in the
EU::MM POD. Show quoted text
> > Also it would be helpful if the POD documented a standard way of using > new EU::MM features but still work on an old EU::MM.
See App::EUMM::Upgrade on CPAN (http://search.cpan.org/perldoc?App::EUMM::Upgrade), it injects compatibility code directly into Makefile.PL. -- Alexandr Ciornii, http://chorny.net
I've documented when various attributes were added. I've also mentioned App::EUMM::Upgrade. Updated in EUMM repository. Many thanks.
This issue is now resolved with the release of 6.70 Many thanks.