Bugzilla – Attachment 21889 Details for
Bug 11015
Copyright headers are missing in some packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11015: Copyright headers are missing in some packages
Bug-11015-Copyright-headers-are-missing-in-some-pa.patch (text/plain), 30.23 KB, created by
Robin Sheat
on 2013-10-09 03:30:25 UTC
(
hide
)
Description:
Bug 11015: Copyright headers are missing in some packages
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2013-10-09 03:30:25 UTC
Size:
30.23 KB
patch
obsolete
>From 5f11f3bd6aa30f9080367c2ec6be5f8ccada499b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 8 Oct 2013 09:32:34 +0200 >Subject: [PATCH] Bug 11015: Copyright headers are missing in some packages > >This patch adds a copyright headers where don't exist in the Koha >namespace. > >Signed-off-by: Robin Sheat <robin@catalyst.net.nz> >--- > Koha/QueryParser/Driver/PQF.pm | 18 ++++++++++++++++++ > Koha/QueryParser/Driver/PQF/Util.pm | 18 ++++++++++++++++++ > Koha/QueryParser/Driver/PQF/query_plan.pm | 18 ++++++++++++++++++ > Koha/QueryParser/Driver/PQF/query_plan/facet.pm | 18 ++++++++++++++++++ > Koha/QueryParser/Driver/PQF/query_plan/filter.pm | 18 ++++++++++++++++++ > Koha/QueryParser/Driver/PQF/query_plan/modifier.pm | 18 ++++++++++++++++++ > Koha/QueryParser/Driver/PQF/query_plan/node.pm | 18 ++++++++++++++++++ > Koha/QueryParser/Driver/PQF/query_plan/node/atom.pm | 18 ++++++++++++++++++ > Koha/SearchEngine.pm | 17 +++++++++++++++++ > Koha/SearchEngine/Config.pm | 17 +++++++++++++++++ > Koha/SearchEngine/ConfigRole.pm | 17 +++++++++++++++++ > Koha/SearchEngine/FacetsBuilder.pm | 17 +++++++++++++++++ > Koha/SearchEngine/FacetsBuilderRole.pm | 17 +++++++++++++++++ > Koha/SearchEngine/Index.pm | 18 ++++++++++++++++++ > Koha/SearchEngine/IndexRole.pm | 18 ++++++++++++++++++ > Koha/SearchEngine/QueryBuilder.pm | 17 +++++++++++++++++ > Koha/SearchEngine/QueryBuilderRole.pm | 17 +++++++++++++++++ > Koha/SearchEngine/Search.pm | 18 ++++++++++++++++++ > Koha/SearchEngine/SearchRole.pm | 18 ++++++++++++++++++ > Koha/SearchEngine/Solr.pm | 18 ++++++++++++++++++ > Koha/SearchEngine/Solr/Config.pm | 17 +++++++++++++++++ > Koha/SearchEngine/Solr/FacetsBuilder.pm | 17 +++++++++++++++++ > Koha/SearchEngine/Solr/Index.pm | 20 ++++++++++++++++++++ > Koha/SearchEngine/Solr/QueryBuilder.pm | 17 +++++++++++++++++ > Koha/SearchEngine/Solr/Search.pm | 19 +++++++++++++++++++ > Koha/SearchEngine/Zebra.pm | 18 ++++++++++++++++++ > Koha/SearchEngine/Zebra/QueryBuilder.pm | 17 +++++++++++++++++ > Koha/SearchEngine/Zebra/Search.pm | 18 ++++++++++++++++++ > 28 files changed, 496 insertions(+) > >diff --git a/Koha/QueryParser/Driver/PQF.pm b/Koha/QueryParser/Driver/PQF.pm >index d4551f0..cd3b994 100644 >--- a/Koha/QueryParser/Driver/PQF.pm >+++ b/Koha/QueryParser/Driver/PQF.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use base qw(OpenILS::QueryParser Class::Accessor); > > use strict; >diff --git a/Koha/QueryParser/Driver/PQF/Util.pm b/Koha/QueryParser/Driver/PQF/Util.pm >index be7639b..5d9ed71 100644 >--- a/Koha/QueryParser/Driver/PQF/Util.pm >+++ b/Koha/QueryParser/Driver/PQF/Util.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF::Util; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Scalar::Util qw(looks_like_number); > > use strict; >diff --git a/Koha/QueryParser/Driver/PQF/query_plan.pm b/Koha/QueryParser/Driver/PQF/query_plan.pm >index 8b0df42..19544b8 100644 >--- a/Koha/QueryParser/Driver/PQF/query_plan.pm >+++ b/Koha/QueryParser/Driver/PQF/query_plan.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF::query_plan; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use base 'OpenILS::QueryParser::query_plan'; > > use strict; >diff --git a/Koha/QueryParser/Driver/PQF/query_plan/facet.pm b/Koha/QueryParser/Driver/PQF/query_plan/facet.pm >index 217cd29..0a8b169 100644 >--- a/Koha/QueryParser/Driver/PQF/query_plan/facet.pm >+++ b/Koha/QueryParser/Driver/PQF/query_plan/facet.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF::query_plan::facet; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use base 'OpenILS::QueryParser::query_plan::facet'; > > use strict; >diff --git a/Koha/QueryParser/Driver/PQF/query_plan/filter.pm b/Koha/QueryParser/Driver/PQF/query_plan/filter.pm >index 587ad81..ab6358e 100644 >--- a/Koha/QueryParser/Driver/PQF/query_plan/filter.pm >+++ b/Koha/QueryParser/Driver/PQF/query_plan/filter.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF::query_plan::filter; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use base 'OpenILS::QueryParser::query_plan::filter'; > > use strict; >diff --git a/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm b/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm >index 2092232..7577bc4 100644 >--- a/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm >+++ b/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF::query_plan::modifier; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use base 'OpenILS::QueryParser::query_plan::modifier'; > > use strict; >diff --git a/Koha/QueryParser/Driver/PQF/query_plan/node.pm b/Koha/QueryParser/Driver/PQF/query_plan/node.pm >index e88ef84..a50347e 100644 >--- a/Koha/QueryParser/Driver/PQF/query_plan/node.pm >+++ b/Koha/QueryParser/Driver/PQF/query_plan/node.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF::query_plan::node; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use base 'OpenILS::QueryParser::query_plan::node'; > > use strict; >diff --git a/Koha/QueryParser/Driver/PQF/query_plan/node/atom.pm b/Koha/QueryParser/Driver/PQF/query_plan/node/atom.pm >index 8de250d..909fb0d 100644 >--- a/Koha/QueryParser/Driver/PQF/query_plan/node/atom.pm >+++ b/Koha/QueryParser/Driver/PQF/query_plan/node/atom.pm >@@ -1,4 +1,22 @@ > package Koha::QueryParser::Driver::PQF::query_plan::node::atom; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 C & P Bibliography Services >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use base 'OpenILS::QueryParser::query_plan::node::atom'; > > use strict; >diff --git a/Koha/SearchEngine.pm b/Koha/SearchEngine.pm >index 407156f..6cfc461 100644 >--- a/Koha/SearchEngine.pm >+++ b/Koha/SearchEngine.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > use C4::Context; > use Koha::SearchEngine::Config; >diff --git a/Koha/SearchEngine/Config.pm b/Koha/SearchEngine/Config.pm >index 089bac6..497e448 100644 >--- a/Koha/SearchEngine/Config.pm >+++ b/Koha/SearchEngine/Config.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::Config; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > > use Moose::Util qw( apply_all_roles ); >diff --git a/Koha/SearchEngine/ConfigRole.pm b/Koha/SearchEngine/ConfigRole.pm >index 9ea224f..e75a62d 100644 >--- a/Koha/SearchEngine/ConfigRole.pm >+++ b/Koha/SearchEngine/ConfigRole.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::ConfigRole; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > > requires 'indexes', 'index', 'ressource_types'; >diff --git a/Koha/SearchEngine/FacetsBuilder.pm b/Koha/SearchEngine/FacetsBuilder.pm >index 2c974b1..a43b30d 100644 >--- a/Koha/SearchEngine/FacetsBuilder.pm >+++ b/Koha/SearchEngine/FacetsBuilder.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::FacetsBuilder; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > > use Moose::Util qw( apply_all_roles ); >diff --git a/Koha/SearchEngine/FacetsBuilderRole.pm b/Koha/SearchEngine/FacetsBuilderRole.pm >index f0886e0..3a8b21c 100644 >--- a/Koha/SearchEngine/FacetsBuilderRole.pm >+++ b/Koha/SearchEngine/FacetsBuilderRole.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::FacetsBuilderRole; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > > requires 'build_facets'; >diff --git a/Koha/SearchEngine/Index.pm b/Koha/SearchEngine/Index.pm >index 2807fbf..59fd4b6 100644 >--- a/Koha/SearchEngine/Index.pm >+++ b/Koha/SearchEngine/Index.pm >@@ -1,4 +1,22 @@ > package Koha::SearchEngine::Index; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > > use Moose::Util qw( apply_all_roles ); >diff --git a/Koha/SearchEngine/IndexRole.pm b/Koha/SearchEngine/IndexRole.pm >index a52f852..d495618 100644 >--- a/Koha/SearchEngine/IndexRole.pm >+++ b/Koha/SearchEngine/IndexRole.pm >@@ -1,4 +1,22 @@ > package Koha::SearchEngine::IndexRole; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > > requires 'index_record'; >diff --git a/Koha/SearchEngine/QueryBuilder.pm b/Koha/SearchEngine/QueryBuilder.pm >index 7c2f793..68973fc 100644 >--- a/Koha/SearchEngine/QueryBuilder.pm >+++ b/Koha/SearchEngine/QueryBuilder.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::QueryBuilder; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > > use Moose::Util qw( apply_all_roles ); >diff --git a/Koha/SearchEngine/QueryBuilderRole.pm b/Koha/SearchEngine/QueryBuilderRole.pm >index b768035..3c1c778 100644 >--- a/Koha/SearchEngine/QueryBuilderRole.pm >+++ b/Koha/SearchEngine/QueryBuilderRole.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::QueryBuilderRole; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > > requires 'build_query'; >diff --git a/Koha/SearchEngine/Search.pm b/Koha/SearchEngine/Search.pm >index 8d9b469..1a57887 100644 >--- a/Koha/SearchEngine/Search.pm >+++ b/Koha/SearchEngine/Search.pm >@@ -1,4 +1,22 @@ > package Koha::SearchEngine::Search; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > use C4::Context; > >diff --git a/Koha/SearchEngine/SearchRole.pm b/Koha/SearchEngine/SearchRole.pm >index 40a5c5b..bd15425 100644 >--- a/Koha/SearchEngine/SearchRole.pm >+++ b/Koha/SearchEngine/SearchRole.pm >@@ -1,4 +1,22 @@ > package Koha::SearchEngine::SearchRole; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > > requires 'search'; >diff --git a/Koha/SearchEngine/Solr.pm b/Koha/SearchEngine/Solr.pm >index 3d7041d..ecc9308 100644 >--- a/Koha/SearchEngine/Solr.pm >+++ b/Koha/SearchEngine/Solr.pm >@@ -1,4 +1,22 @@ > package Koha::SearchEngine::Solr; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > use Koha::SearchEngine::Config; > >diff --git a/Koha/SearchEngine/Solr/Config.pm b/Koha/SearchEngine/Solr/Config.pm >index 0162082..001169f 100644 >--- a/Koha/SearchEngine/Solr/Config.pm >+++ b/Koha/SearchEngine/Solr/Config.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::Solr::Config; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Modern::Perl; > use Moose::Role; > use YAML; >diff --git a/Koha/SearchEngine/Solr/FacetsBuilder.pm b/Koha/SearchEngine/Solr/FacetsBuilder.pm >index e8478a0..672072d 100644 >--- a/Koha/SearchEngine/Solr/FacetsBuilder.pm >+++ b/Koha/SearchEngine/Solr/FacetsBuilder.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::Solr::FacetsBuilder; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Modern::Perl; > use Moose::Role; > >diff --git a/Koha/SearchEngine/Solr/Index.pm b/Koha/SearchEngine/Solr/Index.pm >index e526f1e..f56dcfa 100644 >--- a/Koha/SearchEngine/Solr/Index.pm >+++ b/Koha/SearchEngine/Solr/Index.pm >@@ -1,4 +1,24 @@ > package Koha::SearchEngine::Solr::Index; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# Copyright 2012 C & P Bibliography Services >+# Copyright 2012 PTFS-Europe Ltd. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > with 'Koha::SearchEngine::IndexRole'; > >diff --git a/Koha/SearchEngine/Solr/QueryBuilder.pm b/Koha/SearchEngine/Solr/QueryBuilder.pm >index 414d1e1..b3e75c9 100644 >--- a/Koha/SearchEngine/Solr/QueryBuilder.pm >+++ b/Koha/SearchEngine/Solr/QueryBuilder.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::Solr::QueryBuilder; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Modern::Perl; > use Moose::Role; > >diff --git a/Koha/SearchEngine/Solr/Search.pm b/Koha/SearchEngine/Solr/Search.pm >index b177ca4..603c833 100644 >--- a/Koha/SearchEngine/Solr/Search.pm >+++ b/Koha/SearchEngine/Solr/Search.pm >@@ -1,4 +1,23 @@ > package Koha::SearchEngine::Solr::Search; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# Copyright 2012 KohaAloha >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > with 'Koha::SearchEngine::SearchRole'; > >diff --git a/Koha/SearchEngine/Zebra.pm b/Koha/SearchEngine/Zebra.pm >index 9071071..ffe18b8 100644 >--- a/Koha/SearchEngine/Zebra.pm >+++ b/Koha/SearchEngine/Zebra.pm >@@ -1,4 +1,22 @@ > package Koha::SearchEngine::Zebra; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose; > > extends 'Data::SearchEngine::Zebra'; >diff --git a/Koha/SearchEngine/Zebra/QueryBuilder.pm b/Koha/SearchEngine/Zebra/QueryBuilder.pm >index 50792a0..09a6d93 100644 >--- a/Koha/SearchEngine/Zebra/QueryBuilder.pm >+++ b/Koha/SearchEngine/Zebra/QueryBuilder.pm >@@ -1,5 +1,22 @@ > package Koha::SearchEngine::Zebra::QueryBuilder; > >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Modern::Perl; > use Moose::Role; > use C4::Search; >diff --git a/Koha/SearchEngine/Zebra/Search.pm b/Koha/SearchEngine/Zebra/Search.pm >index 0531ab9..3b736df 100644 >--- a/Koha/SearchEngine/Zebra/Search.pm >+++ b/Koha/SearchEngine/Zebra/Search.pm >@@ -1,4 +1,22 @@ > package Koha::SearchEngine::Zebra::Search; >+ >+# This file is part of Koha. >+# >+# Copyright 2012 BibLibre >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ > use Moose::Role; > with 'Koha::SearchEngine::SearchRole'; > >-- >1.8.1.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11015
:
21868
|
21889
|
22193