Project

General

Profile

Actions

Bug #25380

closed

DRY up applicability methods in content facet

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

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

Description

Look at the applicability related methods https://github.com/Katello/katello/blob/master/app/models/katello/host/content_facet.rb
  • insert_rpm_applicability
  • remove_rpm_applicability
  • applicable_rpm_differences
  • import_rpm_applicability

These are identical to

  • insert_errata_applicability
  • remove_errata_applicability
  • applicable_errata_differences
  • import_errata_applicability
And soon we'll have
  • insert_module_stream_applicability
  • remove_module_stream_applicability
  • applicable_module_stream_differences
  • import_module_stream_applicability

We would need to DRY this up

Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7810 added
Actions #2

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Justin Sherrill over 5 years ago

  • Target version set to Katello 3.10.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF