10 years agocanonical repository moved to https://github.com/Perl-Toolchain-Gang/Module-Metadata master
Karen Etheridge [Sun, 6 Apr 2014 20:20:38 +0000]
canonical repository moved to https://github.com/Perl-Toolchain-Gang/Module-Metadata

10 years agobump version for next release
Karen Etheridge [Sun, 16 Mar 2014 07:48:54 +0000]
bump version for next release

10 years agogoodbye DistGen.pm and MBTest.pm!
Karen Etheridge [Sun, 8 Dec 2013 04:55:52 +0000]
goodbye DistGen.pm and MBTest.pm!

10 years agointroduce tighter scopes for each test
Karen Etheridge [Sun, 8 Dec 2013 02:46:28 +0000]
introduce tighter scopes for each test

10 years agouse bare filehandles rather than IO::File (patch from leont)'
Karen Etheridge [Fri, 14 Mar 2014 10:04:26 +0000]
use bare filehandles rather than IO::File (patch from leont)'

10 years agouse Test::More::is for better diagnostics on failure
Karen Etheridge [Fri, 14 Mar 2014 15:45:40 +0000]
use Test::More::is for better diagnostics on failure

10 years agokeep test cases in lists, rather than a hash, for consistent ordering, and providing...
Karen Etheridge [Fri, 14 Mar 2014 11:15:59 +0000]
keep test cases in lists, rather than a hash, for consistent ordering, and providing a test number on errors

10 years agouse bare filehandles rather than IO::File (patch from leont)'
Karen Etheridge [Fri, 14 Mar 2014 10:04:26 +0000]
use bare filehandles rather than IO::File (patch from leont)'

10 years agocorrect spelling for "arisdottle"
Karen Etheridge [Fri, 14 Mar 2014 08:44:39 +0000]
correct spelling for "arisdottle"

10 years agorename some variables for clarity
Karen Etheridge [Thu, 13 Mar 2014 16:17:03 +0000]
rename some variables for clarity

10 years agorefactor out _parse_file into the single caller
Karen Etheridge [Thu, 13 Mar 2014 15:27:18 +0000]
refactor out _parse_file into the single caller

10 years agowhitespace fixes
Karen Etheridge [Thu, 13 Mar 2014 15:10:59 +0000]
whitespace fixes

10 years agotest for taint mode using perl 5.6 compatible method
Graham Knop [Tue, 4 Mar 2014 23:56:15 +0000]
test for taint mode using perl 5.6 compatible method

10 years agorevert to previous formatting
Karen Etheridge [Thu, 12 Dec 2013 02:16:17 +0000]
revert to previous formatting

10 years agoremove more unused MB cruft
Karen Etheridge [Thu, 5 Dec 2013 19:42:40 +0000]
remove more unused MB cruft

10 years agoremove unused cruft inherited from Module-Build/t/lib/MBTest.pm
Karen Etheridge [Thu, 5 Dec 2013 19:21:40 +0000]
remove unused cruft inherited from Module-Build/t/lib/MBTest.pm

10 years agois_indexable( [ $package ] )
Karen Etheridge [Thu, 21 Nov 2013 00:53:32 +0000]
is_indexable( [ $package ] )

10 years agominor doc tweak
Karen Etheridge [Thu, 21 Nov 2013 00:53:42 +0000]
minor doc tweak

10 years agomake VERSION assignment regexp ignore fat comma
David Golden [Fri, 11 Oct 2013 16:09:38 +0000]
make VERSION assignment regexp ignore fat comma

10 years agoRelease commit for 1.000019 v1.000019
Karen Etheridge [Sun, 6 Oct 2013 16:49:31 +0000]
Release commit for 1.000019

10 years agobump version to 1.000019
Karen Etheridge [Sun, 6 Oct 2013 16:19:37 +0000]
bump version to 1.000019

10 years agoonly add metadata if there isn't already a META.* to work with
Karen Etheridge [Sun, 6 Oct 2013 16:28:18 +0000]
only add metadata if there isn't already a META.* to work with

10 years agofix broken metadata (bad ether!)
Karen Etheridge [Sun, 6 Oct 2013 16:29:10 +0000]
fix broken metadata (bad ether!)

10 years agodisable warnings inside generated version sub (RT#89282)
Chris 'BinGOs' Williams [Sun, 6 Oct 2013 16:17:00 +0000]
disable warnings inside generated version sub (RT#89282)

This shuts up warnings from modules like Log::Log4perl::Appender::Limit,
which does:

    our $CVSVERSION   = '$Revision: 1.7 $';
    our ($VERSION)    = ($CVSVERSION =~ /(\d+\.\d+)/);

When only only the second line is eval-ed, that would cause an
uninitialized value warning.

10 years agoadd some test prereqs
Karen Etheridge [Wed, 11 Sep 2013 17:44:36 +0000]
add some test prereqs

10 years agoRelease commit for 1.000018 v1.000018
Karen Etheridge [Wed, 11 Sep 2013 16:27:45 +0000]
Release commit for 1.000018

10 years agobump version
Karen Etheridge [Wed, 11 Sep 2013 16:26:44 +0000]
bump version

10 years agoremove use of Test::Fatal, done_testing
Karen Etheridge [Wed, 11 Sep 2013 16:26:26 +0000]
remove use of Test::Fatal, done_testing

10 years agoRelease commit for 1.000017 v1.000017
Karen Etheridge [Wed, 11 Sep 2013 01:04:51 +0000]
Release commit for 1.000017

10 years agobump version
Karen Etheridge [Wed, 11 Sep 2013 01:03:44 +0000]
bump version

10 years agodetaint version, if needed (RT#88576, Chris Williams) topic/taint
Karen Etheridge [Wed, 11 Sep 2013 00:33:08 +0000]
detaint version, if needed (RT#88576, Chris Williams)

10 years agoensure authors properly generate META.* (see RT#85406)
Karen Etheridge [Tue, 10 Sep 2013 19:09:47 +0000]
ensure authors properly generate META.* (see RT#85406)

10 years agoalso set minimum perl version in metadata, for introspectability
Karen Etheridge [Tue, 10 Sep 2013 19:00:42 +0000]
also set minimum perl version in metadata, for introspectability

10 years agoadd dummy var for the Hiding constant to avoid triggering void warnings
Matt S Trout [Tue, 10 Sep 2013 18:56:55 +0000]
add dummy var for the Hiding constant to avoid triggering void warnings

10 years agomake perl 5.006 restriction work
Matt S Trout [Tue, 10 Sep 2013 18:52:19 +0000]
make perl 5.006 restriction work

10 years agoassert a minimum prereq of perl 5.6
Karen Etheridge [Sun, 8 Sep 2013 18:13:44 +0000]
assert a minimum prereq of perl 5.6

10 years agoremove use of "use vars" in main module
Karen Etheridge [Sun, 8 Sep 2013 18:11:44 +0000]
remove use of "use vars" in main module

10 years agoadd "use warnings" everywhere
Karen Etheridge [Sun, 8 Sep 2013 18:05:49 +0000]
add "use warnings" everywhere

10 years agoset v2 metadata (RT#88028)
Karen Etheridge [Thu, 22 Aug 2013 23:38:00 +0000]
set v2 metadata (RT#88028)

10 years agoRelease commit for 1.000016 v1.000016
Karen Etheridge [Thu, 22 Aug 2013 05:58:25 +0000]
Release commit for 1.000016

10 years agomake Changes conform to CPAN::Changes spec
Karen Etheridge [Thu, 22 Aug 2013 05:57:26 +0000]
make Changes conform to CPAN::Changes spec

10 years agobump version to 1.000016
Karen Etheridge [Thu, 22 Aug 2013 05:48:12 +0000]
bump version to 1.000016

10 years agoaccomodate a single dot
Karen Etheridge [Thu, 22 Aug 2013 05:48:01 +0000]
accomodate a single dot

10 years agoVersion 1.000015 1.000015
Tomas Doran [Wed, 21 Aug 2013 15:45:19 +0000]
Version 1.000015

10 years agoDoc fix for CVE-2013-1437
Tomas Doran [Wed, 21 Aug 2013 15:44:12 +0000]
Doc fix for CVE-2013-1437

10 years agoensure we create a v2 meta file
Karen Etheridge [Tue, 30 Jul 2013 00:38:54 +0000]
ensure we create a v2 meta file

10 years agotypo fix in comment (applied by ether)
David Steinbrunner [Thu, 16 May 2013 00:16:25 +0000]
typo fix in comment (applied by ether)

10 years agoVersion 1.000014 1.000014
Tomas Doran [Thu, 9 May 2013 09:01:06 +0000]
Version 1.000014

10 years agoUpdate changes
Tomas Doran [Thu, 9 May 2013 09:00:26 +0000]
Update changes

10 years agothe sitelib change happened before this module was cored, so we don't need to do...
Karen Etheridge [Wed, 8 May 2013 23:10:56 +0000]
the sitelib change happened before this module was cored, so we don't need to do anything at all!

10 years agoRelease commit for 1.000013 v1.000013
Karen Etheridge [Wed, 8 May 2013 22:59:18 +0000]
Release commit for 1.000013

10 years agobump version for release
Karen Etheridge [Wed, 8 May 2013 22:56:01 +0000]
bump version for release

10 years agoinstall to "site" for newer perls, as per p5p recommendation (see RT#67667)
Karen Etheridge [Wed, 8 May 2013 22:55:30 +0000]
install to "site" for newer perls, as per p5p recommendation (see RT#67667)

10 years agodepend on the version of Test::More that added done_testing
Karen Etheridge [Wed, 8 May 2013 22:46:00 +0000]
depend on the version of Test::More that added done_testing

10 years agoBackcompaterize
Peter Rabbitson [Wed, 8 May 2013 21:01:31 +0000]
Backcompaterize

10 years agoRelease commit for 1.000012 v1.000012
Karen Etheridge [Sun, 5 May 2013 04:58:43 +0000]
Release commit for 1.000012

10 years agofix versions in changelog to match the version format we actually shipped
Karen Etheridge [Sun, 5 May 2013 04:57:51 +0000]
fix versions in changelog to match the version format we actually shipped

10 years agoconvert to using Distar
Karen Etheridge [Sun, 5 May 2013 04:52:44 +0000]
convert to using Distar

10 years agochangelog for __END__ fix
Karen Etheridge [Sun, 5 May 2013 04:38:48 +0000]
changelog for __END__ fix

10 years agoParse POD after __END__
tokuhirom [Tue, 30 Apr 2013 06:41:11 +0000]
Parse POD after __END__
See https://rt.cpan.org/Ticket/Display.html?id=79656

10 years agobump version to 1.0.12 for release
Karen Etheridge [Sun, 5 May 2013 04:31:42 +0000]
bump version to 1.0.12 for release

10 years agoheader for the Changes file
Karen Etheridge [Sun, 5 May 2013 04:31:16 +0000]
header for the Changes file

10 years agochangelog for recent patches
Karen Etheridge [Sun, 5 May 2013 04:30:58 +0000]
changelog for recent patches

10 years agoFixed `$metadata->contains_pod`. Because $#x is -1 origin. fix/contains_pod
tokuhirom [Tue, 30 Apr 2013 07:19:17 +0000]
Fixed `$metadata->contains_pod`. Because $#x is -1 origin.

11 years agoImprove package detection regular expression
Edward Zborowski [Wed, 27 Feb 2013 07:36:12 +0000]
Improve package detection regular expression

Added tests to metadata.t for valid and invalid package names.  Updated
regular expressions within Module::Metadata so that invalid package
names are not passed along as valid package names

11 years agoadd git repository metadata
Karen Etheridge [Sat, 22 Dec 2012 08:22:28 +0000]
add git repository metadata

11 years agofix bad version in Changes
Karen Etheridge [Sat, 22 Dec 2012 08:07:04 +0000]
fix bad version in Changes

11 years agono trailing whitespace
Karen Etheridge [Sat, 22 Dec 2012 08:07:36 +0000]
no trailing whitespace

11 years agoReady 1.0.11 for release release_1.0.11
Chris Nehren [Thu, 16 Aug 2012 19:56:39 +0000]
Ready 1.0.11 for release

11 years agoremove other spurious warning people/apeiron/remove-cargoculted-warning release_1.0.10_003
Chris Nehren [Thu, 16 Aug 2012 04:53:31 +0000]
remove other spurious warning

11 years agoapeiron is an idiot release_1.0.10_002
Chris Nehren [Thu, 16 Aug 2012 00:13:24 +0000]
apeiron is an idiot

11 years agoDo the (dev) release dance release_1.0.10_001
Chris Nehren [Thu, 16 Aug 2012 00:05:04 +0000]
Do the (dev) release dance

11 years agoRemove warning for when modules don't do $VERSION = eval $VERSION.
Chris Nehren [Tue, 7 Aug 2012 21:38:13 +0000]
Remove warning for when modules don't do $VERSION = eval $VERSION.

In a non-trivial number of cases this will be triggered on code one
doesn't have any control over, and thus can't really fix--the verbosity
therefore doesn't actually provide any benefit to the user. In the
original use case (Module::Build::ModuleInfo) this sort of warning makes
good sense as a sanity check for authors. It has no place in a general
purpose library, though.

... not to mention the bloody thing was an unless/else block. Seriously?
And the warning did not at all communicate what the actual problem was.
Bad UX all around.

11 years agoTest for __(?:DATA|END)__ in the "code" section of the loop
Vincent Pit [Mon, 30 Jul 2012 22:48:58 +0000]
Test for __(?:DATA|END)__ in the "code" section of the loop

If the line is =cut, then it can't possibly be __DATA__ or __END__.

11 years agoDetect POD sections like perl would
Vincent Pit [Mon, 30 Jul 2012 19:26:03 +0000]
Detect POD sections like perl would

perl considers that a POD section begins with a line that starts by "=X",
X being any alphabetic character, and ends by "=cut" followed by a
non-alphabetic character. This commit makes Module::Metadata follow this
strategy.

Note that there's still a gotcha : "=X" must be a statement to start a POD
section. This means that in

    my $x
    =pod
    ;

'pod' is treated as a bareword, hence is compiled to either a string
literal or a function call depending on whether a pod() sub has been
previously declared in the current package. Module::Metadata cannot do
anything about this situation.

This commit partially reverts the previous commit a4aafbc2.

11 years agoBe stricter about which =XXX are POD keywords
Vincent Pit [Mon, 30 Jul 2012 16:38:13 +0000]
Be stricter about which =XXX are POD keywords

11 years ago"defined $x ? $x : undef" better written as "$x"
Vincent Pit [Mon, 30 Jul 2012 15:46:53 +0000]
"defined $x ? $x : undef" better written as "$x"

11 years agoDon't skip lines beginning by # in POD
Vincent Pit [Mon, 30 Jul 2012 15:36:16 +0000]
Don't skip lines beginning by # in POD

They are only comments in code.

11 years agoDon't collect "=cut" at the end of a POD section
Vincent Pit [Mon, 30 Jul 2012 15:26:06 +0000]
Don't collect "=cut" at the end of a POD section

11 years agoA couple of tests about commented versions
Vincent Pit [Mon, 30 Jul 2012 14:57:53 +0000]
A couple of tests about commented versions

11 years agoPOD tweaks
Vincent Pit [Mon, 30 Jul 2012 14:33:32 +0000]
POD tweaks

11 years agoProperly handle BOMs at the beginning of the file
Vincent Pit [Mon, 30 Jul 2012 13:53:49 +0000]
Properly handle BOMs at the beginning of the file

This applies to new_from_file and new_from_module, but not new_from_handle.

This fixes RT #78434.

11 years agoBump version to 1.0.10 and update Changes release_1.0.10
Vincent Pit [Sun, 29 Jul 2012 19:16:01 +0000]
Bump version to 1.0.10 and update Changes

11 years agoPortability fix-ups for new_from_module()
Craig A. Berry [Sun, 29 Jul 2012 17:58:38 +0000]
Portability fix-ups for new_from_module()

This fixes test failures on VMS, and resolves RT #76030.

11 years agoTest package_versions_from_directory with regard to case-sensitivity
Vincent Pit [Sun, 29 Jul 2012 17:54:33 +0000]
Test package_versions_from_directory with regard to case-sensitivity

11 years agoFix t/metadata.t failure under Cygwin
Jerry D. Hedden [Sun, 29 Jul 2012 17:35:02 +0000]
Fix t/metadata.t failure under Cygwin

This fixes RT #78376.

11 years agoOnly compile $PKG_REGEXP and $VERS_REGEXP once
Vincent Pit [Sun, 29 Jul 2012 10:02:35 +0000]
Only compile $PKG_REGEXP and $VERS_REGEXP once

These regexps are static and so can benefit from the /o modifier.
Profiling shows that this gives a 15% speedup for _parse_fh().

11 years agoOnly call _parse_version_expression() for lines that contain VERSION
Vincent Pit [Sat, 28 Jul 2012 17:22:11 +0000]
Only call _parse_version_expression() for lines that contain VERSION

This saves a method call for each source line that does not contain
'VERSION', yielding a whopping 30% speedup for _parse_fh().

11 years agoOptimize POD section handling in _parse_fh()
Vincent Pit [Sat, 28 Jul 2012 17:11:29 +0000]
Optimize POD section handling in _parse_fh()

This is one of the hot spots that NYTProf points out for _parse_fh().
Avoiding the negative lookahead and the redundant regexp match for /^=cut/
yields a 10% speedup.

12 years agogitignore: MANIFEST and dist tarball/dir
David Golden [Tue, 3 Apr 2012 20:07:23 +0000]
gitignore: MANIFEST and dist tarball/dir

12 years agoBump version to 1.000009 and prep Changes for release release_1.0.9
David Golden [Wed, 8 Feb 2012 16:58:39 +0000]
Bump version to 1.000009 and prep Changes for release

12 years agoMake all prereqs explicit in Makefile.PL
David Golden [Wed, 8 Feb 2012 16:57:32 +0000]
Make all prereqs explicit in Makefile.PL

12 years agouse croak instead of die
David Golden [Wed, 8 Feb 2012 16:53:49 +0000]
use croak instead of die

12 years agoadd required 'version' arg to provides()
David Golden [Wed, 8 Feb 2012 16:41:58 +0000]
add required 'version' arg to provides()

12 years agoupdated Changes release_1.0.8
David Golden [Wed, 8 Feb 2012 03:30:50 +0000]
updated Changes

12 years agobump version to 1.0.8
David Golden [Tue, 7 Feb 2012 22:03:58 +0000]
bump version to 1.0.8

12 years agodocument that packages_inside is unfiltered
David Golden [Tue, 7 Feb 2012 22:03:28 +0000]
document that packages_inside is unfiltered

12 years agoadd "provides" method for correct CPAN META field generation
David Golden [Tue, 7 Feb 2012 21:58:23 +0000]
add "provides" method for correct CPAN META field generation

12 years agotest package_versions_from_directory
David Golden [Tue, 7 Feb 2012 19:37:52 +0000]
test package_versions_from_directory

12 years agoBump version to 1.0.7 release_1.0.7
David Golden [Wed, 7 Sep 2011 16:00:42 +0000]
Bump version to 1.0.7