2023-11-26 14:07:17 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2007-09-02 08:08:10 +00:00
|
|
|
def deprecated_task(name, new_name)
|
2012-04-29 13:26:26 +00:00
|
|
|
task name=>new_name do
|
2007-09-02 08:08:10 +00:00
|
|
|
$stderr.puts "\nNote: The rake task #{name} has been deprecated, please use the replacement version #{new_name}"
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
deprecated_task :load_default_data, "redmine:load_default_data"
|
|
|
|
|
deprecated_task :migrate_from_mantis, "redmine:migrate_from_mantis"
|
|
|
|
|
deprecated_task :migrate_from_trac, "redmine:migrate_from_trac"
|
2012-04-25 17:17:49 +00:00
|
|
|
deprecated_task "db:migrate_plugins", "redmine:plugins:migrate"
|
2012-05-01 09:02:34 +00:00
|
|
|
deprecated_task "db:migrate:plugin", "redmine:plugins:migrate"
|
2012-05-12 07:48:21 +00:00
|
|
|
deprecated_task :generate_session_store, :generate_secret_token
|
2014-11-16 10:54:33 +00:00
|
|
|
deprecated_task "test:rdm_routing", "test:routing"
|