[Bps-public-commit] rt-action-movequeuebysubject branch, master, updated. 06d7942d42d4d1d55eed05c2ccbcf04f1d5e27dd
Kevin Falcone
falcone at bestpractical.com
Wed Aug 24 15:34:48 EDT 2011
The branch, master has been updated
via 06d7942d42d4d1d55eed05c2ccbcf04f1d5e27dd (commit)
via 52e1acae5bc769d0cee8317cb83fb6ab58e107c6 (commit)
from 56cf8674b2bd41f302bed107b8a9c9796d649613 (commit)
Summary of changes:
.gitignore | 2 +
MANIFEST.SKIP | 96 +++++++++++++++++++++++++++++++++++
Makefile.PL | 2 +
inc/Module/Install/AutoManifest.pm | 45 ++++++++++++++++
inc/Module/Install/ManifestSkip.pm | 48 +++++++++++++++++
lib/RT/Action/MoveQueueBySubject.pm | 8 ++--
6 files changed, 197 insertions(+), 4 deletions(-)
create mode 100644 MANIFEST.SKIP
create mode 100644 inc/Module/Install/AutoManifest.pm
create mode 100644 inc/Module/Install/ManifestSkip.pm
- Log -----------------------------------------------------------------
commit 52e1acae5bc769d0cee8317cb83fb6ab58e107c6
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Aug 24 15:32:37 2011 -0400
autogenerate the manifest
diff --git a/.gitignore b/.gitignore
index b3c6ee1..1942b6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,5 @@ pod2htm*.tmp
README
*.bak
*.swp
+/MANIFEST
+/MYMETA.*
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
new file mode 100644
index 0000000..4011cb8
--- /dev/null
+++ b/MANIFEST.SKIP
@@ -0,0 +1,96 @@
+
+# Begin standard Module::Manifest::Skip list:
+
+# ExtUtils::MakeMaker
+^blib/
+^blibdirs$
+^blibdirs\.ts$
+^bpm_to_blib\.ts$
+^Makefile$
+^Makefile\.old$
+^MakeMaker-\d
+^MANIFEST\.bak$
+^MANIFEST\.SKIP$
+^MYMETA\.
+^pm_to_blib$
+^pod2htm.*
+
+# Module::Build
+^Build$
+^_build/
+^Build.bat$
+^Build.COM$
+^BUILD.COM$
+^build.com$
+
+# Revision Control
+\bCVS\b
+\b.cvsignore\b
+\b_darcs\b
+\B\.git\b
+\B\.gitignore\b
+\B\.gitmodules\b
+\B\.hg\b
+\B\.hgignore\b
+\B\.hgtags\b
+\bRCS\b
+\bSCCS\b
+\B\.svn\b
+,v$
+,B$
+,D$
+\baegis.log$
+
+# Author Extras
+^inc/.*\.pod$
+^pkg/
+^xt/
+^dist.ini$
+
+# Editors
+~$
+\#$
+\b\.#
+\.kpf$
+\.sw[pmno]$
+^\.vimrc$
+
+# OS X
+^\.DS_Store$
+^\.Trash/
+\B\._
+
+# VMS
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Development
+^benchmarks/
+^core$
+^cover_db\b
+^covered\b
+^debian/
+^devel\.
+^.devel-local$
+^out$
+^tmon.out$
+
+# Author Notes
+^notes
+^todo
+^ToDo$
+
+# Common Junk Files
+\.bak$
+\.diff$
+^foo\b.*
+\.old$
+\.orig$
+\.patch$
+\.rej$
+\.tdy$
+\.tmp$
+^\w$
+\.ttc$
+\.pmc$
diff --git a/Makefile.PL b/Makefile.PL
index b029de4..26ce040 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -7,4 +7,6 @@ readme_from 'lib/RT/Action/MoveQueueBySubject.pm';
license 'gplv2';
sign;
+manifest_skip;
+auto_manifest;
WriteAll;
diff --git a/inc/Module/Install/AutoManifest.pm b/inc/Module/Install/AutoManifest.pm
new file mode 100644
index 0000000..2fa78ed
--- /dev/null
+++ b/inc/Module/Install/AutoManifest.pm
@@ -0,0 +1,45 @@
+#line 1
+use strict;
+use warnings;
+
+package Module::Install::AutoManifest;
+
+use Module::Install::Base;
+
+BEGIN {
+ our $VERSION = '0.003';
+ our $ISCORE = 1;
+ our @ISA = qw(Module::Install::Base);
+}
+
+sub auto_manifest {
+ my ($self) = @_;
+
+ return unless $Module::Install::AUTHOR;
+
+ die "auto_manifest requested, but no MANIFEST.SKIP exists\n"
+ unless -e "MANIFEST.SKIP";
+
+ if (-e "MANIFEST") {
+ unlink('MANIFEST') or die "Can't remove MANIFEST: $!";
+ }
+
+ $self->postamble(<<"END");
+create_distdir: manifest_clean manifest
+
+distclean :: manifest_clean
+
+manifest_clean:
+\t\$(RM_F) MANIFEST
+END
+
+}
+
+1;
+__END__
+
+#line 48
+
+#line 131
+
+1; # End of Module::Install::AutoManifest
diff --git a/inc/Module/Install/ManifestSkip.pm b/inc/Module/Install/ManifestSkip.pm
new file mode 100644
index 0000000..6892781
--- /dev/null
+++ b/inc/Module/Install/ManifestSkip.pm
@@ -0,0 +1,48 @@
+#line 1
+##
+# name: Module::Install::ManifestSkip
+# abstract: Generate a MANIFEST.SKIP file
+# author: Ingy döt Net <ingy at cpan.org>
+# license: perl
+# copyright: 2010, 2011
+# see:
+# - Module::Manifest::Skip
+
+package Module::Install::ManifestSkip;
+use 5.008003;
+use strict;
+use warnings;
+
+use base 'Module::Install::Base';
+
+my $requires = "
+use Module::Manifest::Skip 0.10 ();
+";
+
+our $VERSION = '0.19';
+our $AUTHOR_ONLY = 1;
+
+my $skip_file = "MANIFEST.SKIP";
+
+sub manifest_skip {
+ my $self = shift;
+ return unless $self->is_admin;
+
+ eval $requires; die $@ if $@;
+
+ print "Writing $skip_file\n";
+
+ open OUT, '>', $skip_file
+ or die "Can't open $skip_file for output: $!";;
+
+ print OUT Module::Manifest::Skip->new->text;
+
+ close OUT;
+
+ $self->clean_files('MANIFEST');
+ $self->clean_files($skip_file)
+ if grep /^clean$/, @_;
+}
+
+1;
+
commit 06d7942d42d4d1d55eed05c2ccbcf04f1d5e27dd
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Aug 24 15:33:24 2011 -0400
fix repeated documentation
diff --git a/lib/RT/Action/MoveQueueBySubject.pm b/lib/RT/Action/MoveQueueBySubject.pm
index 1f05b12..2f49d4d 100644
--- a/lib/RT/Action/MoveQueueBySubject.pm
+++ b/lib/RT/Action/MoveQueueBySubject.pm
@@ -55,10 +55,10 @@ queue and processing will stop.
'end$', 'Finale',
);
-You can defined these as qr// if you prefer, we do not add any flags.
-The module does not apply any flags to your regular expression, so if
-you want case insensitivity or something else, be sure to use the
-(?i) operator which you can read more about in L<perlre>.
+You can defined these as qr// if you prefer. The module does not apply
+any flags to your regular expression, so if you want case insensitivity
+or something else, be sure to use the (?i) operator which you can read
+more about in L<perlre>.
=head1 USAGE
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list