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

12 years agoBackport VMS fixes from blead [RT #70781]
David Golden [Wed, 7 Sep 2011 15:58:31 +0000]
Backport VMS fixes from blead [RT #70781]

Dot is the directory delimiter on VMS, so it's awkward at best to use it
in directory names.  Blead commit 4eb81ef279, "Update Module-Metadata to
CPAN version 1.000005" introduced two new directories with dots in the
name, which confused the manifest checker and broke the build on VMS.

12 years agoBump version to 1.0.6 and update Changes release_1.0.6
David Golden [Mon, 29 Aug 2011 19:46:56 +0000]
Bump version to 1.0.6 and update Changes

12 years agoSupport "package NAME BLOCK" and "package NAME VERSION BLOCK"
Vincent Pit [Mon, 29 Aug 2011 19:20:05 +0000]
Support "package NAME BLOCK" and "package NAME VERSION BLOCK"

12 years agoIgnore MYMETA.json
Vincent Pit [Mon, 29 Aug 2011 19:06:32 +0000]
Ignore MYMETA.json

12 years agoTest undefined $VERSION
Vincent Pit [Mon, 29 Aug 2011 18:05:19 +0000]
Test undefined $VERSION

12 years agoEdited documentation release_1.0.5
David Golden [Wed, 3 Aug 2011 01:38:30 +0000]
Edited documentation

12 years agoAdd new_from_handle method [RT #68875]
David Golden [Wed, 3 Aug 2011 01:17:27 +0000]
Add new_from_handle method [RT #68875]

12 years agoFix references to ModuleInfo [RT #66133]
David Golden [Wed, 3 Aug 2011 00:34:54 +0000]
Fix references to ModuleInfo [RT #66133]

12 years agobump version to 1.000005
David Golden [Wed, 3 Aug 2011 00:25:07 +0000]
bump version to 1.000005

12 years agoupdate Changes for release
David Golden [Wed, 3 Aug 2011 00:24:13 +0000]
update Changes for release

12 years agolocal $package::VERSION should now actually work
Tatsuhiko Miyagawa [Sun, 26 Jun 2011 05:12:29 +0000]
local $package::VERSION should now actually work

Signed-off-by: David Golden <dagolden@cpan.org>

13 years agobump version to 1.00004 and update Changes release_1.0.4
David Golden [Thu, 3 Feb 2011 07:55:21 +0000]
bump version to 1.00004 and update Changes

13 years agoFind Module/Metadata.pm in blib/arch before chdir() [RT #65380]
Josh Jore [Thu, 3 Feb 2011 01:00:36 +0000]
Find Module/Metadata.pm in blib/arch before chdir() [RT #65380]

Signed-off-by: David Golden <dagolden@cpan.org>

13 years agobump version to 1.000003 and timestamp Changes release_1.0.3
David Golden [Fri, 7 Jan 2011 02:34:58 +0000]
bump version to 1.000003 and timestamp Changes

13 years agodocumentation cleanup
David Golden [Fri, 7 Jan 2011 02:31:58 +0000]
documentation cleanup

13 years agoadd LICENSE when generating META.yml release_1.0.2
David Golden [Fri, 10 Dec 2010 17:07:49 +0000]
add LICENSE when generating META.yml

13 years agobump version and CHANGES for 1.000002
David Golden [Fri, 10 Dec 2010 17:01:05 +0000]
bump version and CHANGES for 1.000002

13 years agoMunge non-lax versions when possible
David Golden [Fri, 10 Dec 2010 15:33:11 +0000]
Munge non-lax versions when possible

Older version of version.pm allowed various forms that
failed even the "lax" rules. The new version.pm module
conforms to the Perl 5.12 rules, so this commit adds some
munging to try to cope with some non-lax versions
strings like "1.23-alpha"

13 years agoFix up some comments about version manipulation
David Golden [Fri, 10 Dec 2010 14:26:43 +0000]
Fix up some comments about version manipulation

13 years agoswitch from Module::Metadata::Version to version.pm
David Golden [Fri, 10 Dec 2010 14:20:10 +0000]
switch from Module::Metadata::Version to version.pm

13 years agoadd a gitignore file
David Golden [Fri, 10 Dec 2010 14:17:09 +0000]
add a gitignore file

13 years agofactor out author targets into a plain Makefile.include
Matt S Trout [Sat, 10 Jul 2010 20:25:51 +0000]
factor out author targets into a plain Makefile.include

13 years agoChanges file and 1.000001 version bump for release release_1.0.1
Matt S Trout [Thu, 8 Jul 2010 23:58:02 +0000]
Changes file and 1.000001 version bump for release

13 years agofixup version bump to nuke Makefile, make Makefile.PL use new location of maint include
Matt S Trout [Thu, 8 Jul 2010 23:57:30 +0000]
fixup version bump to nuke Makefile, make Makefile.PL use new location of maint include

13 years agomove Author.PL to maint/Makefile.PL.include to prevent it being run at build time
Matt S Trout [Thu, 8 Jul 2010 23:26:46 +0000]
move Author.PL to maint/Makefile.PL.include to prevent it being run at build time

13 years agoadd bump-version utility for author-side work
Matt S Trout [Thu, 8 Jul 2010 23:23:05 +0000]
add bump-version utility for author-side work

13 years agobump Module::Metadata version to 1.0.0 release_1.0.0
Matt S Trout [Tue, 6 Jul 2010 21:16:11 +0000]
bump Module::Metadata version to 1.0.0

13 years agosquelch warning in Author.PL
Matt S Trout [Tue, 6 Jul 2010 21:15:55 +0000]
squelch warning in Author.PL