#24 Idea: Display package versions somewhere
Closed 3 years ago by lbrabec. Opened 3 years ago by churchyard.

There is a nice box at src.fp.o with package versions, for example:

https://src.fedoraproject.org/rpms/python-rpm-macros

png

Can we display this information in some non-disturbing way? Maybe as a tooltip near package name?

We might not need to display the information about version in testing, because we display bodhi updates.


Pending on apps.fedoraproject.org/packages/ being up. (I might end up using mdapi directly, just want to investigate using something more pleasant, like pkgwat.api)

Metadata Update from @frantisekz:
- Issue tagged with: Pending on others

3 years ago

Note that apps.fedoraproject.org/packages is notoriously known for missing packages.

Not only is apps.fedoraproject.org/packages often wrong, it's a tertiary source; definitely better to check mdapi directly. The further away you get from the true database, the more likely you'll find issues.

@qulogic sorry for letting this slip. Would you be willing/able to elaborate and/or point us to examples/relevant docs for using mdapi to get the relevant information? Thank you!

Ah, OK. For some reason I went straight to the git repo, and tried to make sense of that, while missing on the fact that it is a service to be used, well I guess that happens :) Thanks!

Metadata Update from @frantisekz:
- Issue untagged with: Pending on others

3 years ago

PR with fix for backend: https://pagure.io/fedora-qa/oraculum/pull-request/54#

FYI: I am using pagure's api ( https://src.fedoraproject.org/_dg/bodhi_updates/rpms/%s ) for this as I found mdapi contains pretty old information for some cases/packages (especially versions in updates). mdapi is used just for cases where pagure returns None for version in Fedora XX / stable.

Pending on frontend now...

Metadata Update from @frantisekz:
- Issue status updated to: Open (was: Closed)

3 years ago

Metadata Update from @frantisekz:
- Issue assigned to lbrabec

3 years ago

Package versions are now shown as tooltip, just hover over the package name:
png

Metadata Update from @lbrabec:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata
Attachments 1
png
Attached 3 years ago View Comment
Related Pull Requests
  • #54 Merged 3 years ago