hughsie / appstream-glib

This library provides objects and helper methods to help reading and writing AppStream metadata.
GNU Lesser General Public License v2.1
65 stars 103 forks source link

Is Appstream-buider suitable to use with local mirror to make appstream metadata ? #473

Open Tuxman2 opened 1 year ago

Tuxman2 commented 1 year ago

Hello,

I created a local mirror on an external hard drive for Fedora 38. I do that because I want to install and make updates of sotware offline (without internet) under Gnome Software. But it is very difficult for me to use my local mirror with Gnome Software because Gnome Software use the appstream-metadata. So, I try to find a solution to use my local mirror with Gnome Software and it seems that I must download the appstream-metadata to be able to do what I want. I found this on the net : https://blogs.gnome.org/hughsie/2016/04/27/3rd-party-fedora-repositories-and-appstream/ but it is very old. Have you advice that can help me or maybe have you got a little tutorial that you can give to me ? Is your appstream-builder tool can be the solution for my issue ?

Thanks for your help.

hughsie commented 1 year ago

but it is very old

It's still valid, no?

Tuxman2 commented 1 year ago

Hello,

I don't know. The only thing I want to do is to use Gnome Software with my Fedora local mirror available on my external hard drive. But I don't know how to do that because Gnome Software use Appstream-metadata. I'm searching a tutorial or an easy solution who explains to me how to put it easily in place. When I read the explanation available in the link I gave above, I am lost.

So, that's why, I'm asking for your help. Have you got an idea ?

Thanks.

Regards.

!! News !! : I tried my local mirror with Gnome Software. Gnome Software saw the updates and offered to me to apply them via the updates button. I tried to install a software via the install button but nothing happened. I seem to have noticed repodata directories for my local mirror on the external hard drive. According to some information on the net, repoda directories contain metadata files. Maybe I should enable the enable_metadata=1 option in /etc/yum.repos.d/ in my mylocalmirror.repo file for each repository (Everything, updates, non free, free, ...) ?