fedora-infra / fedora-packages

A webapp that allows searching packages in Fedora. Written in Python using TurboGears2 and Moksha.
https://apps.fedoraproject.org/packages
GNU Affero General Public License v3.0
58 stars 59 forks source link

Some packages can't be discovered #432

Open jkonecny12 opened 4 years ago

jkonecny12 commented 4 years ago

Hello everyone,

I wanted to look on kakoune package for versions but I had no luck with fedora packages site. Could you please look on what the problem is?

https://apps.fedoraproject.org/packages/s/kakoune

cverna commented 4 years ago

I am trying to run the indexing, it has been failing a lot recently due to threads loosing connections with mdapi.fedoraproject.org.

Let's see if we can get it to work :smile:

maflcko commented 4 years ago

Same for podman: https://duckduckgo.com/?q=fedora+podman+package&t=ffab&ia=web

richardfearn commented 4 years ago

Also a few more:

richardfearn commented 4 years ago

411 has some useful information - links to mdapi for example.

As a test I tried https://mdapi.fedoraproject.org/rawhide/srcpkg/clide, and it is there.

chkr-private commented 4 years ago

Same for scummvm: https://apps.fedoraproject.org/packages/s/scummvm

eclipseo commented 4 years ago

Same for Rclone https://apps.fedoraproject.org/packages/s/rclone

jkonecny12 commented 4 years ago

Also packit https://apps.fedoraproject.org/packages/s/packit

cverna commented 4 years ago

I ll try to run another indexing but I do not guarantee the results will be better that what we have now :S

sergiomb2 commented 4 years ago

I ll try to run another indexing but I do not guarantee the results will be better that what we have now :S

I tested and worked , now seems have much less entries again ...

ferdnyc commented 4 years ago

I closed my dupe report #436, but the strange redirect I noted there seems significant:

$ curl https://apps.fedoraproject.org/packages/python-colorlog/bugs/all
<html>
 <head>
<script type="text/javascript" src="/packages/tw2/resources/tw2.jquery/static/jquery/1.7.1/jquery.js" ></script>

<script type="text/javascript" src="/packages/tw2/resources/moksha.wsgi.widgets.moksha_js/static/moksha.js" ></script>

<script type="text/javascript" src="/packages/tw2/resources/fedoracommunity.connectors.widgets.widgets/static/js/fcomm.js" ></script>
  <title>302 Found</title>
 </head>
 <body>
  <h1>302 Found</h1>
  The resource was found at <a href="http://localhost:10016/packages/s/python-colorlog">http://localhost:10016/packages/s/python-colorlog</a>;
you should be redirected automatically.

 </body>
</html>

...Redirect to localhost!? Even if that's just how Moksha expresses "No data found"... it should probably find a different way to say "No data found".

rugk commented 4 years ago

The search is totally broken and even when trying to access the links directly you are redirected to the search, i.e. the whole website is broken: https://apps.fedoraproject.org/packages/lollypop/ https://apps.fedoraproject.org/packages/dino

ferdnyc commented 4 years ago

The search is totally broken and even when trying to access the links directly you are redirected to the search, i.e. the whole website is broken:

Yeah, and it's especially unfortunate because all of the https://bugz.fedoraproject.org/ bug links in RPM metadata are redirected through apps.fedoraproject.org. Which means the bug lists are inaccessible for all of the missing packages.

ferdnyc commented 4 years ago

In fact, given the problem described in my previous comment, and since it seems this situation is not a short-term fix, is there any way requests to https://apps.fedoraproject.org/packages/s/packagename could just be blanket-redirected somewhere else? The simplest solution would be https://src.fedoraproject.org/rpms/packagename, which is better than nothing — and "nothing" is precisely what a lot of packages currently have.

I was just on a GitHub page for a GEdit plugin, and the "Fedora official repo" link went to https://apps.fedoraproject.org/packages/s/gedit-control-your-tabs ... which is currently absent.

There are a lot of links out there pointing to Fedora Packages listings, and it's a shame to leave them all in limbo the way they are right now.

jonasmalacofilho commented 4 years ago

One more:

richardfearn commented 4 years ago

From earlier comments, it doesn't sound like missing packages can be added individually, so there's probably not much point listing them in this issue :(

jkonecny12 commented 4 years ago

Even if they can't be added individually it makes a good testing sample to list them. Also shows how big the problem is.