OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/lib/tasks/deprecated_tasks.rake

8 lines
352 B

rule /^redmine:backlogs_plugin/ do |t|
task_name = t.name.split(':backlogs_plugin:').last
notice = "NOTICE: redmine:backlogs_plugin:#{task_name} is DEPRECATED. Use redmine:backlogs:#{task_name} instead."
puts "*".ljust(notice.length, "*")
puts notice
puts "*".ljust(notice.length, "*")
Rake::Task["redmine:backlogs:#{task_name}"].invoke
end