OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
remove no longer applicable rubocop on codeclimate job
ulfertse085e6781f15
diff --git a/lib/tasks/dependencies.rake b/lib/tasks/dependencies.rakeindex 13f65a9da5a..758e5b382ee 100644--- a/lib/tasks/dependencies.rake+++ b/lib/tasks/dependencies.rake@@ -31,8 +31,7 @@ require 'open3'namespace :openproject donamespace :dependencies dodesc 'Updates everything that is updatable automatically especially dependencies'- task update: ['openproject:dependencies:update:gems',- 'openproject:dependencies:update:rubocop']+ task update: %w[openproject:dependencies:update:gems]namespace :update dodef parse_capture(capture, &block)@@ -74,30 +73,6 @@ namespace :openproject doendendend-- desc 'Update rubocop used on codeclimate to the extend supported'- task :rubocop do- out, _process = Open3.capture3('git',- 'ls-remote',- 'https://github.com/codeclimate/codeclimate-rubocop',- 'channel/rubocop*')-- parsed = parse_capture(out) do |line|- matches = line.match(/rubocop-(\d+)-(\d+)(?:-(\d+))?/).to_a-- # This version seems to have been a mistake- next if matches[0] == 'rubocop-1-70'-- matches[1..3].map(&:to_i) + [matches[0]]- end-- new_version = parsed.sort.pop.last-- Open3.capture3('sed', '-i.bak', "s/channel: rubocop[-0-9]*/channel: #{new_version}/", '.codeclimate.yml')- Open3.capture3('rm', '.codeclimate.yml.bak')- Open3.capture3('git', 'add', '.codeclimate.yml')- Open3.capture3('git', 'commit', '-m', "use #{new_version} on codeclimate")- endendendend