Karen Etheridge [Sun, 5 May 2013 04:31:16 +0000]
header for the Changes file
Karen Etheridge [Sun, 5 May 2013 04:30:58 +0000]
changelog for recent patches
tokuhirom [Tue, 30 Apr 2013 07:19:17 +0000]
Fixed `$metadata->contains_pod`. Because $#x is -1 origin.
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
Karen Etheridge [Sat, 22 Dec 2012 08:22:28 +0000]
add git repository metadata
Karen Etheridge [Sat, 22 Dec 2012 08:07:04 +0000]
fix bad version in Changes
Karen Etheridge [Sat, 22 Dec 2012 08:07:36 +0000]
no trailing whitespace
Chris Nehren [Thu, 16 Aug 2012 19:56:39 +0000]
Ready 1.0.11 for release
Chris Nehren [Thu, 16 Aug 2012 04:53:31 +0000]
remove other spurious warning
Chris Nehren [Thu, 16 Aug 2012 00:13:24 +0000]
apeiron is an idiot
Chris Nehren [Thu, 16 Aug 2012 00:05:04 +0000]
Do the (dev) release dance
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.
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__.
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.
Vincent Pit [Mon, 30 Jul 2012 16:38:13 +0000]
Be stricter about which =XXX are POD keywords
Vincent Pit [Mon, 30 Jul 2012 15:46:53 +0000]
"defined $x ? $x : undef" better written as "$x"
Vincent Pit [Mon, 30 Jul 2012 15:36:16 +0000]
Don't skip lines beginning by # in POD
They are only comments in code.
Vincent Pit [Mon, 30 Jul 2012 15:26:06 +0000]
Don't collect "=cut" at the end of a POD section
Vincent Pit [Mon, 30 Jul 2012 14:57:53 +0000]
A couple of tests about commented versions
Vincent Pit [Mon, 30 Jul 2012 14:33:32 +0000]
POD tweaks
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.
Vincent Pit [Sun, 29 Jul 2012 19:16:01 +0000]
Bump version to 1.0.10 and update Changes
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.
Vincent Pit [Sun, 29 Jul 2012 17:54:33 +0000]
Test package_versions_from_directory with regard to case-sensitivity
Jerry D. Hedden [Sun, 29 Jul 2012 17:35:02 +0000]
Fix t/metadata.t failure under Cygwin
This fixes RT #78376.
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().
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().
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.
David Golden [Tue, 3 Apr 2012 20:07:23 +0000]
gitignore: MANIFEST and dist tarball/dir
David Golden [Wed, 8 Feb 2012 16:58:39 +0000]
Bump version to 1.000009 and prep Changes for release
David Golden [Wed, 8 Feb 2012 16:57:32 +0000]
Make all prereqs explicit in Makefile.PL
David Golden [Wed, 8 Feb 2012 16:53:49 +0000]
use croak instead of die
David Golden [Wed, 8 Feb 2012 16:41:58 +0000]
add required 'version' arg to provides()
David Golden [Wed, 8 Feb 2012 03:30:50 +0000]
updated Changes
David Golden [Tue, 7 Feb 2012 22:03:58 +0000]
bump version to 1.0.8
David Golden [Tue, 7 Feb 2012 22:03:28 +0000]
document that packages_inside is unfiltered
David Golden [Tue, 7 Feb 2012 21:58:23 +0000]
add "provides" method for correct CPAN META field generation
David Golden [Tue, 7 Feb 2012 19:37:52 +0000]
test package_versions_from_directory
David Golden [Wed, 7 Sep 2011 16:00:42 +0000]
Bump version to 1.0.7
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.
David Golden [Mon, 29 Aug 2011 19:46:56 +0000]
Bump version to 1.0.6 and update Changes
Vincent Pit [Mon, 29 Aug 2011 19:20:05 +0000]
Support "package NAME BLOCK" and "package NAME VERSION BLOCK"
Vincent Pit [Mon, 29 Aug 2011 19:06:32 +0000]
Ignore MYMETA.json
Vincent Pit [Mon, 29 Aug 2011 18:05:19 +0000]
Test undefined $VERSION
David Golden [Wed, 3 Aug 2011 01:38:30 +0000]
Edited documentation
David Golden [Wed, 3 Aug 2011 01:17:27 +0000]
Add new_from_handle method [RT #68875]
David Golden [Wed, 3 Aug 2011 00:34:54 +0000]
Fix references to ModuleInfo [RT #66133]
David Golden [Wed, 3 Aug 2011 00:25:07 +0000]
bump version to 1.000005
David Golden [Wed, 3 Aug 2011 00:24:13 +0000]
update Changes for release
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>
David Golden [Thu, 3 Feb 2011 07:55:21 +0000]
bump version to 1.00004 and update Changes
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>
David Golden [Fri, 7 Jan 2011 02:34:58 +0000]
bump version to 1.000003 and timestamp Changes
David Golden [Fri, 7 Jan 2011 02:31:58 +0000]
documentation cleanup
David Golden [Fri, 10 Dec 2010 17:07:49 +0000]
add LICENSE when generating META.yml
David Golden [Fri, 10 Dec 2010 17:01:05 +0000]
bump version and CHANGES for 1.000002
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"
David Golden [Fri, 10 Dec 2010 14:26:43 +0000]
Fix up some comments about version manipulation
David Golden [Fri, 10 Dec 2010 14:20:10 +0000]
switch from Module::Metadata::Version to version.pm
David Golden [Fri, 10 Dec 2010 14:17:09 +0000]
add a gitignore file
Matt S Trout [Sat, 10 Jul 2010 20:25:51 +0000]
factor out author targets into a plain Makefile.include
Matt S Trout [Thu, 8 Jul 2010 23:58:02 +0000]
Changes file and 1.000001 version bump for release
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
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
Matt S Trout [Thu, 8 Jul 2010 23:23:05 +0000]
add bump-version utility for author-side work
Matt S Trout [Tue, 6 Jul 2010 21:16:11 +0000]
bump Module::Metadata version to 1.0.0
Matt S Trout [Tue, 6 Jul 2010 21:15:55 +0000]
squelch warning in Author.PL
Matt S Trout [Tue, 6 Jul 2010 01:30:05 +0000]
include xt/ in MANIFEST since we want the dist to be as close to reh repo as possible
Matt S Trout [Tue, 6 Jul 2010 01:28:08 +0000]
POD test plus POD changes to make it pass
Matt S Trout [Tue, 6 Jul 2010 01:27:55 +0000]
Makefile.PL and Author.PL
Matt S Trout [Tue, 6 Jul 2010 01:27:30 +0000]
tests from dagolden (xdg)
Matt S Trout [Sun, 21 Mar 2010 12:36:54 +0000]
make fallback actually work
Matt S Trout [Sun, 21 Mar 2010 11:42:11 +0000]
no dep
Matt S Trout [Wed, 3 Mar 2010 01:01:44 +0000]
import Module::Metadata