##// END OF EJS Templates
Trac importer improvements (by Mat Trudel):...
Trac importer improvements (by Mat Trudel): * better support for wiki internal links (still not perfect, but much improved) * support for unordered lists * support for most of trac's highlighting tags (underline, bold, etc) * import progress dots now flush to stdout on every dot, so the import doesn't look frozen * support for migration of multiple trac instances into a single Redmine install (as separate projects) git-svn-id: http://redmine.rubyforge.org/svn/trunk@931 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r741:e4f0864e3a7f
r918:3937caeb3c8f
Show More
migrate_plugins.rake
15 lines | 439 B | text/x-ruby | RubyLexer
/ lib / tasks / migrate_plugins.rake
namespace :db do
desc 'Migrates installed plugins.'
task :migrate_plugins => :environment do
if Rails.respond_to?('plugins')
Rails.plugins.each do |plugin|
next unless plugin.respond_to?('migrate')
puts "Migrating #{plugin.name}..."
plugin.migrate
end
else
puts "Undefined method plugins for Rails!"
puts "Make sure engines plugin is installed."
end
end
end