/usr/share/perl5/DBIx/Class/DeploymentHandler.pm is in libdbix-class-deploymenthandler-perl 0.002222-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | package DBIx::Class::DeploymentHandler;
$DBIx::Class::DeploymentHandler::VERSION = '0.002222';
# ABSTRACT: Extensible DBIx::Class deployment
use Moose;
has initial_version => (is => 'ro', lazy_build => 1);
sub _build_initial_version { $_[0]->database_version }
extends 'DBIx::Class::DeploymentHandler::Dad';
# a single with would be better, but we can't do that
# see: http://rt.cpan.org/Public/Bug/Display.html?id=46347
with 'DBIx::Class::DeploymentHandler::WithApplicatorDumple' => {
interface_role => 'DBIx::Class::DeploymentHandler::HandlesDeploy',
class_name => 'DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator',
delegate_name => 'deploy_method',
attributes_to_assume => [qw(schema schema_version version_source)],
attributes_to_copy => [qw(
ignore_ddl databases script_directory sql_translator_args force_overwrite
)],
},
'DBIx::Class::DeploymentHandler::WithApplicatorDumple' => {
interface_role => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
class_name => 'DBIx::Class::DeploymentHandler::VersionHandler::Monotonic',
delegate_name => 'version_handler',
attributes_to_assume => [qw( initial_version schema_version to_version )],
},
'DBIx::Class::DeploymentHandler::WithApplicatorDumple' => {
interface_role => 'DBIx::Class::DeploymentHandler::HandlesVersionStorage',
class_name => 'DBIx::Class::DeploymentHandler::VersionStorage::Standard',
delegate_name => 'version_storage',
attributes_to_assume => ['schema'],
attributes_to_copy => [qw(version_source version_class)],
};
with 'DBIx::Class::DeploymentHandler::WithReasonableDefaults';
sub prepare_version_storage_install {
my $self = shift;
$self->prepare_resultsource_install({
result_source => $self->version_storage->version_rs->result_source
});
}
sub install_version_storage {
my $self = shift;
my $version = (shift||{})->{version} || $self->schema_version;
$self->install_resultsource({
result_source => $self->version_storage->version_rs->result_source,
version => $version,
});
}
sub prepare_install {
$_[0]->prepare_deploy;
$_[0]->prepare_version_storage_install;
}
# the following is just a hack so that ->version_storage
# won't be lazy
sub BUILD { $_[0]->version_storage }
__PACKAGE__->meta->make_immutable;
1;
#vim: ts=2 sw=2 expandtab
__END__
=pod
=head1 NAME
DBIx::Class::DeploymentHandler - Extensible DBIx::Class deployment
=head1 SYNOPSIS
use aliased 'DBIx::Class::DeploymentHandler' => 'DH';
my $s = My::Schema->connect(...);
my $dh = DH->new({
schema => $s,
databases => 'SQLite',
sql_translator_args => { add_drop_table => 0 },
});
$dh->prepare_install;
$dh->install;
or for upgrades:
use aliased 'DBIx::Class::DeploymentHandler' => 'DH';
my $s = My::Schema->connect(...);
my $dh = DH->new({
schema => $s,
databases => 'SQLite',
sql_translator_args => { add_drop_table => 0 },
});
$dh->prepare_deploy;
$dh->prepare_upgrade({
from_version => 1,
to_version => 2,
});
$dh->upgrade;
=head1 DESCRIPTION
C<DBIx::Class::DeploymentHandler> is, as its name suggests, a tool for
deploying and upgrading databases with L<DBIx::Class>. It is designed to be
much more flexible than L<DBIx::Class::Schema::Versioned>, hence the use of
L<Moose> and lots of roles.
C<DBIx::Class::DeploymentHandler> itself is just a recommended set of roles
that we think will not only work well for everyone, but will also yield the
best overall mileage. Each role it uses has its own nuances and
documentation, so I won't describe all of them here, but here are a few of the
major benefits over how L<DBIx::Class::Schema::Versioned> worked (and
L<DBIx::Class::DeploymentHandler::Deprecated> tries to maintain compatibility
with):
=over
=item *
Downgrades in addition to upgrades.
=item *
Multiple sql files files per upgrade/downgrade/install.
=item *
Perl scripts allowed for upgrade/downgrade/install.
=item *
Just one set of files needed for upgrade, unlike before where one might need
to generate C<factorial(scalar @versions)>, which is just silly.
=item *
And much, much more!
=back
That's really just a taste of some of the differences. Check out each role for
all the details.
=head1 WHERE IS ALL THE DOC?!
To get up and running fast, your best place to start is
L<DBIx::Class::DeploymentHandler::Manual::Intro> and then
L<DBIx::Class::DeploymentHandler::Manual::CatalystIntro> if your intending on
using this with Catalyst.
For the full story you should realise that C<DBIx::Class::DeploymentHandler>
extends L<DBIx::Class::DeploymentHandler::Dad>, so that's probably the first
place to look when you are trying to figure out how everything works.
Next would be to look at all the pieces that fill in the blanks that
L<DBIx::Class::DeploymentHandler::Dad> expects to be filled. They would be
L<DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator>,
L<DBIx::Class::DeploymentHandler::VersionHandler::Monotonic>,
L<DBIx::Class::DeploymentHandler::VersionStorage::Standard>, and
L<DBIx::Class::DeploymentHandler::WithReasonableDefaults>.
=head1 WHY IS THIS SO WEIRD
C<DBIx::Class::DeploymentHandler> has a strange structure. The gist is that it
delegates to three small objects that are proxied to via interface roles that
then create the illusion of one large, monolithic object. Here is a diagram
that might help:
=begin text
Figure 1
+------------+
| |
+------------+ Deployment +-----------+
| | Handler | |
| | | |
| +-----+------+ |
| | |
| | |
: : :
v v v
/-=-------\ /-=-------\ /-=----------\
| | | | | | (interface roles)
| Handles | | Handles | | Handles |
| Version | | Deploy | | Versioning |
| Storage | | | | |
| | \-+--+--+-/ \-+---+---+--/
\-+--+--+-/ | | | | | |
| | | | | | | | |
| | | | | | | | |
v v v v v v v v v
+----------+ +--------+ +-----------+
| | | | | | (implementations)
| Version | | Deploy | | Version |
| Storage | | Method | | Handler |
| Standard | | SQLT | | Monotonic |
| | | | | |
+----------+ +--------+ +-----------+
=end text
=for html <p><i>Figure 1</i><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvgAAAGyCAIAAAAeaycjAAA+XUlEQVR42u2deXwN997HhYgkIlKJlCBKY2lja7lFadXtJblP+7S01hcPWhS9HrW73WgvahdtKKXFFWupvVI89CKJWKoV221qTQiCJCI74fm++nvdueeePclJcpb3+4+8zsyZMzOZ+cz39z5zZuZX4REAAACAk1KBTQAAAACIDgAAAIDDis5DAAAAAKcA0QEAAABEBwAAAADRAQAAAEB0AAAAABAdAAAAAEQHAAAAANEBAAAARAcAAAAA0QEAAABAdAAAAAAQHQAAAABEBwAAAADRAQAAAEQH0QEAAABEBwAAAADRAQAAAEB0AAAAABAdAAAAAEQHAAAAEB1EBwAAABAdAAAAAEQHAAAAANEBAAAAQHQAAAAAEB0AAAAARAcAAAAQHQAAAABEBwAAAADRAQAAAEB0AAAAABAdAAAAAEQHHJmmTZtWgPJG9gJRBABEB8D2SCv7CMob2QuZmZlZWVm5ubn5+fkPHjwgmQCA6AAgOs4jOsnJyTdv3kxLSxPdEdchmQCA6AAgOs4jOmfOnLlw4cK1a9fEdXJyckgmACA6AIiO84hOXFzcyZMnxXVu3Lhx7949kgkAiA4AouM8ohMdHS2uc/r06aSkpIyMDJIJAIgOAKLjPKKzYcOGPXv2HDt27Pz583fu3CGZAIDoACA6ziM669at++GHH44ePfrbb78hOgCA6AAgOogOAACiA4DoIDoAAIgOIDqA6AAAIDqA6ACiAwCIDqIDiA4gOgCA6AAgOogOogMAiA4AooPoAAAgOgC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XZIBukDgDRAcoKuSIbZIPUASA6lBXKCrkiG2SD1AEgOpQVGjOyQTaA1AGiQ9GhrNCYkQ2yAaQOEB2KDmWFxoxskA0gdYDoUHQoKzRmZINskDoARAcoK+SKbJANUgeA6ABlhVyRDbJB6gAQHcoKjRnZIBtkg9QBooPoUFZozMgG2QBSB4gORYeyQmNGNsgGkDpAdCg6lBUaM7JBNkgdAKIDlBVyRTbIBqkDcB7RqVWrVgWwBb6+vpQVckU2yAapA7Av0REyMjKuXLmSkJBw6NChnTt3roHiIltPtqFsSdmeslVdPM3kimyQDVIHYBeik5mZmZKSkpiYeOLEiYMHD+6C4iJbT7ahbEnZnrJVXTzN5IpskA1SB2AXopOdnX379u3k5GQ5Hk6ePBkPxUW2nmxD2ZKyPWWruniayRXZIBukDsAuRCcvL09kX44Esf7Lly//CsVFtp5sQ9mSsj1lq7p4mskV2SAbpA7ALkTn/v37cgyI79+9ezctLe0WFBfZerINZUvK9pSt6uJpJldkg2yQOgC7EB1F4b94AMVF24ZEmVyRDbJB6gDsS3QAAAAAEB0AAAAARAcAAAAA0QEAAABEBwAAAADRAQAAAEB0AAAAABAdAAAAAEQHAAAAANEBAAAARAfRAQAAAEQHAAAAANEBAAAAQHQAAAAAEB0AAAAARAcAAAAQHUQHAAAAEB0AAAAARAcAAAAA0QEAAABAdAAAAAAQHQAAAABEBwAAABAdAAAAAEQHAAAAwN5FBwAAAMDJQHQAAAAA0QEAAABwNP4fWjzNNJegXMoAAAAASUVORK5CYII="></img></p>
The nice thing about this is that we have well defined interfaces for the
objects that comprise the C<DeploymentHandler>, the smaller objects can be
tested in isolation, and the smaller objects can even be swapped in easily. But
the real win is that you can subclass the C<DeploymentHandler> without knowing
about the underlying delegation; you just treat it like normal Perl and write
methods that do what you want.
=head1 THIS SUCKS
You started your project and weren't using C<DBIx::Class::DeploymentHandler>?
Lucky for you I had you in mind when I wrote this doc.
First,
L<define the version|DBIx::Class::DeploymentHandler::Manual::Intro/Sample_database>
in your main schema file (maybe using C<$VERSION>).
Then you'll want to just install the version_storage:
my $s = My::Schema->connect(...);
my $dh = DBIx::Class::DeploymentHandler->new({ schema => $s });
$dh->prepare_version_storage_install;
$dh->install_version_storage;
Then set your database version:
$dh->add_database_version({ version => $s->schema_version });
Now you should be able to use C<DBIx::Class::DeploymentHandler> like normal!
=head1 LOGGING
This is a complex tool, and because of that sometimes you'll want to see
what exactly is happening. The best way to do that is to use the built in
logging functionality. It the standard six log levels; C<fatal>, C<error>,
C<warn>, C<info>, C<debug>, and C<trace>. Most of those are pretty self
explanatory. Generally a safe level to see what all is going on is debug,
which will give you everything except for the exact SQL being run.
To enable the various logging levels all you need to do is set an environment
variables: C<DBICDH_FATAL>, C<DBICDH_ERROR>, C<DBICDH_WARN>, C<DBICDH_INFO>,
C<DBICDH_DEBUG>, and C<DBICDH_TRACE>. Each level can be set on its own,
but the default is the first three on and the last three off, and the levels
cascade, so if you turn on trace the rest will turn on automatically.
=head1 DONATIONS
If you'd like to thank me for the work I've done on this module, don't give me
a donation. I spend a lot of free time creating free software, but I do it
because I love it.
Instead, consider donating to someone who might actually need it. Obviously
you should do research when donating to a charity, so don't just take my word
on this. I like Matthew 25: Ministries:
L<http://www.m25m.org/>, but there are a host of other
charities that can do much more good than I will with your money.
(Third party charity info here:
L<http://www.charitynavigator.org/index.cfm?bay=search.summary&orgid=6901>
=head1 METHODS
=head2 prepare_version_storage_install
$dh->prepare_version_storage_install
Creates the needed C<.sql> file to install the version storage and not the rest
of the tables
=head2 prepare_install
$dh->prepare_install
First prepare all the tables to be installed and the prepare just the version
storage
=head2 install_version_storage
$dh->install_version_storage
Install the version storage and not the rest of the tables
=head1 AUTHOR
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
|