Project

General

Profile

Actions

Bug #35290

closed

Katello rpm search via nvra also

Added by Pavel Moravec over 1 year ago. Updated over 1 year ago.

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

Description

Allow searching of RPM packages via NVRA also. That helps cases where filename does not follow NVRA pattern and thus nvra search fails to find the package.

Particular example (yet more confusing):

  1. rpm qp --queryformat '%{NAME}-{RELEASE}.%{ARCH}\n' ./google-chrome-stable_current_x86_64.rpm 2>/dev/null
    google-chrome-stable-103.0.5060.134-1.x86_64 #

searching "google-chrome-stable-103.0.5060.134-1.x86_64" fails. BUT, for the more confusion, searching "google-chrome-stable-103.0.5060.134-1" succeeds (as sourcerpm is google-chrome-stable-103.0.5060.134-1.src.rpm and scoped search checks sourcerpm but not nvra).

Actions #1

Updated by The Foreman Bot over 1 year ago

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

Updated by Partha Aji over 1 year ago

  • Target version set to Katello 4.6.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.7.0 added
Actions #4

Updated by Pavel Moravec over 1 year ago

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

Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/10255 added
Actions

Also available in: Atom PDF