Current version is 1.07.
Distribution from this site.
CPAN site
NAME
App::DualLivedDiff - Diff between the perl core and dual-lived modules'
CPAN distributions
SYNOPSIS
Example: Filter::Simple.
Given a simple YAML file .dualLivedDiffConfig in the current working
directory or the Filter::Simple CPAN distribution:
---
exclude-regexes:
- ^(?:\./)?MANIFEST$
- ^(?:\./)?META.yml$
files:
lib/Filter/Simple.pm: lib/Filter/Simple.pm
Changes: lib/Filter/Simple/Changes
dirs-flat:
t/: lib/Filter/Simple/t/
dirs-recursive:
t/lib/Filter/Simple/: t/lib/Filter/Simple/
By running the following command, you can get the diff between your
blead perl checkout and the CPAN distribution:
dualLivedDiff --dual http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/Filter-Simple-0.84.tar.gz --blead $HOME/perl-ssh
Or this if you have CPAN.pm configured:
dualLivedDiff --dual SMUELLER/Filter-Simple-0.84.tar.gz --blead $HOME/perl-ssh
Or this if you want to search for a given module name:
dualLivedDiff --dual Filter::Simple --blead $HOME/perl-ssh
You can use the "base-path-in-blead" option in the YAML config file to
set a base path within the blead-perl checkout. Example of the
configuration for the Attribute::Handlers dual-lived module/distribution
which lives entirely within ext/Attribute-Handlers:
---
base-path-in-blead: ext/Attribute-Handlers
files:
Changes: Changes
README: README
dirs-recursive:
lib/: lib/
t/: t/
demo/: demo/
Run the "dualLivedDiff" program to get an overview of the command line
options.
DESCRIPTION
Very early version of a tool to automatically generate diffs/patches
between CPAN distributions of dual lived Perl modules and the perl core.
The code isn't beautiful. It's a hack.
AUTHOR
Steffen Mueller,
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Steffen Mueller
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself, either Perl version 5.8 or, at your
option, any later version of Perl 5 you may have available.
Revision history for Perl extension App::DualLivedDiff
1.07 Wed Mar 25 14:10 2009
- Option to ignore whitespace.
1.06 Mon Mar 16 13:12 2009
- Explicitly mapped files trump the exclusion regexps.
- config subdirectory ships with many file mappings
between blead and CPAN
- config subdirectory also contains tools to run in
batch mode and generate HTML reports
1.05 Wed Mar 11 18:15 2009
- '--paths=blead' / '--paths=dual' option to manually set the
paths shown in the diff.
- "exclude-regexes" option in the YAML config file
(an array of regexes matched against source files)
1.04 Tue Mar 10 10:20 2009
- Fix path correction brain fart.
1.03 Sun Mar 8 13:08 2009
- Fix the path munging of the diffs.
- Work around what seems to be a slight bug in CPAN.pm's
expand("Distribution, ...) to make expansion of dev
releases on CPAN work.
1.02 Sat Mar 7 19:32 2009
- Default to using the current directory as distribution directory.
1.01 Sat Mar 7 18:34 2009
- Support for base-paths in bleadperl
1.00 Fri Mar 6 19:45 2009
- Initial baby steps.
(c) 2002-2010 Steffen Müller; All rights reserved.