diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-26 14:07:17 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-26 14:07:17 +0000 |
commit | 8a1bff856f24ad268f4220137794688a71f2c688 (patch) | |
tree | ec4f66310f37cfad6dfaa7bbf384d216941d3303 /lib/tasks | |
parent | 10d667f6dd49dd15ff967843b27d90d7b3c3b268 (diff) | |
download | redmine-8a1bff856f24ad268f4220137794688a71f2c688.tar.gz redmine-8a1bff856f24ad268f4220137794688a71f2c688.zip |
Add missing copyrights (#37730).
Patch by Karel Pičman.
git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/ci.rake | 17 | ||||
-rw-r--r-- | lib/tasks/deprecated.rake | 17 | ||||
-rw-r--r-- | lib/tasks/extract_fixtures.rake | 17 | ||||
-rw-r--r-- | lib/tasks/initializers.rake | 17 | ||||
-rw-r--r-- | lib/tasks/load_default_data.rake | 17 | ||||
-rw-r--r-- | lib/tasks/locales.rake | 17 | ||||
-rw-r--r-- | lib/tasks/metrics.rake | 17 | ||||
-rw-r--r-- | lib/tasks/permissions.rake | 17 | ||||
-rw-r--r-- | lib/tasks/testing.rake | 17 | ||||
-rw-r--r-- | lib/tasks/yardoc.rake | 17 |
10 files changed, 170 insertions, 0 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 9800c226e..0257fd2f6 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + desc "Run the Continuous Integration tests for Redmine" task :ci do # RAILS_ENV and ENV[] can diverge so force them both to test diff --git a/lib/tasks/deprecated.rake b/lib/tasks/deprecated.rake index c62579d0a..b4b21059c 100644 --- a/lib/tasks/deprecated.rake +++ b/lib/tasks/deprecated.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + def deprecated_task(name, new_name) task name=>new_name do $stderr.puts "\nNote: The rake task #{name} has been deprecated, please use the replacement version #{new_name}" diff --git a/lib/tasks/extract_fixtures.rake b/lib/tasks/extract_fixtures.rake index 65f529315..b53c3e95f 100644 --- a/lib/tasks/extract_fixtures.rake +++ b/lib/tasks/extract_fixtures.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + desc 'Create YAML test fixtures from data in an existing database. Defaults to development database. Set RAILS_ENV to override.' diff --git a/lib/tasks/initializers.rake b/lib/tasks/initializers.rake index 564fbff9f..2de4e9b42 100644 --- a/lib/tasks/initializers.rake +++ b/lib/tasks/initializers.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + desc 'Generates a secret token for the application.' file 'config/initializers/secret_token.rb' do diff --git a/lib/tasks/load_default_data.rake b/lib/tasks/load_default_data.rake index cc6774bce..8f4d7ab10 100644 --- a/lib/tasks/load_default_data.rake +++ b/lib/tasks/load_default_data.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + desc 'Load Redmine default configuration data. Language is chosen interactively or by setting REDMINE_LANG environment variable.' namespace :redmine do diff --git a/lib/tasks/locales.rake b/lib/tasks/locales.rake index 87295c31e..1b56e68a7 100644 --- a/lib/tasks/locales.rake +++ b/lib/tasks/locales.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + desc 'Updates and checks locales against en.yml' task :locales do %w(locales:update locales:check_interpolation).collect do |task| diff --git a/lib/tasks/metrics.rake b/lib/tasks/metrics.rake index 214cc996e..059e8ba7a 100644 --- a/lib/tasks/metrics.rake +++ b/lib/tasks/metrics.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + begin require 'metric_fu' rescue LoadError diff --git a/lib/tasks/permissions.rake b/lib/tasks/permissions.rake index 3ed53f1f1..b2befce60 100644 --- a/lib/tasks/permissions.rake +++ b/lib/tasks/permissions.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + namespace :redmine do desc "List all permissions and the actions registered with them" task :permissions => :environment do diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 3088a4c2d..1961ff688 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + namespace :test do desc 'Measures test coverage' task :coverage do diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake index efa05fd1f..9778d2abe 100644 --- a/lib/tasks/yardoc.rake +++ b/lib/tasks/yardoc.rake @@ -1,3 +1,20 @@ +# Redmine - project management software +# Copyright (C) 2006-2023 Jean-Philippe Lang +# +# This program 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 2 +# of the License, or (at your option) any later version. +# +# This program 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 this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + begin require 'yard' |