Re: Sourcegraph documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Dne 27. 09. 22 v 9:21 Vít Ondruch napsal(a):

Dne 26. 09. 22 v 22:20 Otto Liljalaakso napsal(a):
Robby Callicotte via devel kirjoitti 26.9.2022 klo 21.52:

I will also close https://bugzilla.redhat.com/show_bug.cgi?id=2129584 since this is already in ruby.  I simply did a search in src.fedoraproject.org and
did not see this package.  Sorry bout that.

Querying the repositories can be a complex task sometimes. Source and binary package names do not necessarily match, there can be multiple binary packages for one source package, and packages can also provide other things than their name.

In this case, a better query would have been e.g. 'dnf search rexml' or 'dnf repoquery --whatprovides 'rubygem(rexml)'.

On a different level, Sourcegraph is an effective way to query the package sources. For instance, just querying for string 'rexml' reveals that the package exists and that is comes from the 'ruby' source package:

https://sourcegraph.com/search?q=context:global+repo:%5Esrc%5C.fedoraproject%5C.org/rpms/.*%24+rexml&patternType=standard


Ah, this searches just the dist-git, not the expanded sources (not surprisingly, how would it work). In that case, this is might be better source:

http://pkgs.fedoraproject.org/repo/rpm-specs-latest.tar.xz

But it is admittedly harder to share a link to search results ;)


Vít



Actually, is the sourcegraph.com documented somewhere in some discoverable way? I know that we have this service, but my memory failed me in details last time  I tried to remember what was its name.

These Google queries do not help in my case:

https://www.google.com/search?q=fedora+source

https://www.google.com/search?q=fedora+source+code

https://www.google.com/search?q=fedora+expanded+source+code


This one would probably help:

https://www.google.com/search?q=fedora+source+search


But not sure if I'll be able to come up with the "search" next time. But is there any other place where this is documented except of the:

https://fedoramagazine.org/using-sourcegraph-to-search-34000-fedora-repositories/



Vít


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux