On Jul 23, 2007, at 2:41 PM, John Cappiello wrote:
> Marvin, I'll dive in, and see if I can isolate the dependency. I was
> considering a migration to DBIx::Class at some point anyway,
> perhaps now
> might be a good time. We'll see.
The dependency is buried in JSAN::Indexer::Creator:
use Class::DBI::DATA::Schema translate => [ 'MySQL', 'SQLite' ];
This is what the Class::DBI::DATA::Schema docs have to say:
=head1 TRANSLATION and CACHING
There are undocumented arguments that will allow this module to
translate the SQL from one database schema to another, and also
to cache the result of that translation. People are relying on
these, so they're not going to go away, but you're going to need
to read the source and/or the tests to work out how to use them.
The actual calls to SQL::Translator methods appear in
Class::DBI::DATA::Schema->import.
For giggles, the dependency tree for the JSAN module is below,
generated by the deptree app (see Module::Depends::Tree on CPAN).
Several dependencies will go away if SQL::Translator does. Of course
DBIx::Class will pull in others; its dependency tree is also below
for comparison.
> Have you tried JSAN::Client ? There are a few JSAN clients, which
> only
> adds to this confusion.
Nope, didn't know about that. My mind was constrained by the "CPAN
is JSAN is CPAN is JSAN" metaphor and never made it to "where's
JSANPLUS?". Especially since the CPAN module still gets the job done
for me. :)
> Thank, (big fan of Kinosearch btw).
Thanks!
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
---------------------------------------------------------
deptree for JSAN:
JSAN
Class::Accessor::Fast
Class::DBI
Class::Accessor
Class::Data::Inheritable
Class::Trigger
IO::Scalar
Clone
Ima::DBI
Class::Data::Inheritable
DBI
DBIx::ContextualFetch
DBI
UNIVERSAL::moniker
version
Class::DBI::DATA::Schema
Class::DBI
Class::Accessor
Class::Data::Inheritable
Class::Trigger
IO::Scalar
Clone
Ima::DBI
Class::Data::Inheritable
DBI
DBIx::ContextualFetch
DBI
UNIVERSAL::moniker
version
Class::DBI::Loader
Class::DBI
Class::Accessor
Class::Data::Inheritable
Class::Trigger
IO::Scalar
Clone
Ima::DBI
Class::Data::Inheritable
DBI
DBIx::ContextualFetch
DBI
UNIVERSAL::moniker
version
DBI
Lingua::EN::Inflect
Class::DBI::Loader::SQLite
Class::DBI
Class::Accessor
Class::Data::Inheritable
Class::Trigger
IO::Scalar
Clone
Ima::DBI
Class::Data::Inheritable
DBI
DBIx::ContextualFetch
DBI
UNIVERSAL::moniker
version
DBI
Lingua::EN::Inflect
Class::DBI::SQLite
Class::DBI
Class::Accessor
Class::Data::Inheritable
Class::Trigger
IO::Scalar
Clone
Ima::DBI
Class::Data::Inheritable
DBI
DBIx::ContextualFetch
DBI
UNIVERSAL::moniker
version
DBD::SQLite
DBI
Ima::DBI
Class::Data::Inheritable
DBI
DBIx::ContextualFetch
DBI
DBD::SQLite
DBI
ExtUtils::AutoInstall
LWP::Simple
Compress::Zlib
Compress::Raw::Zlib
IO::Compress::Base
IO::Compress::Base::Common
IO::Compress::Gzip
Compress::Raw::Zlib
IO::Compress::Base
IO::Uncompress::Base
IO::Compress::Gzip::Constants
Compress::Raw::Zlib
IO::Compress::Base
IO::Uncompress::Base
IO::Uncompress::Base
IO::Uncompress::Gunzip
Compress::Raw::Zlib
IO::Compress::Base
IO::Uncompress::Base
HTML::Parser
HTML::Tagset
HTML::Tagset
URI
SQL::Translator
Class::Base
Class::Data::Inheritable
Class::MakeMethods
Log::Log4perl
Parse::RecDescent
Test::Differences
Text::Diff
Algorithm::Diff
Test::Exception
Sub::Uplevel
Test::Builder::Tester
YAML
Test::Differences
Text::Diff
Algorithm::Diff
XML::XPath
XML::Parser
YAML
Number of times each module is used
2 Algorithm::Diff
5 Class::Accessor
Class::Accessor::Fast
Class::Base
5 Class::DBI
Class::DBI::DATA::Schema
Class::DBI::Loader
Class::DBI::Loader::SQLite
Class::DBI::SQLite
12 Class::Data::Inheritable
Class::MakeMethods
5 Class::Trigger
5 Clone
4 Compress::Raw::Zlib
Compress::Zlib
2 DBD::SQLite
16 DBI
6 DBIx::ContextualFetch
ExtUtils::AutoInstall
HTML::Parser
2 HTML::Tagset
4 IO::Compress::Base
IO::Compress::Base::Common
IO::Compress::Gzip
IO::Compress::Gzip::Constants
5 IO::Scalar
4 IO::Uncompress::Base
IO::Uncompress::Gunzip
6 Ima::DBI
JSAN
LWP::Simple
2 Lingua::EN::Inflect
Log::Log4perl
Parse::RecDescent
SQL::Translator
Sub::Uplevel
Test::Builder::Tester
2 Test::Differences
Test::Exception
2 Text::Diff
5 UNIVERSAL::moniker
URI
XML::Parser
XML::XPath
2 YAML
5 version
46 total modules
Algorithm-Diff-1.1902.tar.gz
Algorithm::Diff
Class-Accessor-0.31.tar.gz
Class::Accessor
Class::Accessor::Fast
Class-Base-0.03.tar.gz
Class::Base
Class-DBI-DATA-Schema-1.00.tar.gz
Class::DBI::DATA::Schema
Class-DBI-Loader-0.32.tar.gz
Class::DBI::Loader
Class::DBI::Loader::SQLite
Class-DBI-SQLite-0.11.tar.gz
Class::DBI::SQLite
Class-DBI-v3.0.16.tar.gz
Class::DBI
Class-Data-Inheritable-0.06.tar.gz
Class::Data::Inheritable
Class-MakeMethods-1.01.tar.gz
Class::MakeMethods
Class-Trigger-0.11.tar.gz
Class::Trigger
Clone-0.25.tar.gz
Clone
Compress-Raw-Zlib-2.005.tar.gz
Compress::Raw::Zlib
Compress-Zlib-2.005.tar.gz
Compress::Zlib
DBD-SQLite-1.13.tar.gz
DBD::SQLite
DBI-1.58.tar.gz
DBI
DBIx-ContextualFetch-1.03.tar.gz
DBIx::ContextualFetch
ExtUtils-AutoInstall-0.63.tar.gz
ExtUtils::AutoInstall
HTML-Parser-3.56.tar.gz
HTML::Parser
HTML-Tagset-3.10.tar.gz
HTML::Tagset
IO-Compress-Base-2.005.tar.gz
IO::Compress::Base
IO::Compress::Base::Common
IO::Uncompress::Base
IO-Compress-Zlib-2.005.tar.gz
IO::Compress::Gzip
IO::Compress::Gzip::Constants
IO::Uncompress::Gunzip
IO-stringy-2.110.tar.gz
IO::Scalar
Ima-DBI-0.35.tar.gz
Ima::DBI
JSAN-0.07.tar.gz
JSAN
Lingua-EN-Inflect-1.89.tar.gz
Lingua::EN::Inflect
Log-Log4perl-1.12.tar.gz
Log::Log4perl
Parse-RecDescent-1.94.tar.gz
Parse::RecDescent
SQL-Translator-0.08.tar.gz
SQL::Translator
Sub-Uplevel-0.14.tar.gz
Sub::Uplevel
Test-Differences-0.47.tar.gz
Test::Differences
Test-Exception-0.25.tar.gz
Test::Exception
Test-Simple-0.70.tar.gz
Test::Builder::Tester
Text-Diff-0.35.tar.gz
Text::Diff
UNIVERSAL-moniker-0.08.tar.gz
UNIVERSAL::moniker
URI-1.35.tar.gz
URI
XML-Parser-2.34.tar.gz
XML::Parser
XML-XPath-1.13.tar.gz
XML::XPath
YAML-0.65.tar.gz
YAML
libwww-perl-5.806.tar.gz
LWP::Simple
version-0.7203.tar.gz
version
40 total packages
---------------------------------------------------------
deptree for DBIx::Class:
DBIx::Class
Carp::Clan
Test::Exception
Sub::Uplevel
Test::Builder::Tester
Class::Accessor::Grouped
Class::Inspector
MRO::Compat
Class::C3
Algorithm::C3
Class::C3
Algorithm::C3
Class::Inspector
DBD::SQLite
DBI
DBI
Data::Page
Class::Accessor::Chained::Fast
Class::Accessor
Test::Exception
Sub::Uplevel
Test::Builder::Tester
JSON
HTTP::Request
Compress::Zlib
Compress::Raw::Zlib
IO::Compress::Base
IO::Compress::Base::Common
IO::Compress::Gzip
Compress::Raw::Zlib
IO::Compress::Base
IO::Uncompress::Base
IO::Compress::Gzip::Constants
Compress::Raw::Zlib
IO::Compress::Base
IO::Uncompress::Base
IO::Uncompress::Base
IO::Uncompress::Gunzip
Compress::Raw::Zlib
IO::Compress::Base
IO::Uncompress::Base
HTML::Parser
HTML::Tagset
HTML::Tagset
URI
HTTP::Response
Compress::Zlib
Compress::Raw::Zlib
IO::Compress::Base
IO::Compress::Base::Common
IO::Compress::Gzip
Compress::Raw::Zlib
IO::Compress::Base
IO::Uncompress::Base
IO::Compress::Gzip::Constants
Compress::Raw::Zlib
IO::Compress::Base
...
read more »