develooper Front page | perl.module.build | Postings from December 2010

Campaign to reduce superfluous redundancies

Thread Next
From:
David Golden
Date:
December 10, 2010 10:54
Subject:
Campaign to reduce superfluous redundancies
Message ID:
AANLkTimq0KB99xVZGio=s3tm-9eZkfuTFzwDtBWzv6Sr@mail.gmail.com
As part of my campaign to eliminate redundancies, I've started on the following:

* Deprecating Module::Build::ModuleInfo in favor of Module::Metadata,
which mst extracted into its own dist so it could be used by EU:MM and
other toolchain modules.
* Deprecating Module::Build::Version in favor of relying directly on
version.pm (which now is Makefile.PL only so we don't have a circular
dependency)
* Deprecating Module::Build::YAML in favor of YAML::Tiny, which is now
approved by the pumpking to go into core perl

This eliminates the need to continue copy/pasting things into the M::B
distribution and avoids bugs due to mismatching versions of modules
(which plagued M::B::Version particularly).

In all cases, the dependencies are listed in 'configure_requires' and
are bundled in inc/ if needed to allow a bootstrap on an older perl
without configure_requires support.  The M::B::* modules are being
kept as empty subclass wrappers for now to ensure compatibility for
anything else that was using them.

In the coming weeks, I'll be asking people to test
bootstrapping/upgrading the dev version, so please keep an eye out.

If you have other ideas for eliminating redundancies, let me know.

-- David

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About