Bug 1870320

Summary: Document how to search for packages
Product: [Community] Copr Reporter: Orion Poplawski <orion>
Component: frontendAssignee: Jakub Kadlčík <jkadlcik>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: msuchy, praiskup, robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-16 19:18:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2020-08-19 18:13:10 UTC
Description of problem:

It would be very helpful to be able to search for COPRs based on what packages they provide.  For example I would really like to know any COPRs that provide libgnomeui-devel for CentOS 8 x86_64.

Comment 1 Miroslav Suchý 2020-08-21 14:05:07 UTC
You can search using SRPM:
  https://copr.fedorainfracloud.org/coprs/fulltext/?fulltext=libgnomeui

Comment 2 Orion Poplawski 2020-08-21 15:09:50 UTC
Thanks.  That's not immediately obvious, and I'm guessing it searches for more than just srpm names.  But it does solve this immediate question.

Comment 3 Pavel Raiskup 2020-12-14 15:00:03 UTC
We should at least document this in FAQ (what are the full text search parameters,
what we search for/in, etc).

There's https://pagure.io/copr/copr/issue/1411 which could give us some space for
a better full text search implementation.  But that would be a low priority rfe.

Comment 4 Pavel Raiskup 2021-10-11 08:00:17 UTC
Jakub is working on:
https://pagure.io/copr/copr/pull-request/1920

Jakube, while on it, can you please take care of documentation if needed?
E.g. if some of the arguments aren't obvious from the UI directly...

Comment 5 Robin Lee 2021-11-16 07:48:51 UTC
And please add or document how to search by exact match. It is hard to find for a package with a short name, for example, "mock".

Comment 6 Jakub Kadlčík 2021-12-23 19:21:44 UTC
Modified in https://pagure.io/copr/copr/pull-request/2022

> And please add or document how to search by exact match.

However, I don't think this is possible.

Comment 7 Pavel Raiskup 2021-12-23 21:39:39 UTC
(In reply to Jakub Kadlčík from comment #6)
> Modified in https://pagure.io/copr/copr/pull-request/2022
> 
> > And please add or document how to search by exact match.
> 
> However, I don't think this is possible.

There's this RFE, though: https://pagure.io/copr/copr/issue/1947

Comment 8 Pavel Raiskup 2022-08-16 13:07:43 UTC
I'm not sure, what is the state of this bug?  Can we close since we added the needed documentation?

Comment 9 Orion Poplawski 2022-08-16 19:18:08 UTC
https://docs.pagure.org/copr.copr/user_documentation.html#advanced-searching works for me.  Thanks.