#249 PyCharm's official third-party repo doesn't have any appstream metadata, can't be found in gnome-software
Closed: Fixed 2 years ago by tpopela. Opened 2 years ago by kparal.

One of the four official third-party repositories in fedora-workstation-repositories package is /etc/yum.repos.d/_copr_phracek-PyCharm.repo. That repo contains pycharm-community package, however, it doesn't contain any appstream metadata. That means PyCharm can't be found and installed from gnome-software. It seems very weird that Workstation WG prominently offers a repo (in the gnome-initial-setup and in gnome-software->software repositories), which then "contains nothing" when searched from gnome-software. It might be confusing to users ("I enabled PyCharm repo, why can't I find it?") and it feels especially weird when it is contained in the official Workstation repositories (where gnome-software is the centerpiece of package management).

It seems either the repo should receive appstream metadata, or it should be dropped from the fedora-workstation-repositories package.


We'd previously identified this as a task as part of #105, but it makes sense to split it out into its own issue.

The action here would be to see what's being done for the Chrome repo and replicate it for the PyCharm one.

Any volunteers?

Metadata Update from @aday:
- Issue set to the milestone: Fedora 35

2 years ago

PyCharm is available in Flathub, so it could perhaps be easier to get it into the filtered list of Fedora flathub apps.

PyCharm is available in Flathub, so it could perhaps be easier to get it into the filtered list of Fedora flathub apps.

Good point. We added PyCharm to fedora-workstation-repositories (without noticing that it never worked) long before we were allowed to provide filtered flathub content. (In fact, F35 will be the first release with content from Flathub.)

(In fact, F35 will be the first release with content from Flathub.)

Please note that so far it seems it won't: https://bugzilla.redhat.com/show_bug.cgi?id=2011274

COPR repos need to have a flag set to generate AppStream repodata, or they won't do it. It used to be on by default, and then they made it optional, so legacy repos don't have it on until it's switched on.

@phracek said that he has that flag set for some time, so it's probably not it. @ngompa any other idea?

@ngompa The flag was set for a long time. I have already regenerated repositories.

Just for sure. In my upstream github repository there is a metadata file https://github.com/phracek/pycharm-community-edition/blob/master/pycharm-community.metainfo.xml.

Please check if there is something missing.

The problem in the pycharm packaging (in AppStream data) was identified in the COPR issue. @phracek is going to address it.

Metadata Update from @tpopela:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata