Allow skipping label fetch

pull/6827/head
friflaj 14 years ago
parent b5cfc0ca99
commit 7a3515524e
  1. 3
      lib/tasks/install.rake

@ -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)

Loading…
Cancel
Save