Project

General

Profile

Actions

Bug #26478

closed

Remove dead code on pulp-2.19 upgrade

Added by Partha Aji over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

https://github.com/Katello/katello/blob/master/app/services/katello/pulp/repository.rb#L241-L252

        if content_type == ::Katello::Erratum::CONTENT_TYPE
          # copy the modules belonging to this errarta over (pulp 2.19 should handle this case out of the box)
          # remove this code after 2.19
          module_stream_ids = units.map do |erratum|
            erratum.module_stream_objects.map(&:pulp_id)
          end
          module_stream_ids.flatten!
          smart_proxy.pulp_api.extensions.module.copy(repo.pulp_id,
                                                      destination_repo.pulp_id,
                                                      ids: module_stream_ids,
                                                      override_config: override_config)
        end

Needs to get removed when pulp 2.19 upgrade happens

Actions #1

Updated by Jonathon Turel over 5 years ago

  • Target version set to Katello 3.12.0
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/8072 added
Actions #3

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF