Project

General

Profile

Actions

Feature #37729

closed

Version option for deb filter rules

Added by TJ Guthrie almost 2 years ago. Updated 10 months ago.

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

Description

Hello,

Please add the ability to filter deb packages by version in a content view, similar to the way rpms can be filtered by version.

Example RPM Filter:
Content => Content Views => [Select Content View] => Filters => Create Filter
Name = Whitelist
Content type = RPM
Select Include Filter
Create filter

Content => Content Views => [Select Content View] => Filters => Whitelist => Add RPM rule
RPM Name = emacs
Architecture = amd64
Version = Equal to
Version = 24.3-23.el7

When creating a filter rule for the deb content type the version option is not displayed, only the name and architecture fields are displayed.

Thanks,
TJ

Actions #1

Updated by Quirin Pamp almost 2 years ago ยท Edited

  • Triaged changed from No to Yes

This is a valid feature request. It would be a great feature to have, but there are some very significant technical hurdles to implementation, so there is no telling if and when this feature might land.

There was an effort at implementation some time back that ultimately failed to resolve/overcome the technical hurdles. From what I remember, the difficulty is that for this feature to have acceptable performance, it must be implemented on the DB-type level. And due to the nature of .deb Versions implementing a PostgreSQL extension that can correctly sort by .deb Version then requires root privileges during installation that the foreman-installer does not have. There may have been additional concerns about ensuring the correctness of the sorting algorithm. I don't remember all the details. There is a possibility we will eventually have another go at it, but not in the short term.

A somewhat related pulp_deb issue asking for the same DB functionality for the pulp_deb plugin: https://github.com/pulp/pulp_deb/issues/386

Actions #2

Updated by Chris Roberts over 1 year ago

  • Target version changed from Katello 4.15.0 to Katello 4.16.0
Actions #3

Updated by Quinn James over 1 year ago

  • Target version changed from Katello 4.16.0 to Katello 4.17.0

Moving to 4.17.0 due to 4.16.0 GA.

Actions #4

Updated by Pavan Soma Shekar about 1 year ago

  • Target version changed from Katello 4.17.0 to Katello 4.19.0
Actions #5

Updated by The Foreman Bot about 1 year ago

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

Updated by The Foreman Bot 10 months ago

  • Fixed in Releases Katello 4.19.0 added
Actions #7

Updated by Tobias Grigo 10 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF