2007-09-02 12:08:10 +04:00
|
|
|
def deprecated_task(name, new_name)
|
2012-04-29 17:26:26 +04:00
|
|
|
task name=>new_name do
|
2007-09-02 12:08:10 +04: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 21:17:49 +04:00
|
|
|
deprecated_task "db:migrate_plugins", "redmine:plugins:migrate"
|
2012-05-01 13:02:34 +04:00
|
|
|
deprecated_task "db:migrate:plugin", "redmine:plugins:migrate"
|