You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2014/08/13 04:03:00 UTC

[1/6] git commit: Mod CONTRIBUTING to accept Github pull requests.

Repository: lucy-clownfish
Updated Branches:
  refs/heads/prep_0.4.0 [created] 168e87dc1


Mod CONTRIBUTING to accept Github pull requests.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/cac11a49
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/cac11a49
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/cac11a49

Branch: refs/heads/prep_0.4.0
Commit: cac11a4963d66ca3175642c869c88027a3a9139b
Parents: d73098d
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 15:51:43 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Tue Aug 12 15:51:43 2014 -0700

----------------------------------------------------------------------
 CONTRIBUTING | 52 ++++++++++++++++++++++++++++++----------------------
 1 file changed, 30 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/cac11a49/CONTRIBUTING
----------------------------------------------------------------------
diff --git a/CONTRIBUTING b/CONTRIBUTING
index af1048f..4594ccd 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -1,9 +1,13 @@
-=========================
-Contributing to Clownfish
-=========================
+================================
+Contributing to Apache Clownfish
+================================
 
 MAKE A PLAN:
 
+  Clownfish is developed by the Apache Lucy community.
+
+    http://lucy.apache.org/
+
   If you propose to make non-trivial changes to Clownfish, especially changes
   to the public API, send a note to the Lucy developer's list describing your
   plans:
@@ -21,10 +25,11 @@ GET THE CODE:
 
     https://github.com/apache/lucy-clownfish
 
+  Follow the instructions in INSTALL to set up your local workspace.
+
 MAKE CHANGES:
 
-  Edit the source code as you see fit, then follow the instructions in INSTALL
-  to build Clownfish and run its test suite.
+  Edit the source code as you see fit, then build and run tests.
 
   Please bear the following in mind:
 
@@ -40,28 +45,18 @@ MAKE CHANGES:
       within the Lucy development community; the simpler the contribution, the
       more quickly it can be reviewed and integrated. 
 
-GENERATE A PATCH:
-
-  The easiest way to create a patch with Git is to capture the output of
-  `git diff`:
-
-    git diff > my_changes.patch
-
-  More experienced Git users may wish to generate patch sequences using
-  `git format-patch`.
-
-CONTRIBUTE YOUR PATCH
+OPEN AN ISSUE:
 
-  Lucy's issue-tracker/bug-tracker installation runs Atlassian JIRA and we
-  generally use the term "issue" rather than "bug" because not every
-  contribution fixes a "bug".
+  Clownfish uses Lucy's issue-tracker/bug-tracker installation, which runs
+  Atlassian JIRA.  We generally use the term "issue" rather than "bug" because
+  not every contribution fixes a "bug".
   
      https://issues.apache.org/jira/browse/LUCY
   
   1. Create a JIRA account for yourself and sign in.
   2. Once you have signed in, the "create new issue" link will appear.  Either
      use it to open a new issue or navigate to an existing one as appropriate.
-  3. Attach your patch to the issue using the menu command
+  3. To attach files to an issue, use the menu command
      'More Actions > Attach Files'.
 
   Attaching a file to an issue causes an email notification to be sent to the
@@ -69,8 +64,21 @@ CONTRIBUTE YOUR PATCH
   persistent while engaging with the Lucy committers who review and apply such
   patches.
 
+CONTRIBUTE A PATCH:
+
+  The easiest way to create a patch with Git is to capture the output of
+  `git diff`:
+
+    git diff > my_changes.patch
+
+  The resulting patch file can then be attached to a JIRA issue.
+
 GITHUB PULL REQUESTS
 
-  At this time, we have no way to accept pull requests for the Github
-  read-only mirror, so please use the JIRA patch submission process.
+  Github users may submit pull requests against our mirror:
+
+    https://github.com/apache/lucy-clownfish
+
+  An email notifying the Lucy developers list of your pull request will be
+  triggered automatically.
 


[4/6] git commit: Provide version numbers in all .pm files.

Posted by ma...@apache.org.
Provide version numbers in all .pm files.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/6a076c94
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/6a076c94
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/6a076c94

Branch: refs/heads/prep_0.4.0
Commit: 6a076c9451004a9d6cc59488ffdd94c46cac6b38
Parents: f13960a
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 16:59:11 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Tue Aug 12 18:32:31 2014 -0700

----------------------------------------------------------------------
 compiler/perl/buildlib/Clownfish/CFC/Build.pm               | 3 +++
 compiler/perl/lib/Clownfish/CFC/Base.pm                     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm       | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm        | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm    | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm      | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm       | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm      | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm         | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm  | 2 ++
 compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Class.pm              | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm        | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/File.pm               | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm           | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Function.pm           | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm          | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Method.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm          | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm             | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Type.pm               | 2 ++
 compiler/perl/lib/Clownfish/CFC/Model/Variable.pm           | 2 ++
 compiler/perl/lib/Clownfish/CFC/Parser.pm                   | 2 ++
 compiler/perl/lib/Clownfish/CFC/Test.pm                     | 2 ++
 compiler/perl/lib/Clownfish/CFC/Util.pm                     | 2 ++
 32 files changed, 65 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/buildlib/Clownfish/CFC/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/buildlib/Clownfish/CFC/Build.pm b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
index c6bf5a3..896f674 100644
--- a/compiler/perl/buildlib/Clownfish/CFC/Build.pm
+++ b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
@@ -18,6 +18,9 @@ use warnings;
 
 package Clownfish::CFC::Build;
 
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
+
 # In order to find Clownfish::CFC::Perl::Build::Charmonic, look in 'lib'
 # and cleanup @INC afterwards.
 use lib 'lib';

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Base.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Base.pm b/compiler/perl/lib/Clownfish/CFC/Base.pm
index 3b5b067..f44f299 100644
--- a/compiler/perl/lib/Clownfish/CFC/Base.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Base.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Base;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
index f65c546..26e8028 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
index af1ec73..31544f0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Aliases;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
index c4b4209..1f7e897 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Class;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
index bb88026..3e52fd0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::File;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
index 2ec30aa..b02ad56 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Function;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
index ab9aa7c..b698c88 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Core::Method;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
index 8571595..7113438 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
index 4fc530f..05f7b38 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Class;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
index 7598c7d..04b8b01 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Constructor;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
index cf1369e..176719a 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Method;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
index ef36c1e..3991d61 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Pod;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
index a114115..2030e15 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::Subroutine;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
index 1e9ba76..9ac9ca4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Binding::Perl::TypeMap;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
index bb3e6a1..f0ca48d 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::CBlock;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
index 8e751b4..2ec9f33 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Class;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
index f6c1904..50defdf 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::DocuComment;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/File.pm b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
index b2f82ae..8f4bab5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::File;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
index d54dbf1..231a1d0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::FileSpec;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
index 163728f..d8d02d9 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Function;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
index 0ee3ea1..be6eab4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Hierarchy;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
index e264a47..3b8996a 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Method;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
index 8fbb810..b1e3173 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::ParamList;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
index c879ff1..ac08957 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Parcel;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
index 99a4eca..d640ae5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Prereq;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
index 824c6fa..aa84186 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Symbol;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
index 92e1b98..9c8d6b8 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Type;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
index da535df..6c8b9b5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Model::Variable;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Parser.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Parser.pm b/compiler/perl/lib/Clownfish/CFC/Parser.pm
index 94752cb..68c132f 100644
--- a/compiler/perl/lib/Clownfish/CFC/Parser.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Parser.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Parser;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Test.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Test.pm b/compiler/perl/lib/Clownfish/CFC/Test.pm
index bebd673..9319149 100644
--- a/compiler/perl/lib/Clownfish/CFC/Test.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Test.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Test;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6a076c94/compiler/perl/lib/Clownfish/CFC/Util.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Util.pm b/compiler/perl/lib/Clownfish/CFC/Util.pm
index 25d10f6..9665f50 100644
--- a/compiler/perl/lib/Clownfish/CFC/Util.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Util.pm
@@ -15,6 +15,8 @@
 
 package Clownfish::CFC::Util;
 use Clownfish::CFC;
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 1;
 


[6/6] git commit: Udpate version to 0.4.0.

Posted by ma...@apache.org.
Udpate version to 0.4.0.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/168e87dc
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/168e87dc
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/168e87dc

Branch: refs/heads/prep_0.4.0
Commit: 168e87dc1193b653df2477914fc8b49055dad9b5
Parents: 4f91b05
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 18:19:30 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Tue Aug 12 19:01:21 2014 -0700

----------------------------------------------------------------------
 compiler/perl/buildlib/Clownfish/CFC/Build.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC.pm              |  4 +--
 compiler/perl/lib/Clownfish/CFC/Base.pm         |  2 +-
 compiler/perl/lib/Clownfish/CFC/Binding/Core.pm |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Aliases.pm   |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Class.pm     |  2 +-
 .../perl/lib/Clownfish/CFC/Binding/Core/File.pm |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Function.pm  |  2 +-
 .../lib/Clownfish/CFC/Binding/Core/Method.pm    |  2 +-
 compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm |  2 +-
 .../lib/Clownfish/CFC/Binding/Perl/Class.pm     |  2 +-
 .../Clownfish/CFC/Binding/Perl/Constructor.pm   |  2 +-
 .../lib/Clownfish/CFC/Binding/Perl/Method.pm    |  2 +-
 .../perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm  |  2 +-
 .../Clownfish/CFC/Binding/Perl/Subroutine.pm    |  2 +-
 .../lib/Clownfish/CFC/Binding/Perl/TypeMap.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Class.pm  |  2 +-
 .../perl/lib/Clownfish/CFC/Model/DocuComment.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/File.pm   |  2 +-
 .../perl/lib/Clownfish/CFC/Model/FileSpec.pm    |  2 +-
 .../perl/lib/Clownfish/CFC/Model/Function.pm    |  2 +-
 .../perl/lib/Clownfish/CFC/Model/Hierarchy.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Method.pm |  2 +-
 .../perl/lib/Clownfish/CFC/Model/ParamList.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm |  2 +-
 compiler/perl/lib/Clownfish/CFC/Model/Type.pm   |  2 +-
 .../perl/lib/Clownfish/CFC/Model/Variable.pm    |  2 +-
 compiler/perl/lib/Clownfish/CFC/Parser.pm       |  2 +-
 compiler/perl/lib/Clownfish/CFC/Perl/Build.pm   |  6 ++---
 .../lib/Clownfish/CFC/Perl/Build/Charmonic.pm   |  2 +-
 compiler/perl/lib/Clownfish/CFC/Test.pm         |  2 +-
 compiler/perl/lib/Clownfish/CFC/Util.pm         |  2 +-
 compiler/python/setup.py                        |  2 +-
 runtime/c/install.sh                            |  4 +--
 runtime/common/charmonizer.c                    |  4 +--
 runtime/common/charmonizer.main                 |  4 +--
 runtime/core/Clownfish.cfp                      |  2 +-
 runtime/core/TestClownfish.cfp                  |  4 +--
 runtime/perl/Build.PL                           |  6 ++---
 runtime/perl/buildlib/Clownfish/Build.pm        |  2 +-
 .../perl/buildlib/Clownfish/Build/Binding.pm    |  2 +-
 runtime/perl/lib/Clownfish.pm                   | 26 ++++++++++----------
 runtime/perl/lib/Clownfish.pod                  |  2 +-
 runtime/perl/lib/Clownfish/ByteBuf.pm           |  2 +-
 runtime/perl/lib/Clownfish/CharBuf.pm           |  2 +-
 runtime/perl/lib/Clownfish/Class.pm             |  2 +-
 runtime/perl/lib/Clownfish/Err.pm               |  2 +-
 runtime/perl/lib/Clownfish/Hash.pm              |  2 +-
 runtime/perl/lib/Clownfish/LockFreeRegistry.pm  |  2 +-
 runtime/perl/lib/Clownfish/Num.pm               |  2 +-
 runtime/perl/lib/Clownfish/Obj.pm               |  2 +-
 runtime/perl/lib/Clownfish/Test.pm              |  2 +-
 runtime/perl/lib/Clownfish/Util/StringHelper.pm |  2 +-
 runtime/perl/lib/Clownfish/VArray.pm            |  2 +-
 57 files changed, 78 insertions(+), 78 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/buildlib/Clownfish/CFC/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/buildlib/Clownfish/CFC/Build.pm b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
index 896f674..342d8a3 100644
--- a/compiler/perl/buildlib/Clownfish/CFC/Build.pm
+++ b/compiler/perl/buildlib/Clownfish/CFC/Build.pm
@@ -18,7 +18,7 @@ use warnings;
 
 package Clownfish::CFC::Build;
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 # In order to find Clownfish::CFC::Perl::Build::Charmonic, look in 'lib'

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC.pm b/compiler/perl/lib/Clownfish/CFC.pm
index e8e6c48..26f67d4 100644
--- a/compiler/perl/lib/Clownfish/CFC.pm
+++ b/compiler/perl/lib/Clownfish/CFC.pm
@@ -17,7 +17,7 @@ use strict;
 use warnings;
 
 package Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 END {
@@ -26,7 +26,7 @@ END {
 }
 
 use XSLoader;
-BEGIN { XSLoader::load( 'Clownfish::CFC', '0.003000' ) }
+BEGIN { XSLoader::load( 'Clownfish::CFC', '0.4.0' ) }
 
 {
     package Clownfish::CFC::Util;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Base.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Base.pm b/compiler/perl/lib/Clownfish/CFC/Base.pm
index f44f299..2b82f39 100644
--- a/compiler/perl/lib/Clownfish/CFC/Base.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Base.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Base;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
index 26e8028..ab3b742 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
index 31544f0..e2d65f9 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Aliases.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Aliases;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
index 1f7e897..a569f56 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Class;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
index 3e52fd0..ebc2458 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/File.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::File;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
index b02ad56..712dece 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Function.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Function;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
index b698c88..0a508b2 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Core/Method.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Core::Method;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
index 7113438..f11d0c5 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
index 05f7b38..c241163 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Class;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
index 04b8b01..d336f8a 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Constructor.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Constructor;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
index 176719a..d87e99b 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Method.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Method;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
index 3991d61..3b5a725 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Pod.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Pod;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
index 2030e15..ee133ef 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/Subroutine.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::Subroutine;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
index 9ac9ca4..15701ac 100644
--- a/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Binding/Perl/TypeMap.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Binding::Perl::TypeMap;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
index f0ca48d..861d5c4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/CBlock.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::CBlock;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
index 2ec9f33..1952758 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Class;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
index 50defdf..3550e71 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/DocuComment.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::DocuComment;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/File.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/File.pm b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
index 8f4bab5..bdd71c1 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/File.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/File.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::File;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
index 231a1d0..3d7b622 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/FileSpec.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::FileSpec;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
index d8d02d9..5657e63 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Function.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Function;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
index be6eab4..271f9b4 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Hierarchy.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Hierarchy;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
index 3b8996a..840eaad 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Method.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Method;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
index b1e3173..03c8aa6 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/ParamList.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::ParamList;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
index ac08957..0d0cde0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Parcel.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Parcel;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
index d640ae5..36da564 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Prereq.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Prereq;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
index aa84186..3f63f20 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Symbol.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Symbol;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
index 9c8d6b8..0a16499 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Type.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Type;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
index 6c8b9b5..1679dec 100644
--- a/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Model/Variable.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Model::Variable;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Parser.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Parser.pm b/compiler/perl/lib/Clownfish/CFC/Parser.pm
index 68c132f..3d85d15 100644
--- a/compiler/perl/lib/Clownfish/CFC/Parser.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Parser.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Parser;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
index cb8395f..939ea9d 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
@@ -18,7 +18,7 @@ use warnings;
 
 package Clownfish::CFC::Perl::Build;
 use base qw( Module::Build );
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use File::Spec::Functions qw( catdir catfile curdir updir abs2rel rel2abs );
@@ -584,10 +584,10 @@ the Perl bindings for Clownfish modules.
             'Other::Module' => '0.3.0',
         },
         configure_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.003000,
+            'Clownfish::CFC::Perl::Build' => 0.004000,
         },
         build_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.003000,
+            'Clownfish::CFC::Perl::Build' => 0.004000,
         },
     );
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
index 1e4d476..36c0261 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
@@ -20,7 +20,7 @@ package Clownfish::CFC::Perl::Build::Charmonic;
 
 use base qw( Module::Build );
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use Carp;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Test.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Test.pm b/compiler/perl/lib/Clownfish/CFC/Test.pm
index 9319149..6b9a9b0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Test.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Test.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Test;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/perl/lib/Clownfish/CFC/Util.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Util.pm b/compiler/perl/lib/Clownfish/CFC/Util.pm
index 9665f50..d4ce5fc 100644
--- a/compiler/perl/lib/Clownfish/CFC/Util.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Util.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::CFC::Util;
 use Clownfish::CFC;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/compiler/python/setup.py
----------------------------------------------------------------------
diff --git a/compiler/python/setup.py b/compiler/python/setup.py
index c5917e1..dc809b7 100644
--- a/compiler/python/setup.py
+++ b/compiler/python/setup.py
@@ -185,7 +185,7 @@ cfc_extension = Extension('clownfish._cfc',
                           sources = c_filepaths)
 
 setup(name = 'clownfish-cfc',
-      version = '0.3.0',
+      version = '0.4.0,
       description = 'Clownfish compiler',
       author = 'Apache Lucy Project',
       author_email = 'dev at lucy dot apache dot org',

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/c/install.sh
----------------------------------------------------------------------
diff --git a/runtime/c/install.sh b/runtime/c/install.sh
index 48b6e4c..ae9d04c 100755
--- a/runtime/c/install.sh
+++ b/runtime/c/install.sh
@@ -17,8 +17,8 @@
 
 set -e
 
-version=0.3.0
-major_version=0.3
+version=0.4.0
+major_version=0.4
 
 usage()
 {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.c b/runtime/common/charmonizer.c
index 8e138ba..5f70ace 100644
--- a/runtime/common/charmonizer.c
+++ b/runtime/common/charmonizer.c
@@ -7093,8 +7093,8 @@ typedef struct SourceFileContext {
     chaz_MakeVar *var;
 } SourceFileContext;
 
-static const char cfish_version[]       = "0.3.0";
-static const char cfish_major_version[] = "0.3";
+static const char cfish_version[]       = "0.4.0";
+static const char cfish_major_version[] = "0.4.0";
 
 static void
 S_add_compiler_flags(struct chaz_CLIArgs *args) {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.main b/runtime/common/charmonizer.main
index 7b2a24f..8fb8b97 100644
--- a/runtime/common/charmonizer.main
+++ b/runtime/common/charmonizer.main
@@ -42,8 +42,8 @@ typedef struct SourceFileContext {
     chaz_MakeVar *var;
 } SourceFileContext;
 
-static const char cfish_version[]       = "0.3.0";
-static const char cfish_major_version[] = "0.3";
+static const char cfish_version[]       = "0.4.0";
+static const char cfish_major_version[] = "0.4.0";
 
 static void
 S_add_compiler_flags(struct chaz_CLIArgs *args) {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/core/Clownfish.cfp
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish.cfp b/runtime/core/Clownfish.cfp
index ae91f8a..4a6b5c3 100644
--- a/runtime/core/Clownfish.cfp
+++ b/runtime/core/Clownfish.cfp
@@ -1,5 +1,5 @@
 {
     "name": "Clownfish",
     "nickname": "Cfish",
-    "version": "v0.3.0"
+    "version": "v0.4.0"
 }

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/core/TestClownfish.cfp
----------------------------------------------------------------------
diff --git a/runtime/core/TestClownfish.cfp b/runtime/core/TestClownfish.cfp
index f15309f..d7474d7 100644
--- a/runtime/core/TestClownfish.cfp
+++ b/runtime/core/TestClownfish.cfp
@@ -1,8 +1,8 @@
 {
     "name": "TestClownfish",
     "nickname": "TestCfish",
-    "version": "v0.3.0",
+    "version": "v0.4.0",
     "prerequisites": {
-        "Clownfish": "v0.3.0"
+        "Clownfish": "v0.4.0"
     }
 }

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/Build.PL
----------------------------------------------------------------------
diff --git a/runtime/perl/Build.PL b/runtime/perl/Build.PL
index 6fef470..fd03dca 100644
--- a/runtime/perl/Build.PL
+++ b/runtime/perl/Build.PL
@@ -24,19 +24,19 @@ my $builder = Clownfish::Build->new(
     license     => 'apache',
     dist_author =>
         'The Apache Lucy Project <dev at lucy dot apache dot org>',
-    dist_version       => '0.3.0',
+    dist_version       => '0.4.0',
     dist_abstract      => 'Apache Clownfish Runtime',
     requires           => { 'perl' => '5.8.3', },
     configure_requires => {
         'Module::Build'               => 0.280801,
-        'Clownfish::CFC::Perl::Build' => 0.003000,
+        'Clownfish::CFC::Perl::Build' => 0.004000,
     },
     build_requires => {
         'Module::Build'      => 0.280801,
         'ExtUtils::CBuilder' => 0.21,
         'ExtUtils::ParseXS'  => 2.18,
         'Devel::PPPort'      => 3.13,
-        'Clownfish::CFC'     => 0.003000,
+        'Clownfish::CFC'     => 0.004000,
     },
     meta_merge => { keywords => [qw( clownfish )], },
     meta_add   => {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/buildlib/Clownfish/Build.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build.pm b/runtime/perl/buildlib/Clownfish/Build.pm
index 3540e1b..0b7da01 100644
--- a/runtime/perl/buildlib/Clownfish/Build.pm
+++ b/runtime/perl/buildlib/Clownfish/Build.pm
@@ -31,7 +31,7 @@ use base qw(
 );
 no lib '../../compiler/perl/lib';
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use File::Spec::Functions qw( catdir catfile updir rel2abs );

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/buildlib/Clownfish/Build/Binding.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build/Binding.pm b/runtime/perl/buildlib/Clownfish/Build/Binding.pm
index ccfaeca..98c7f0d 100644
--- a/runtime/perl/buildlib/Clownfish/Build/Binding.pm
+++ b/runtime/perl/buildlib/Clownfish/Build/Binding.pm
@@ -16,7 +16,7 @@ package Clownfish::Build::Binding;
 use strict;
 use warnings;
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 sub bind_all {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish.pm b/runtime/perl/lib/Clownfish.pm
index 5f1bdd1..42bf493 100644
--- a/runtime/perl/lib/Clownfish.pm
+++ b/runtime/perl/lib/Clownfish.pm
@@ -20,7 +20,7 @@ package Clownfish;
 
 use 5.008003;
 
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 use Exporter 'import';
@@ -41,7 +41,7 @@ BEGIN {
     require DynaLoader;
     our @ISA = qw( DynaLoader );
     # This loads a large number of disparate subs.
-    bootstrap Clownfish '0.3.0';
+    bootstrap Clownfish '0.4.0';
 }
 
 sub kdump {
@@ -56,7 +56,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Util::StringHelper;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     BEGIN {
         push our @ISA, 'Exporter';
@@ -74,7 +74,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::LockFreeRegistry;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     no warnings 'redefine';
     sub DESTROY { }    # leak all
@@ -82,7 +82,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Obj;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     use Clownfish qw( to_clownfish to_perl );
     use Carp qw( confess );
@@ -100,7 +100,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Class;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
 
     sub _find_parent_class {
@@ -142,7 +142,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Method;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     no warnings 'redefine';
     sub DESTROY { }    # leak all
@@ -150,7 +150,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::ViewByteBuf;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     use Carp;
     sub new { confess "ViewByteBuf objects can only be created from C." }
@@ -158,7 +158,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::String;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
 
     {
@@ -173,7 +173,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::StackString;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     use Carp;
     sub new { confess "StackString objects can only be created from C." }
@@ -183,7 +183,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::Err;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     sub do_to_string { shift->to_string }
     use Scalar::Util qw( blessed );
@@ -222,7 +222,7 @@ sub error {$Clownfish::Err::error}
 
 {
     package Clownfish::VArray;
-    our $VERSION = '0.003000';
+    our $VERSION = '0.004000';
     $VERSION = eval $VERSION;
     no warnings 'redefine';
     sub clone       { CORE::shift->_clone }
@@ -238,7 +238,7 @@ Clownfish - Apache Clownfish symbiotic object system.
 
 =head1 VERSION
 
-0.3.0
+0.4.0
 
 =head1 DESCRIPTION
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish.pod
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish.pod b/runtime/perl/lib/Clownfish.pod
index cfb3c79..a4dcbb5 100644
--- a/runtime/perl/lib/Clownfish.pod
+++ b/runtime/perl/lib/Clownfish.pod
@@ -19,7 +19,7 @@ Clownfish - Symbiotic object system.
 
 =head1 VERSION
 
-0.3.0
+0.4.0
 
 =head1 DESCRIPTION
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/ByteBuf.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/ByteBuf.pm b/runtime/perl/lib/Clownfish/ByteBuf.pm
index cab5b7d..f539b0b 100644
--- a/runtime/perl/lib/Clownfish/ByteBuf.pm
+++ b/runtime/perl/lib/Clownfish/ByteBuf.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::ByteBuf;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/CharBuf.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/CharBuf.pm b/runtime/perl/lib/Clownfish/CharBuf.pm
index a6458c8..ce9c6e6 100644
--- a/runtime/perl/lib/Clownfish/CharBuf.pm
+++ b/runtime/perl/lib/Clownfish/CharBuf.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::String;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/Class.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Class.pm b/runtime/perl/lib/Clownfish/Class.pm
index ed4b538..f830247 100644
--- a/runtime/perl/lib/Clownfish/Class.pm
+++ b/runtime/perl/lib/Clownfish/Class.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Class;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/Err.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Err.pm b/runtime/perl/lib/Clownfish/Err.pm
index 61a8a5a..8d52583 100644
--- a/runtime/perl/lib/Clownfish/Err.pm
+++ b/runtime/perl/lib/Clownfish/Err.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Err;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/Hash.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Hash.pm b/runtime/perl/lib/Clownfish/Hash.pm
index b542f59..ef06df9 100644
--- a/runtime/perl/lib/Clownfish/Hash.pm
+++ b/runtime/perl/lib/Clownfish/Hash.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Hash;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/LockFreeRegistry.pm b/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
index e13e53c..95f2a91 100644
--- a/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
+++ b/runtime/perl/lib/Clownfish/LockFreeRegistry.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::LockFreeRegistry;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/Num.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Num.pm b/runtime/perl/lib/Clownfish/Num.pm
index 72bafaa..c343762 100644
--- a/runtime/perl/lib/Clownfish/Num.pm
+++ b/runtime/perl/lib/Clownfish/Num.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Num;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/Obj.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Obj.pm b/runtime/perl/lib/Clownfish/Obj.pm
index 3036630..503874b 100644
--- a/runtime/perl/lib/Clownfish/Obj.pm
+++ b/runtime/perl/lib/Clownfish/Obj.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Obj;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/Test.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Test.pm b/runtime/perl/lib/Clownfish/Test.pm
index aad0681..ef4de51 100644
--- a/runtime/perl/lib/Clownfish/Test.pm
+++ b/runtime/perl/lib/Clownfish/Test.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Test;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/Util/StringHelper.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/Util/StringHelper.pm b/runtime/perl/lib/Clownfish/Util/StringHelper.pm
index 47d9120..cc1854c 100644
--- a/runtime/perl/lib/Clownfish/Util/StringHelper.pm
+++ b/runtime/perl/lib/Clownfish/Util/StringHelper.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::Util::StringHelper;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/168e87dc/runtime/perl/lib/Clownfish/VArray.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/lib/Clownfish/VArray.pm b/runtime/perl/lib/Clownfish/VArray.pm
index 949a904..561371d 100644
--- a/runtime/perl/lib/Clownfish/VArray.pm
+++ b/runtime/perl/lib/Clownfish/VArray.pm
@@ -15,7 +15,7 @@
 
 package Clownfish::VArray;
 use Clownfish;
-our $VERSION = '0.003000';
+our $VERSION = '0.004000';
 $VERSION = eval $VERSION;
 
 1;


[5/6] git commit: Adapt Lucy's update_version tool for Clownfish.

Posted by ma...@apache.org.
Adapt Lucy's update_version tool for Clownfish.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/4f91b05c
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/4f91b05c
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/4f91b05c

Branch: refs/heads/prep_0.4.0
Commit: 4f91b05c60e0c137206e9c81e9e8f99a5937f12e
Parents: 1bf6b4e
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 18:19:09 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Tue Aug 12 19:01:21 2014 -0700

----------------------------------------------------------------------
 devel/bin/update_version | 182 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 182 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/4f91b05c/devel/bin/update_version
----------------------------------------------------------------------
diff --git a/devel/bin/update_version b/devel/bin/update_version
new file mode 100755
index 0000000..6df87b6
--- /dev/null
+++ b/devel/bin/update_version
@@ -0,0 +1,182 @@
+#!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+use strict;
+use warnings;
+use FindBin qw( $Bin );
+use File::Find;
+
+# make sure we are at the top-level dir
+chdir("$Bin/../../");
+
+my $usage = "$0 version\n";
+my $version = shift(@ARGV) or die $usage;
+
+# standardize version strings
+my ( $x, $y, $z );
+if ( $version =~ m/^(\d+)\.(\d+)\.(\d+)$/ ) {
+    ( $x, $y, $z ) = ( $1, $2, $3 );
+}
+elsif ( $version =~ m/^(\d+)\.(\d\d\d)(\d\d\d)$/ ) {
+    ( $x, $y, $z ) = ( int($1), int($2), int($3) );
+}
+else {
+    die "Unknown version syntax. Try X.Y.Z or X.YYYZZZ\n";
+}
+my $x_y_z_version    = sprintf( "%d.%d.%d",    $x, $y, $z );
+my $x_yyyzzz_version = sprintf( "%d.%03d%03d", $x, $y, $z );
+
+print "Using version: $x_y_z_version ( $x_yyyzzz_version )\n";
+
+my $buf;
+
+# Update charmonizer.
+for my $path ('runtime/common/charmonizer.c', 'runtime/common/charmonizer.main') {
+    $buf = read_file($path);
+    $buf =~ s/(cfish_version\[\]\s+=\s+)"[\d.]+"/$1"$x_y_z_version"/
+        or die "no match";
+    $buf =~ s/(cfish_major_version\[\]\s+=\s+)"[\d.]+"/$1"$x_y_z_version"/
+        or die "no match";
+    write_file($path, $buf);
+}
+
+# Update CFC.pm.
+$buf = read_file('compiler/perl/lib/Clownfish/CFC.pm');
+$buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/g
+    or die "no match";
+$buf =~ s/XSLoader::load\( 'Clownfish::CFC', '(.+?)'/XSLoader::load\( 'Clownfish::CFC', '$x_y_z_version'/
+    or die "no match";
+write_file( 'compiler/perl/lib/Clownfish/CFC.pm', $buf );
+
+# Update Clownfish.pm.
+$buf = read_file('runtime/perl/lib/Clownfish.pm');
+$buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/g
+    or die "no match";
+$buf =~ s/(bootstrap Clownfish ')(.+?)'/$1$x_y_z_version'/
+    or die "no match";
+$buf =~ s/^\d+\.\d+\.\d+\b$/$x_y_z_version/m
+    or die "no match";
+write_file( 'runtime/perl/lib/Clownfish.pm', $buf );
+
+# Update Clownfish.pod.
+$buf = read_file('runtime/perl/lib/Clownfish.pod');
+$buf =~ s/(^=head1\s+VERSION\s+)([\d.]+)/$1$x_y_z_version/m
+    or die "no match";
+write_file( 'runtime/perl/lib/Clownfish.pod', $buf );
+
+# Update runtime Build.PL
+$buf = read_file('runtime/perl/Build.PL');
+$buf =~ s/(dist_version\ +=>\ +)'.+?'/$1'$x_y_z_version'/
+    or die "no match";
+$buf =~ s/(Clownfish::CFC::Perl::Build'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
+$buf =~ s/(Clownfish::CFC'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
+write_file( 'runtime/perl/Build.PL', $buf );
+
+# Update runtime/c/install.sh
+$buf = read_file('runtime/c/install.sh');
+$buf =~ s/\bversion=[\d.]+/version=$x_y_z_version/
+    or die "no match";
+$buf =~ s/\bmajor_version=[\d.]+/major_version=$x.$y/
+    or die "no match";
+write_file( 'runtime/c/install.sh', $buf );
+
+# Update compiler/python/setup.py
+$buf = read_file('compiler/python/setup.py');
+$buf =~ s/(\bversion\s+=\s+)'[\d.]+'/$1'$x_y_z_version/
+    or die "no match";
+write_file( 'compiler/python/setup.py', $buf );
+
+# Update POD in compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+$buf = read_file('compiler/perl/lib/Clownfish/CFC/Perl/Build.pm');
+$buf =~ s/(Clownfish::CFC::Perl::Build'\s*=>\s*)(.*?),/$1$x_yyyzzz_version,/g
+    or die "no match";
+write_file( 'compiler/perl/lib/Clownfish/CFC/Perl/Build.pm', $buf );
+
+# Update Clownfish.cfp.
+$buf = read_file('runtime/core/Clownfish.cfp');
+$buf =~ s/("version":\s+)"v\d+\.\d+\.\d+"/$1"v$x_y_z_version"/
+    or die "no match";
+write_file( 'runtime/core/Clownfish.cfp', $buf );
+
+# Update runtime/core/TestClownfish.cfp
+$buf = read_file('runtime/core/TestClownfish.cfp');
+$buf =~ s/("version":\s+)"v\d+\.\d+\.\d+"/$1"v$x_y_z_version"/
+    or die "no match";
+$buf =~ s/("Clownfish":\s+)"v\d+\.\d+\.\d+"/$1"v$x_y_z_version"/
+    or die "no match";
+write_file( 'runtime/core/TestClownfish.cfp', $buf );
+
+# Update all other Perl modules.
+find(\&update_pm_file, 'compiler/perl');
+find(\&update_pm_file, 'runtime/perl');
+
+sub update_pm_file {
+    return unless /[.]pm$/;
+    my $name = $_;
+    return if $name eq 'Clownfish.pm';
+    return if $name eq 'CFC.pm';
+    my $buf = read_file($name);
+    $buf =~ s/(our \$VERSION\ +=\ +)'.+?'/$1'$x_yyyzzz_version'/g
+        or die "no match in $File::Find::name";
+    write_file($name, $buf);
+}
+
+# utility functions
+sub read_file {
+    my ($file) = @_;
+    local $/;
+    open( F, "< $file" ) or die "Cannot read $file: $!\n";
+    my $buf = <F>;
+    close(F) or die "Cannot close $file: $!\n";
+    return $buf;
+}
+
+sub write_file {
+    my ( $file, $buf ) = @_;
+    open( F, "> $file" ) or die "Cannot write $file: $!\n";
+    print F $buf;
+    close(F) or die "Cannot close $file: $!\n";
+}
+
+print "Done.  Consider running git grep for the old version.\n";
+exit();
+
+__END__
+
+=head1 NAME
+
+update_version - update Clownfish version strings in source files
+
+=head1 SYNOPSIS
+
+ perl devel/bin/update_version version
+
+=head1 DESCRIPTION
+
+Updates key source files with I<version>, using correct syntax
+depending on the file format and type.
+
+I<version> may be specified in either format:
+
+ X.Y.Z
+ X.YYYZZZ
+
+and update_version will convert the specified string into the 
+correct format for each relevant file.
+
+=cut


[3/6] git commit: Add CFC CPAN prereqs, but avoid warning.

Posted by ma...@apache.org.
Add CFC CPAN prereqs, but avoid warning.

Reversing the logic (adding then conditionally deleting rather than
conditionally adding) means that the CPAN dist will generate a META.json
with the proper prereqs.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/1bf6b4e8
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/1bf6b4e8
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/1bf6b4e8

Branch: refs/heads/prep_0.4.0
Commit: 1bf6b4e88a89d56b39390085efade76f2e3e04bc
Parents: 6a076c9
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 17:53:44 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Tue Aug 12 18:32:31 2014 -0700

----------------------------------------------------------------------
 runtime/perl/Build.PL                    | 8 ++++++--
 runtime/perl/buildlib/Clownfish/Build.pm | 6 ++++--
 2 files changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1bf6b4e8/runtime/perl/Build.PL
----------------------------------------------------------------------
diff --git a/runtime/perl/Build.PL b/runtime/perl/Build.PL
index 14cd1c9..6fef470 100644
--- a/runtime/perl/Build.PL
+++ b/runtime/perl/Build.PL
@@ -27,12 +27,16 @@ my $builder = Clownfish::Build->new(
     dist_version       => '0.3.0',
     dist_abstract      => 'Apache Clownfish Runtime',
     requires           => { 'perl' => '5.8.3', },
-    configure_requires => { 'Module::Build' => 0.280801 },
-    build_requires     => {
+    configure_requires => {
+        'Module::Build'               => 0.280801,
+        'Clownfish::CFC::Perl::Build' => 0.003000,
+    },
+    build_requires => {
         'Module::Build'      => 0.280801,
         'ExtUtils::CBuilder' => 0.21,
         'ExtUtils::ParseXS'  => 2.18,
         'Devel::PPPort'      => 3.13,
+        'Clownfish::CFC'     => 0.003000,
     },
     meta_merge => { keywords => [qw( clownfish )], },
     meta_add   => {

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1bf6b4e8/runtime/perl/buildlib/Clownfish/Build.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build.pm b/runtime/perl/buildlib/Clownfish/Build.pm
index 19d923f..3540e1b 100644
--- a/runtime/perl/buildlib/Clownfish/Build.pm
+++ b/runtime/perl/buildlib/Clownfish/Build.pm
@@ -67,8 +67,10 @@ sub new {
         include        => [],                  # Don't use default includes.
         source => [ $CORE_SOURCE_DIR, $XS_SOURCE_DIR ],
     };
-    $args{build_requires}{'Clownfish::CFC'} = '0.3.0'
-        if $IS_CPAN_DIST;
+    if (!$IS_CPAN_DIST) {
+        delete $args{build_requires}{'Clownfish::CFC'};
+        delete $args{configure_requires}{'Clownfish::CFC::Perl::Build'};
+    }
     my $self = $class->SUPER::new( recursive_test_files => 1, %args );
 
     # Fix for MSVC: Although the generated XS should be C89-compliant, it


[2/6] git commit: Unify version numbers for Clownfish and CFC.

Posted by ma...@apache.org.
Unify version numbers for Clownfish and CFC.

Since both Clownfish and CFC will be released together in a single
Apache package, unify their version numbers.


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/f13960a1
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/f13960a1
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/f13960a1

Branch: refs/heads/prep_0.4.0
Commit: f13960a1082a95b6e1e77a204593e725223b9121
Parents: cac11a4
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Tue Aug 12 16:22:01 2014 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
Committed: Tue Aug 12 16:29:08 2014 -0700

----------------------------------------------------------------------
 compiler/perl/lib/Clownfish/CFC.pm            | 5 +++--
 compiler/perl/lib/Clownfish/CFC/Perl/Build.pm | 7 ++++---
 runtime/perl/buildlib/Clownfish/Build.pm      | 2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/f13960a1/compiler/perl/lib/Clownfish/CFC.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC.pm b/compiler/perl/lib/Clownfish/CFC.pm
index 7dd8171..e8e6c48 100644
--- a/compiler/perl/lib/Clownfish/CFC.pm
+++ b/compiler/perl/lib/Clownfish/CFC.pm
@@ -17,7 +17,8 @@ use strict;
 use warnings;
 
 package Clownfish::CFC;
-our $VERSION = '0.01';
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 END {
     Clownfish::CFC::Model::Class->_clear_registry();
@@ -25,7 +26,7 @@ END {
 }
 
 use XSLoader;
-BEGIN { XSLoader::load( 'Clownfish::CFC', '0.01' ) }
+BEGIN { XSLoader::load( 'Clownfish::CFC', '0.003000' ) }
 
 {
     package Clownfish::CFC::Util;

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/f13960a1/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
index eaa9dd7..cb8395f 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build.pm
@@ -18,7 +18,8 @@ use warnings;
 
 package Clownfish::CFC::Perl::Build;
 use base qw( Module::Build );
-our $VERSION = '0.01';
+our $VERSION = '0.003000';
+$VERSION = eval $VERSION;
 
 use File::Spec::Functions qw( catdir catfile curdir updir abs2rel rel2abs );
 use File::Path qw( mkpath );
@@ -583,10 +584,10 @@ the Perl bindings for Clownfish modules.
             'Other::Module' => '0.3.0',
         },
         configure_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.01,
+            'Clownfish::CFC::Perl::Build' => 0.003000,
         },
         build_requires => {
-            'Clownfish::CFC::Perl::Build' => 0.01,
+            'Clownfish::CFC::Perl::Build' => 0.003000,
         },
     );
 

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/f13960a1/runtime/perl/buildlib/Clownfish/Build.pm
----------------------------------------------------------------------
diff --git a/runtime/perl/buildlib/Clownfish/Build.pm b/runtime/perl/buildlib/Clownfish/Build.pm
index 356eaa5..19d923f 100644
--- a/runtime/perl/buildlib/Clownfish/Build.pm
+++ b/runtime/perl/buildlib/Clownfish/Build.pm
@@ -67,7 +67,7 @@ sub new {
         include        => [],                  # Don't use default includes.
         source => [ $CORE_SOURCE_DIR, $XS_SOURCE_DIR ],
     };
-    $args{build_requires}{'Clownfish::CFC'} = '0.1.0'
+    $args{build_requires}{'Clownfish::CFC'} = '0.3.0'
         if $IS_CPAN_DIST;
     my $self = $class->SUPER::new( recursive_test_files => 1, %args );