Sha256: 2dbac8568ca02fb0c620bc01f49fa8f3cc47caedc534ac17d1110cce9896c5d4

Contents?: true

Size: 483 Bytes

Versions: 21

Compression:

Stored size: 483 Bytes

Contents

#!/usr/bin/env ruby

require 'yaml'
require_relative '../lib/gitlab/triage/option_parser'
require_relative '../lib/gitlab/triage/engine'

options = Gitlab::Triage::OptionParser.parse(ARGV)
options.policies_files << '.triage-policies.yml' if options.policies_files.empty?

options.policies_files.each do |policies_file|
  policies = HashWithIndifferentAccess.new(YAML.load_file(policies_file))

  Gitlab::Triage::Engine
    .new(policies: policies, options: options)
    .perform
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gitlab-triage-1.16.0 bin/gitlab-triage
gitlab-triage-1.15.0 bin/gitlab-triage
gitlab-triage-1.14.3 bin/gitlab-triage
gitlab-triage-1.14.2 bin/gitlab-triage
gitlab-triage-1.14.1 bin/gitlab-triage
gitlab-triage-1.14.0 bin/gitlab-triage
gitlab-triage-1.13.0 bin/gitlab-triage
gitlab-triage-1.12.0 bin/gitlab-triage
gitlab-triage-1.11.0 bin/gitlab-triage
gitlab-triage-1.10.1 bin/gitlab-triage
gitlab-triage-1.10.0 bin/gitlab-triage
gitlab-triage-1.9.0 bin/gitlab-triage
gitlab-triage-1.8.0 bin/gitlab-triage
gitlab-triage-1.7.1 bin/gitlab-triage
gitlab-triage-1.7.0 bin/gitlab-triage
gitlab-triage-1.6.1 bin/gitlab-triage
gitlab-triage-1.6.0 bin/gitlab-triage
gitlab-triage-1.5.1 bin/gitlab-triage
gitlab-triage-1.5.0 bin/gitlab-triage
gitlab-triage-1.4.2 bin/gitlab-triage