Mercurial > hg > soundsoftware-site
comparison lib/tasks/migrate_from_trac.rake @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | 8661b858af72 |
children | 5e80956cc792 433d4f72a19b |
comparison
equal
deleted
inserted
replaced
908:c6c2cbd0afee | 909:cbb26bc654de |
---|---|
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 |