Mercurial > hg > soundsoftware-site
comparison lib/tasks/migrate_from_trac.rake @ 912:5e80956cc792 cannam_integration
Merge from branch "redmine-1.3"
author | Chris Cannam |
---|---|
date | Mon, 27 Feb 2012 13:53:18 +0000 |
parents | cd2282d2aa55 cbb26bc654de |
children | bb32da3bea34 |
comparison
equal
deleted
inserted
replaced
911:487d96eac004 | 912:5e80956cc792 |
---|---|
1 # redMine - project management software | 1 # Redmine - project management software |
2 # Copyright (C) 2006-2007 Jean-Philippe Lang | 2 # Copyright (C) 2006-2011 Jean-Philippe Lang |
3 # | 3 # |
4 # This program is free software; you can redistribute it and/or | 4 # This program is free software; you can redistribute it and/or |
5 # modify it under the terms of the GNU General Public License | 5 # modify it under the terms of the GNU General Public License |
6 # as published by the Free Software Foundation; either version 2 | 6 # as published by the Free Software Foundation; either version 2 |
7 # of the License, or (at your option) any later version. | 7 # of the License, or (at your option) any later version. |
756 prompt('Trac database password') {|password| TracMigrate.set_trac_db_password password} | 756 prompt('Trac database password') {|password| TracMigrate.set_trac_db_password password} |
757 end | 757 end |
758 prompt('Trac database encoding', :default => 'UTF-8') {|encoding| TracMigrate.encoding encoding} | 758 prompt('Trac database encoding', :default => 'UTF-8') {|encoding| TracMigrate.encoding encoding} |
759 prompt('Target project identifier') {|identifier| TracMigrate.target_project_identifier identifier} | 759 prompt('Target project identifier') {|identifier| TracMigrate.target_project_identifier identifier} |
760 puts | 760 puts |
761 | 761 |
762 # Turn off email notifications | 762 # Turn off email notifications |
763 Setting.notified_events = [] | 763 Setting.notified_events = [] |
764 | 764 |
765 TracMigrate.migrate | 765 TracMigrate.migrate |
766 end | 766 end |
767 end | 767 end |
768 | 768 |