|
|
|
@ -16,6 +16,8 @@ namespace :redmine do |
|
|
|
|
puts " Redmine Backlogs Installer" |
|
|
|
|
puts "=====================================================" |
|
|
|
|
puts "Installing to the #{ENV['RAILS_ENV']} environment." |
|
|
|
|
|
|
|
|
|
if ! ['no', 'false'].include?("#{ENV['labels']}".downcase) |
|
|
|
|
print "Fetching card labels from http://git.gnome.org..." |
|
|
|
|
STDOUT.flush |
|
|
|
|
begin |
|
|
|
@ -24,6 +26,7 @@ namespace :redmine do |
|
|
|
|
rescue Exception => fetch_error |
|
|
|
|
print "\nCard labels could not be fetched (#{fetch_error}). Please try again later. Proceeding anyway...\n" |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
trackers = Tracker.find(:all) |
|
|
|
|
|
|
|
|
|