[Jifty-commit] jifty branch, master, updated. 0cf9e37b9358fd938d248401575bc700042f8c1f
Jifty commits
jifty-commit at lists.jifty.org
Fri Apr 2 13:16:25 EDT 2010
The branch, master has been updated
via 0cf9e37b9358fd938d248401575bc700042f8c1f (commit)
via d5e0e4f30ad3d0e3890022d2bfae436e91ec413c (commit)
from 3e312c1f16a05eb108dd461e64c8e76613554622 (commit)
Summary of changes:
META.yml | 140 ----------------------------------------------------
utils/un-serial.pl | 30 +++++++++++
2 files changed, 30 insertions(+), 140 deletions(-)
delete mode 100644 META.yml
create mode 100644 utils/un-serial.pl
- Log -----------------------------------------------------------------
commit d5e0e4f30ad3d0e3890022d2bfae436e91ec413c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Fri Apr 2 13:11:52 2010 -0400
Remove the generated (and already .gitignored) META.yml
diff --git a/META.yml b/META.yml
deleted file mode 100644
index 228c192..0000000
--- a/META.yml
+++ /dev/null
@@ -1,140 +0,0 @@
----
-author: ~
-build_requires:
- ExtUtils::MakeMaker: 6.42
-configure_requires:
- ExtUtils::MakeMaker: 6.42
-distribution_type: module
-generated_by: 'Module::Install version 0.91'
-license: Perl
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
-name: Jifty
-no_index:
- directory:
- - debian
- - doc
- - examples
- - inc
- - share
- - t
- package:
- - DB
-recommends:
- Apache2::Const: 0
- Class::Accessor::Named: 0
- DBD::SQLite: 0
- Data::Dump::Streamer: 0
- Devel::Cover: 0
- Email::Abstract: 0
- Module::CoreList: 0
- Module::Install::Admin: 0.50
- Module::Refresh: 0.09
- Net::Server::Fork: 0
- Net::Server::PreFork: 0
- Pod::Simple: 0
- Test::Base: 0.44
- Test::Email: 0
- Test::HTML::Lint: 0
- Test::HTTP::Server::Simple: 0.10
- Test::MockModule: 0.05
- Test::MockObject: 1.07
- Test::WWW::Declare: 0.01
-requires:
- Any::Moose: 0
- App::CLI: 0.08
- CGI: 3.30
- CGI::Cookie::Splitter: 0
- CGI::Simple: 0
- CSS::Squish: 0.07
- Cache::Cache: 0
- Calendar::Simple: 0
- Carp::Clan: 0
- Class::Accessor: 0
- Class::Container: 0
- Class::Data::Inheritable: 0
- Class::Inspector: 1.2
- Class::Trigger: 0.13
- Clone: 0.27
- Compress::Zlib: 0
- Crypt::CBC: 0
- Crypt::Rijndael: 0
- DBD::SQLite: 1.11
- DBI: 0
- Data::Page: 0
- Data::UUID: 0
- Date::Manip: 0
- DateTime: 0
- DateTime::Locale: 0
- Email::Folder: 0
- Email::LocalDelivery: 0.217
- Email::MIME: 1.9
- Email::MIME::ContentType: 1.012
- Email::MIME::CreateHTML: 0
- Email::Send: 2.10
- Email::Simple: 2.003
- Email::Simple::Creator: 1.4
- Exception::Class: 0
- Exporter::Lite: 0
- File::Find::Rule: 0
- File::MMagic: 0
- File::ShareDir: 1.00
- File::Spec: 3.14
- File::Temp: 0.15
- HTML::Entities: 0
- HTML::Lint: 0
- HTML::Mason: 1.3101
- HTML::Mason::Plugin: 0
- HTTP::Cookies: 0
- HTTP::Date: 0
- HTTP::Server::Simple: 0.35
- HTTP::Server::Simple::Recorder: 0
- Hash::Merge: 0
- Hook::LexWrap: 0
- IPC::PubSub: 0.23
- IPC::Run3: 0
- JSON::Syck: 0.29
- Jifty::DBI: 0.60
- LWP::UserAgent: 0
- List::MoreUtils: 0
- Locale::Maketext::Extract: 0.35
- Locale::Maketext::Lexicon: 0.77
- Log::Log4perl: 1.11
- MIME::Types: 0
- Module::CoreList: 0
- Module::Pluggable: 3.7
- Module::Pluggable::Object: 0
- Module::Refresh: 0
- Module::ScanDeps: 0
- Object::Declare: 0.13
- Params::Validate: 0
- Plack: 0
- Plack::Request: 0
- SQL::ReservedWords: 0
- SUPER: 0
- Scalar::Defer: 0.12
- Shell::Command: 0
- String::BufferStack: 1.12
- String::Koremutake: 0
- Template::Declare: 0.36
- Test::Base: 0
- Test::Exception: 0
- Test::LongString: 0
- Test::More: 0.62
- Test::Pod::Coverage: 0
- Test::Script::Run: 0.03
- Test::WWW::Mechanize: 1.04
- Test::WWW::Selenium: 1.18
- UNIVERSAL::require: 0
- URI: 1.31
- URI::Escape: 0
- WWW::Mechanize: 1.51
- XML::Simple: 0
- XML::Writer: 0.601
- XML::XPath: 0
- YAML: 0.35
- YAML::Syck: 0.71
- perl: 5.8.3
- version: 0
-version: 1.00105
commit 0cf9e37b9358fd938d248401575bc700042f8c1f
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Fri Apr 2 13:16:15 2010 -0400
Add a tool to standardize Jifty->serial values in output files, for easirt diff'ing
diff --git a/utils/un-serial.pl b/utils/un-serial.pl
new file mode 100644
index 0000000..a7204aa
--- /dev/null
+++ b/utils/un-serial.pl
@@ -0,0 +1,30 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+for my $file (@ARGV) {
+ my $read;
+ unless (open($read, "<", $file)) {
+ warn "Can't open $file: $!";
+ next;
+ }
+ my $lines = do {undef $/; <$read>};
+ close $read;
+
+ my $s = 1;
+ while ($lines =~ /\b(S\d{6,}_\d{5,})/) {
+ my $replace = $1;
+ $lines =~ s/$replace/S$s/g;
+ $s++;
+ }
+
+ $file .= ".unserial";
+ my $write;
+ unless (open($write, ">", $file)) {
+ warn "Can't open $file for writing: $!";
+ next;
+ }
+ print $write $lines;
+ close $write;
+}
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list