Feature #37729
openVersion option for deb filter rules
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
Updated by Quirin Pamp 3 months 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
Updated by Chris Roberts 2 days ago
- Target version changed from Katello 4.15.0 to Katello 4.16.0