Skip to content

Commit

Permalink
Clarify licensing, ensure footers are consistent throughout the project
Browse files Browse the repository at this point in the history
Note - this *DOES NOT CHANGE* the licensing of the project in any way, it
is still dual-licensed like perl5, just as it was before this commit. All
additions are for clarifying purposes only.

The way licensing is presented is an amalgamation of information and
prior art found at the following sources:
 - http://www.perlfoundation.org/cpan_licensing_guidelines
 - https://metacpan.org/source/ETHER/Moose-2.1212/LICENSE
 - `git log --color -w -p v5.20.0 ^perl-5.000^ -- Artistic`
  • Loading branch information
ribasushi committed Sep 24, 2014
1 parent 3440100 commit a2bd379
Show file tree
Hide file tree
Showing 127 changed files with 1,576 additions and 633 deletions.
409 changes: 409 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions lib/DBIx/Class.pm
Expand Up @@ -67,8 +67,6 @@ sub DBIx::Class::_ENV_::HELP_URL () {

__END__
=encoding UTF-8
=head1 NAME
DBIx::Class - Extensible and flexible object <-> relational mapper.
Expand Down Expand Up @@ -300,11 +298,10 @@ the root of this distribution (or repository). The canonical source of
per-line authorship is the L<git repository|/HOW TO CONTRIBUTE> history
itself.
=head1 COPYRIGHT
Copyright (c) 2005 the DBIx::Class L</AUTHORS> as listed above.
=head1 COPYRIGHT AND LICENSE
=head1 LICENSE
Copyright (c) 2005 by mst, castaway, ribasushi, and other DBIx::Class
L</AUTHORS> as listed above and in F<AUTHORS>.
This library is free software and may be distributed under the same terms
as perl itself.
as perl5 itself. See F<LICENSE> for the complete licensing terms.
12 changes: 7 additions & 5 deletions lib/DBIx/Class/AccessorGroup.pm
Expand Up @@ -44,13 +44,15 @@ DBIx::Class::AccessorGroup - See Class::Accessor::Grouped
This class now exists in its own right on CPAN as Class::Accessor::Grouped
=head1 AUTHOR AND CONTRIBUTORS
=head1 FURTHER QUESTIONS?
See L<AUTHOR|DBIx::Class/AUTHOR> and L<CONTRIBUTORS|DBIx::Class/CONTRIBUTORS> in DBIx::Class
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 LICENSE
=head1 COPYRIGHT AND LICENSE
You may distribute this code under the same terms as Perl itself.
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

11 changes: 7 additions & 4 deletions lib/DBIx/Class/Admin.pm
Expand Up @@ -582,13 +582,16 @@ sub _find_stanza {
return $cfg;
}

=head1 AUTHOR
=head1 FURTHER QUESTIONS?
See L<DBIx::Class/CONTRIBUTORS>.
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 LICENSE
=head1 COPYRIGHT AND LICENSE
You may distribute this code under the same terms as Perl itself
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

Expand Down
2 changes: 1 addition & 1 deletion lib/DBIx/Class/Admin/Usage.pm
Expand Up @@ -41,7 +41,7 @@ sub pod_authorlic_text {

return join ("\n\n",
'=head1 AUTHORS',
'See L<DBIx::Class/CONTRIBUTORS>',
'See L<DBIx::Class/AUTHORS>',
'=head1 LICENSE',
'You may distribute this code under the same terms as Perl itself',
'=cut',
Expand Down
17 changes: 9 additions & 8 deletions lib/DBIx/Class/CDBICompat.pm
Expand Up @@ -45,9 +45,10 @@ __PACKAGE__->load_own_components(qw/
Iterator
/);

#DBIx::Class::ObjIndexStubs
1;

__END__
=head1 NAME
DBIx::Class::CDBICompat - Class::DBI Compatibility layer.
Expand Down Expand Up @@ -165,13 +166,13 @@ Relationships between tables (has_a, has_many...) must be declared after all tab
=back
=head1 AUTHOR AND CONTRIBUTORS
See L<AUTHOR|DBIx::Class/AUTHOR> and L<CONTRIBUTORS|DBIx::Class/CONTRIBUTORS> in DBIx::Class
=head1 LICENSE
=head1 FURTHER QUESTIONS?
You may distribute this code under the same terms as Perl itself.
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=cut
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
13 changes: 13 additions & 0 deletions lib/DBIx/Class/CDBICompat/AbstractSearch.pm
Expand Up @@ -34,4 +34,17 @@ sub search_where {
return $class->resultset_instance->search($where, $attr);
}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
13 changes: 13 additions & 0 deletions lib/DBIx/Class/CDBICompat/ColumnsAsHash.pm
Expand Up @@ -102,4 +102,17 @@ sub STORE {
: $obj->set_column($col => shift);
}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
13 changes: 13 additions & 0 deletions lib/DBIx/Class/CDBICompat/Copy.pm
Expand Up @@ -33,4 +33,17 @@ sub copy {
return $self->next::method({ $primary_columns[0] => $arg });
}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
14 changes: 13 additions & 1 deletion lib/DBIx/Class/CDBICompat/Iterator.pm
Expand Up @@ -32,9 +32,21 @@ sub _init_result_source_instance {
return $table;
}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
package DBIx::Class::CDBICompat::Iterator::ResultSet;
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

package # hide
DBIx::Class::CDBICompat::Iterator::ResultSet;

use strict;
use warnings;
Expand Down
13 changes: 13 additions & 0 deletions lib/DBIx/Class/CDBICompat/NoObjectIndex.pm
Expand Up @@ -31,4 +31,17 @@ sub remove_from_object_index {}

sub clear_object_index {}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
13 changes: 13 additions & 0 deletions lib/DBIx/Class/CDBICompat/Relationship.pm
Expand Up @@ -33,4 +33,17 @@ sub new {
return bless $args, $class;
}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
13 changes: 13 additions & 0 deletions lib/DBIx/Class/CDBICompat/Relationships.pm
Expand Up @@ -206,4 +206,17 @@ sub new_related {
return shift->search_related(shift)->new_result(shift);
}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
14 changes: 13 additions & 1 deletion lib/DBIx/Class/CDBICompat/SQLTransformer.pm
Expand Up @@ -100,5 +100,17 @@ sub _do_transformation {
return 1;
}

1;
=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
13 changes: 13 additions & 0 deletions lib/DBIx/Class/Carp.pm
Expand Up @@ -127,6 +127,8 @@ sub unimport {

1;

__END__
=head1 NAME
DBIx::Class::Carp - Provides advanced Carp::Clan-like warning functions for DBIx::Class internals
Expand Down Expand Up @@ -179,4 +181,15 @@ same ruleset as L</carp>).
Like L</carp> but warns only once for the life of the perl interpreter
(regardless of callsite).
=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut
15 changes: 9 additions & 6 deletions lib/DBIx/Class/Core.pm
Expand Up @@ -16,6 +16,8 @@ __PACKAGE__->load_components(qw/

1;

__END__
=head1 NAME
DBIx::Class::Core - Core set of DBIx::Class modules
Expand Down Expand Up @@ -51,12 +53,13 @@ The core modules currently are:
A better overview of the methods found in a Result class can be found
in L<DBIx::Class::Manual::ResultClass>.
=head1 AUTHOR AND CONTRIBUTORS
See L<AUTHOR|DBIx::Class/AUTHOR> and L<CONTRIBUTORS|DBIx::Class/CONTRIBUTORS> in DBIx::Class
=head1 FURTHER QUESTIONS?
=head1 LICENSE
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
You may distribute this code under the same terms as Perl itself.
=head1 COPYRIGHT AND LICENSE
=cut
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
13 changes: 13 additions & 0 deletions lib/DBIx/Class/Cursor.pm
Expand Up @@ -81,4 +81,17 @@ sub all {
return @all;
}

=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

1;
11 changes: 7 additions & 4 deletions lib/DBIx/Class/DB.pm
Expand Up @@ -267,13 +267,16 @@ Alias for L</txn_rollback>
=end hidden
=head1 AUTHOR AND CONTRIBUTORS
=head1 FURTHER QUESTIONS?
See L<AUTHOR|DBIx::Class/AUTHOR> and L<CONTRIBUTORS|DBIx::Class/CONTRIBUTORS> in DBIx::Class
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 LICENSE
=head1 COPYRIGHT AND LICENSE
You may distribute this code under the same terms as Perl itself
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

Expand Down
11 changes: 7 additions & 4 deletions lib/DBIx/Class/Exception.pm
Expand Up @@ -88,13 +88,16 @@ sub rethrow {
die shift;
}

=head1 AUTHOR AND CONTRIBUTORS
=head1 FURTHER QUESTIONS?
See L<AUTHOR|DBIx::Class/AUTHOR> and L<CONTRIBUTORS|DBIx::Class/CONTRIBUTORS> in DBIx::Class
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 LICENSE
=head1 COPYRIGHT AND LICENSE
You may distribute this code under the same terms as Perl itself.
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
=cut

Expand Down
13 changes: 13 additions & 0 deletions lib/DBIx/Class/FilterColumn.pm
Expand Up @@ -177,6 +177,8 @@ sub new {

1;

__END__
=head1 NAME
DBIx::Class::FilterColumn - Automatically convert column data
Expand Down Expand Up @@ -261,3 +263,14 @@ and one, using code like this:-
In this case the C<filter_from_storage> is not required, as just
passing the database value through to perl does the right thing.
=head1 FURTHER QUESTIONS?
Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
=head1 COPYRIGHT AND LICENSE
This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
redistribute it and/or modify it under the same terms as the
L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.

0 comments on commit a2bd379

Please sign in to comment.