Project

General

Profile

Revision a5858c9b

Added by Partha Aji over 4 years ago

Fixes #22802 - Add 'skip' option to yum

Yum importer offers a "skip" option to skip certain unit types while
syncing (like rpms, drpms etc )
This commit is to make that available to katello and other projects

View differences:

lib/runcible/models/yum_importer.rb
8 8
      DOWNLOAD_BACKGROUND = 'background'.freeze
9 9
      DOWNLOAD_POLICIES = [DOWNLOAD_IMMEDIATE, DOWNLOAD_ON_DEMAND, DOWNLOAD_BACKGROUND].freeze
10 10

  
11
      attr_accessor 'download_policy'
11
      attr_accessor 'download_policy', 'type_skip_list'
12 12

  
13 13
      def id
14 14
        YumImporter::ID

Also available in: Unified diff