<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,10 +1,4 @@
-# Copyright (c) 2008 by Ricardo Signes. All rights reserved.
-# Licensed under terms of Perl itself (the &quot;License&quot;).
-# You may not use this file except in compliance with the License.
-# A copy of the License was distributed with this file or you may obtain a 
-# copy of the License from http://dev.perl.org/licenses/
-
-Revision history for CPAN-Metabase
+Revision history for Metabase
 
 0.01 in progress
     - original skeleton created at Oslo QA hackathon 2008</diff>
      <filename>Changes</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,8 @@
 require 5.006;
 use inc::Module::Install;
-all_from('lib/CPAN/Metabase.pm');
+all_from('lib/Metabase.pm');
 
-requires('CPAN::Metabase::Fact' =&gt; 0);
+requires('Metabase::Fact' =&gt; 0);
 
 requires('Test::More'   =&gt; '0.47');
 requires('Data::GUID'   =&gt; 0);</diff>
      <filename>Makefile.PL</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
 # A copy of the License was distributed with this file or you may obtain a 
 # copy of the License from http://dev.perl.org/licenses/
 
-package CPAN::Metabase;
+package Metabase;
 use 5.006;
 use strict;
 use warnings;
@@ -14,7 +14,7 @@ $VERSION = eval $VERSION; # convert '1.23_45' to 1.2345
 
 =head1 NAME
 
-CPAN::Metabase - a database for metadata about CPAN distributions
+Metabase - a database for metadata about CPAN distributions
 
 =head1 DESCRIPTION
 
@@ -23,13 +23,13 @@ It can be used to store, retrieve, and search this information, which can be of
 arbitrary and mixed types.
 
 The metabase was built as a means of storing reports from the CPAN Testers.
-When CPAN::Metabase was initially developed, CPAN Testers reports were sent by
+When Metabase was initially developed, CPAN Testers reports were sent by
 individual testers to a single email server, which then forwarded them to a
 USENET group, which was considered the authoritative store.  This presented
 problems: some testers couldn't send email, the system wasn't very searchable
 or mirrorable, and the data inside the system was entirely unstructured.
 
-CPAN::Metabase aims to avoid all of those problems by being transport-neutral,
+Metabase aims to avoid all of those problems by being transport-neutral,
 searchable and mirrorable by design, and geared toward storing structured data.
 Simplicity is another design goal: while it has several moving parts, they're
 all simple and designed to be replaceable and extensible, rather than to be a</diff>
      <filename>lib/CPAN/Metabase.pm</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
 # A copy of the License was distributed with this file or you may obtain a 
 # copy of the License from http://dev.perl.org/licenses/
 
-package CPAN::Metabase::Archive;
+package Metabase::Archive;
 use Moose::Role;
 
 our $VERSION = '0.01';
@@ -21,7 +21,7 @@ __END__
 
 =head1 NAME
 
-CPAN::Metabase::Archive - Abstract base class for CPAN::Metabase storage
+Metabase::Archive - Abstract base class for Metabase storage
 
 =head1 SYNOPSIS
 </diff>
      <filename>lib/CPAN/Metabase/Archive.pm</filename>
    </modified>
    <modified>
      <diff>@@ -4,11 +4,11 @@
 # A copy of the License was distributed with this file or you may obtain a 
 # copy of the License from http://dev.perl.org/licenses/
 
-package CPAN::Metabase::Archive::Filesystem;
+package Metabase::Archive::Filesystem;
 use Moose;
 use Moose::Util::TypeConstraints;
 
-use CPAN::Metabase::Fact;
+use Metabase::Fact;
 use Carp ();
 use Data::GUID ();
 use File::Slurp ();
@@ -18,7 +18,7 @@ use Path::Class ();
 our $VERSION = '0.01';
 $VERSION = eval $VERSION; # convert '1.23_45' to 1.2345
 
-with 'CPAN::Metabase::Archive';
+with 'Metabase::Archive';
 
 subtype 'ExistingDir' 
     =&gt; as 'Object' 
@@ -63,7 +63,7 @@ sub store {
 
 # given guid, retrieve it and return it
 # type is directory path
-# class isa CPAN::Metabase::Fact::Subclass
+# class isa Metabase::Fact::Subclass
 sub extract {
     my ($self, $guid) = @_;
     
@@ -86,7 +86,7 @@ sub extract {
     }
 
     # reconstruct fact meta and extract type to find the class
-    my $class = CPAN::Metabase::Fact-&gt;class_from_type($fact_meta-&gt;{type});
+    my $class = Metabase::Fact-&gt;class_from_type($fact_meta-&gt;{type});
 
     # recreate the class
     # XXX should this be from_struct rather than new? -- dagolden, 2009-03-31
@@ -117,7 +117,7 @@ __END__
 
 =head1 NAME
 
-CPAN::Metabase::Archive::Filesystem - CPAN::Metabase file-based storage
+Metabase::Archive::Filesystem - Metabase file-based storage
 
 =head1 SYNOPSIS
 </diff>
      <filename>lib/CPAN/Metabase/Archive/Filesystem.pm</filename>
    </modified>
    <modified>
      <diff>@@ -4,12 +4,12 @@
 # A copy of the License was distributed with this file or you may obtain a
 # copy of the License from http://dev.perl.org/licenses/
 
-package CPAN::Metabase::Archive::SQLite;
+package Metabase::Archive::SQLite;
 use Moose;
 use Moose::Util::TypeConstraints;
 use MooseX::Types::Path::Class;
 
-use CPAN::Metabase::Fact;
+use Metabase::Fact;
 use Carp        ();
 use Data::GUID  ();
 use JSON::XS    ();
@@ -21,7 +21,7 @@ use Compress::Zlib qw(compress uncompress);
 our $VERSION = '0.01';
 $VERSION = eval $VERSION;    # convert '1.23_45' to 1.2345
 
-with 'CPAN::Metabase::Archive';
+with 'Metabase::Archive';
 
 has 'filename' =&gt; (
     is       =&gt; 'ro',
@@ -95,7 +95,7 @@ sub store {
 
 # given guid, retrieve it and return it
 # type is directory path
-# class isa CPAN::Metabase::Fact::Subclass
+# class isa Metabase::Fact::Subclass
 sub extract {
     my ( $self, $guid ) = @_;
     my $dbh = $self-&gt;dbh;
@@ -114,7 +114,7 @@ sub extract {
     my $meta = JSON::XS-&gt;new-&gt;decode($json);
 
     # reconstruct fact meta and extract type to find the class
-    my $class = CPAN::Metabase::Fact-&gt;class_from_type($type);
+    my $class = Metabase::Fact-&gt;class_from_type($type);
 
     # recreate the class
     # XXX should this be from_struct rather than new? -- dagolden, 2009-03-31
@@ -132,7 +132,7 @@ __END__
 
 =head1 NAME
 
-CPAN::Metabase::Archive::SQLite - CPAN::Metabase SQLite-based storage
+Metabase::Archive::SQLite - Metabase SQLite-based storage
 
 =head1 SYNOPSIS
 </diff>
      <filename>lib/CPAN/Metabase/Archive/SQLite.pm</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,11 @@
-package CPAN::Metabase::Gateway;
+package Metabase::Gateway;
 use Moose;
 
-use CPAN::Metabase::Librarian;
+use Metabase::Librarian;
 use Data::GUID;
 
-use CPAN::Metabase::Fact;
-use CPAN::Metabase::User::Profile;
+use Metabase::Fact;
+use Metabase::User::Profile;
 
 # XXX life becomes a lot easier if we say that fact classes MUST have 1-to-1 
 # relationship with a .pm file. -- dagolden, 2009-03-31
@@ -27,13 +27,13 @@ has approved_types =&gt; (
 
 has librarian =&gt; (
   is       =&gt; 'ro',
-  isa      =&gt; 'CPAN::Metabase::Librarian',
+  isa      =&gt; 'Metabase::Librarian',
   required =&gt; 1,
 );
 
 has secret_librarian =&gt; (
   is       =&gt; 'ro',
-  isa      =&gt; 'CPAN::Metabase::Librarian',
+  isa      =&gt; 'Metabase::Librarian',
   required =&gt; 1,
 );
 
@@ -45,7 +45,7 @@ sub _build_approved_types {
   while ( my $class = shift @queue ) {
     push @approved, $class;
     # XXX $class-&gt;can('fact_classes') ?? -- dagolden, 2009-03-31
-    push @queue, $class-&gt;fact_classes if $class-&gt;isa('CPAN::Metabase::Report');
+    push @queue, $class-&gt;fact_classes if $class-&gt;isa('Metabase::Report');
   }
   return [ map { $_-&gt;type } @approved ];
 }
@@ -68,15 +68,15 @@ sub __submitter_profile {
   };
 
   my $given_fact = eval {
-    CPAN::Metabase::User::Profile-&gt;from_struct($profile_struct);
+    Metabase::User::Profile-&gt;from_struct($profile_struct);
   };
 
   return unless $profile_fact and $given_fact;
 
-  my ($profile_secret_fact) = grep { $_-&gt;isa('CPAN::Metabase::User::Secret') }
+  my ($profile_secret_fact) = grep { $_-&gt;isa('Metabase::User::Secret') }
                               $profile_fact-&gt;facts;
 
-  my ($given_secret_fact)   = grep { $_-&gt;isa('CPAN::Metabase::User::Secret') }
+  my ($given_secret_fact)   = grep { $_-&gt;isa('Metabase::User::Secret') }
                               $given_fact-&gt;facts;
 
   my $profile_secret = $profile_secret_fact-&gt;content;
@@ -135,7 +135,7 @@ sub handle_submission {
   die &quot;'$type' is not an approved fact type&quot;
     unless grep { $type eq $_ } $self-&gt;approved_types;
 
-  my $class = CPAN::Metabase::Fact-&gt;class_from_type($type);
+  my $class = Metabase::Fact-&gt;class_from_type($type);
 
   my $fact = eval { $class-&gt;from_struct($struct) }
     or die &quot;Unable to create a '$class' object: $@&quot;;</diff>
      <filename>lib/CPAN/Metabase/Gateway.pm</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
 # A copy of the License was distributed with this file or you may obtain a 
 # copy of the License from http://dev.perl.org/licenses/
 
-package CPAN::Metabase::Index;
+package Metabase::Index;
 use Moose::Role;
 
 our $VERSION = '0.01';
@@ -26,7 +26,7 @@ __END__
 
 =head1 NAME
 
-CPAN::Metabase::Index - Abstract base class for CPAN::Metabase indexing
+Metabase::Index - Abstract base class for Metabase indexing
 
 =head1 SYNOPSIS
 </diff>
      <filename>lib/CPAN/Metabase/Index.pm</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@
 # A copy of the License was distributed with this file or you may obtain a 
 # copy of the License from http://dev.perl.org/licenses/
 
-package CPAN::Metabase::Index::FlatFile;
+package Metabase::Index::FlatFile;
 use Moose;
 use Moose::Util::TypeConstraints;
 
@@ -16,7 +16,7 @@ use JSON::XS;
 our $VERSION = '0.01';
 $VERSION = eval $VERSION; # convert '1.23_45' to 1.2345
 
-with 'CPAN::Metabase::Index';
+with 'Metabase::Index';
 
 subtype 'File' 
     =&gt; as 'Object' 
@@ -114,7 +114,7 @@ sub _match {
 
 =head1 NAME
 
-CPAN::Metabase::Index::FlatFile - CPAN::Metabase flat-file index
+Metabase::Index::FlatFile - Metabase flat-file index
 
 =head1 SYNOPSIS
 </diff>
      <filename>lib/CPAN/Metabase/Index/FlatFile.pm</filename>
    </modified>
    <modified>
      <diff>@@ -4,13 +4,13 @@
 # A copy of the License was distributed with this file or you may obtain a 
 # copy of the License from http://dev.perl.org/licenses/
 
-package CPAN::Metabase::Librarian;
+package Metabase::Librarian;
 use Moose;
 use Moose::Util::TypeConstraints;
 use Carp ();
 use CPAN::DistnameInfo;
-use CPAN::Metabase::Archive;
-use CPAN::Metabase::Index;
+use Metabase::Archive;
+use Metabase::Index;
 use Data::GUID ();
 
 our $VERSION = '0.01';
@@ -18,13 +18,13 @@ $VERSION = eval $VERSION; # convert '1.23_45' to 1.2345
 
 has 'archive' =&gt; (
     is =&gt; 'ro', 
-    isa =&gt; 'CPAN::Metabase::Archive',
+    isa =&gt; 'Metabase::Archive',
     required =&gt; 1, 
 );
 
 has 'index' =&gt; (
     is =&gt; 'ro', 
-    isa =&gt; 'CPAN::Metabase::Index',
+    isa =&gt; 'Metabase::Index',
     required =&gt; 1, 
 );
 
@@ -32,6 +32,8 @@ has 'index' =&gt; (
 sub store {
     my ($self, $fact) = @_;
 
+    # XXX: This needs to be made a per-resource-type analyzer. -- rjbs,
+    # 2009-04-02
     my $d = CPAN::DistnameInfo-&gt;new($fact-&gt;resource);
 
     # Don't store existing GUIDs; this should never happen, since we're just
@@ -65,7 +67,7 @@ __END__
 
 =head1 NAME
 
-CPAN::Metabase::Librarian - no human would stack books this way
+Metabase::Librarian - no human would stack books this way
 
 =head1 SYNOPSIS
 </diff>
      <filename>lib/CPAN/Metabase/Librarian.pm</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-The Indexer part of CPAN::Metabase will be a Solr server. Solr is a web
+The Indexer part of Metabase will be a Solr server. Solr is a web
 interface to Lucene. It is powerful and flexible and meets our needs
 very well.
 </diff>
      <filename>solr/README</filename>
    </modified>
    <modified>
      <diff>@@ -9,5 +9,5 @@ use warnings;
 
 use Test::More tests =&gt; 1;
 
-require_ok( 'CPAN::Metabase::Index' );
+require_ok( 'Metabase::Index' );
 </diff>
      <filename>t/index/base.t</filename>
    </modified>
    <modified>
      <diff>@@ -21,16 +21,16 @@ plan tests =&gt; 14;
 
 #-------------------------------------------------------------------------#
 
-require_ok( 'CPAN::Metabase::Index::FlatFile' );
+require_ok( 'Metabase::Index::FlatFile' );
 
 ok( my $archive = $TEST-&gt;test_archive, 'created archive' );
-isa_ok( $archive, 'CPAN::Metabase::Archive::SQLite' );
+isa_ok( $archive, 'Metabase::Archive::SQLite' );
 
 ok( my $index = $TEST-&gt;test_index, 'created an index' );
-isa_ok( $index, 'CPAN::Metabase::Index::FlatFile' );
+isa_ok( $index, 'Metabase::Index::FlatFile' );
 
 ok( my $fact = $TEST-&gt;test_fact, &quot;created a fact&quot; );
-isa_ok( $fact, 'CPAN::Metabase::Fact::TestFact' );
+isa_ok( $fact, 'Metabase::Fact::TestFact' );
 
 ok( my $guid = $archive-&gt;store( $fact ), &quot;stored a fact&quot; );
 </diff>
      <filename>t/index/flatfile.t</filename>
    </modified>
    <modified>
      <diff>@@ -14,23 +14,23 @@ close $store_dir-&gt;file('metabase.index')-&gt;openw;
 
 has test_gateway =&gt; (
   is   =&gt; 'ro',
-  isa  =&gt; 'CPAN::Metabase::Gateway',
+  isa  =&gt; 'Metabase::Gateway',
   lazy =&gt; 1,
   default =&gt; sub {
-    require CPAN::Metabase::Analyzer::Test;
-    my $gateway = CPAN::Metabase::Gateway-&gt;new({
-      fact_classes =&gt; [ 'CPAN::Metabase::Fact::TestFact' ],
+    require Metabase::Analyzer::Test;
+    my $gateway = Metabase::Gateway-&gt;new({
+      fact_classes =&gt; [ 'Metabase::Fact::TestFact' ],
     });
   }
 );
 
 has test_fact =&gt; (
   is   =&gt; 'ro',
-  isa  =&gt; 'CPAN::Metabase::Fact',
+  isa  =&gt; 'Metabase::Fact',
   lazy =&gt; 1,
   default =&gt; sub {
-    require CPAN::Metabase::Fact::TestFact;
-    CPAN::Metabase::Fact::TestFact-&gt;new( 
+    require Metabase::Fact::TestFact;
+    Metabase::Fact::TestFact-&gt;new( 
       resource =&gt; 'JOHNDOE/Foo-Bar-1.23.tar.gz', 
       content  =&gt; &quot;I smell something fishy.&quot;,
     );
@@ -39,11 +39,11 @@ has test_fact =&gt; (
 
 has test_archive =&gt; (
   is   =&gt; 'ro',
-  isa  =&gt; 'CPAN::Metabase::Archive::SQLite',
+  isa  =&gt; 'Metabase::Archive::SQLite',
   lazy =&gt; 1,
   default =&gt; sub {
-    require CPAN::Metabase::Archive::SQLite;
-    CPAN::Metabase::Archive::SQLite-&gt;new(
+    require Metabase::Archive::SQLite;
+    Metabase::Archive::SQLite-&gt;new(
       filename   =&gt; &quot;$temp_dir/store.db&quot;,
       compressed =&gt; 0,
     );
@@ -52,11 +52,11 @@ has test_archive =&gt; (
 
 has test_index =&gt; (
   is   =&gt; 'ro',
-  isa  =&gt; 'CPAN::Metabase::Index::FlatFile',
+  isa  =&gt; 'Metabase::Index::FlatFile',
   lazy =&gt; 1,
   default =&gt; sub {
-    require CPAN::Metabase::Index::FlatFile;
-    CPAN::Metabase::Index::FlatFile-&gt;new(
+    require Metabase::Index::FlatFile;
+    Metabase::Index::FlatFile-&gt;new(
       index_file =&gt; &quot;$temp_dir/store/metabase.index&quot;,
     );
   },
@@ -64,11 +64,11 @@ has test_index =&gt; (
 
 has test_librarian =&gt; (
   is   =&gt; 'ro',
-  isa  =&gt; 'CPAN::Metabase::Librarian',
+  isa  =&gt; 'Metabase::Librarian',
   lazy =&gt; 1,
   default =&gt; sub {
-    require CPAN::Metabase::Librarian;
-    CPAN::Metabase::Librarian-&gt;new(
+    require Metabase::Librarian;
+    Metabase::Librarian-&gt;new(
         archive =&gt; $_[0]-&gt;test_archive,
         'index' =&gt; $_[0]-&gt;test_index,
     );</diff>
      <filename>t/lib/Test/Metabase/Util.pm</filename>
    </modified>
    <modified>
      <diff>@@ -2,4 +2,4 @@
 use strict;
 use warnings;
 use Test::More tests =&gt; 1;
-use_ok('CPAN::Metabase::Gateway');
+use_ok('Metabase::Gateway');</diff>
      <filename>t/lib/gateway.t</filename>
    </modified>
    <modified>
      <diff>@@ -21,12 +21,12 @@ plan tests =&gt; 10;
 
 #-------------------------------------------------------------------------#
 
-require_ok( 'CPAN::Metabase::Librarian' );
+require_ok( 'Metabase::Librarian' );
 
 ok( my $librarian = $TEST-&gt;test_librarian, 'created librarian' );
 
 ok( my $fact = $TEST-&gt;test_fact, &quot;created a fact&quot; );
-isa_ok( $fact, 'CPAN::Metabase::Fact::TestFact' );
+isa_ok( $fact, 'Metabase::Fact::TestFact' );
 
 ok(
   my $guid = $librarian-&gt;store($fact, { user_id =&gt; 'Larry' }),</diff>
      <filename>t/librarian/simple.t</filename>
    </modified>
    <modified>
      <diff>@@ -9,5 +9,5 @@ use warnings;
 
 use Test::More tests =&gt; 1;
 
-require_ok( 'CPAN::Metabase::Archive' );
+require_ok( 'Metabase::Archive' );
 </diff>
      <filename>t/storage/base.t</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ use File::Temp ();
 use File::Path ();
 
 use lib 't/lib';
-use CPAN::Metabase::Fact::TestFact;
+use Metabase::Fact::TestFact;
 
 #--------------------------------------------------------------------------#
 
@@ -23,13 +23,13 @@ my $dist_id = 'UNKNOWN/Foo-Bar-1.23.tar.gz';
 
 plan tests =&gt; 10;
 
-require_ok( 'CPAN::Metabase::Archive::Filesystem' );
+require_ok( 'Metabase::Archive::Filesystem' );
 
 # die on missing or non-existing directory
 my $re_bad_root_dir = qr/\QAttribute (root_dir)\E/;
-throws_ok { CPAN::Metabase::Archive::Filesystem-&gt;new() } $re_bad_root_dir;
+throws_ok { Metabase::Archive::Filesystem-&gt;new() } $re_bad_root_dir;
 throws_ok { 
-    CPAN::Metabase::Archive::Filesystem-&gt;new(root_dir =&gt; 'doesntexist') 
+    Metabase::Archive::Filesystem-&gt;new(root_dir =&gt; 'doesntexist') 
 } $re_bad_root_dir;
 
 # store into a temp directory
@@ -39,15 +39,15 @@ File::Path::mkpath( $temp_root );
 
 my $archive;
 lives_ok { 
-    $archive = CPAN::Metabase::Archive::Filesystem-&gt;new(root_dir =&gt; &quot;$temp_root&quot;);
+    $archive = Metabase::Archive::Filesystem-&gt;new(root_dir =&gt; &quot;$temp_root&quot;);
 } &quot;created store at '$temp_root'&quot;;
 
-my $fact = CPAN::Metabase::Fact::TestFact-&gt;new( 
+my $fact = Metabase::Fact::TestFact-&gt;new( 
     resource =&gt; $dist_id,
     content  =&gt; &quot;I smell something fishy.&quot;,
 );
 
-isa_ok( $fact, 'CPAN::Metabase::Fact::TestFact' );
+isa_ok( $fact, 'Metabase::Fact::TestFact' );
 
 ok( my $guid = $archive-&gt;store( $fact ), &quot;stored a fact&quot; );
 </diff>
      <filename>t/storage/filesystem.t</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>57a05ae2361e110623df8d2785048de342f264f8</id>
    </parent>
  </parents>
  <author>
    <name>Ricardo SIGNES</name>
    <email>rjbs@cpan.org</email>
  </author>
  <url>http://github.com/dagolden/metabase/commit/832ee54e0c345e88c9404ffacdd20c91897eea2e</url>
  <id>832ee54e0c345e88c9404ffacdd20c91897eea2e</id>
  <committed-date>2009-04-02T06:39:00-07:00</committed-date>
  <authored-date>2009-04-02T06:39:00-07:00</authored-date>
  <message>the great renaming

also, a comment</message>
  <tree>6e1eeb6394763e8be929362df309783585161b3c</tree>
  <committer>
    <name>Ricardo SIGNES</name>
    <email>rjbs@cpan.org</email>
  </committer>
</commit>
