this is a request for API to quickly check whether there are new metadata avaialble on the mirrors. Use case: there are metadata in the local cache synchronized 25 hours ago. The local policy says these are considered expired after 24 hours. With metalink repos, this doesn't necessarily mean we need to download repomd.xml or other metadata, we should just be able to compare checksums of the current repomd.xml to the checksum of the remote repomd.xml indicated in the metalink itself. Thus only the metalink needs to be refreshed. The most practical approach in the librepo API I can think of would be to let librepo explicitly download and parse the metalink *only*. The client code can then decide what action will follow.
Hi, I've implemented new LRI_METALINK option which does exactly what you've specified. https://github.com/Tojaj/librepo/commit/68ca4e59825c72164cfad0c984e734adb9c65de5
librepo-0.0.2-3.20130408git720d68d.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/librepo-0.0.2-3.20130408git720d68d.fc19
librepo-0.0.2-3.20130408git720d68d.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.