[zypp-devel] .solv files
Hi, I noticed a new file type on mirrors, a repo.solv file. http://ftp.nux.ipb.pt/pub/dists/opensuse/repositories/Apache:/Modules/Apache... It turned up in the build service, but I assume it could also turn up in distro or update trees. I need to know how to handle these files and would appreciate some details about them. I suppose they should be treated like .xml files resp. .xml.gz files in the build service tree, because they are probably regenerated each time the repo metadata is recreated? It is explained here http://www.mirrorbrain.org/files/talks/download-infra.pdf (page 55) why this is important to know. Just a note: in general, it is very helpful to notify ftpadmin when new kind of content is created, since the content needs to be distributed appropriately. Things that you do at metadata level can have significant effects on our infrastructure and how it serves our users :-) Thanks, Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
Peter Poeml wrote:
Hi,
I noticed a new file type on mirrors, a repo.solv file. http://ftp.nux.ipb.pt/pub/dists/opensuse/repositories/Apache:/Modules/Apache...
Those are the internal libzypp representation of the solvable data. Once libzypp downloads the xml, It converts the data to that. The build service is generating them, but libzypp does not use them yet. In theory, it could check for the solv file and download it. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Hi, On Mon, 18 Aug 2008, Peter Poeml wrote:
I noticed a new file type on mirrors, a repo.solv file. http://ftp.nux.ipb.pt/pub/dists/opensuse/repositories/Apache:/Modules/Apache...
It turned up in the build service, but I assume it could also turn up in distro or update trees.
Eventually.
I need to know how to handle these files and would appreciate some details about them.
It's the binary equivalent of the XML and susetags files for the repository metadata used as the native data format of sat-solver. You can look at the content with dumpsolv from satsolver-tools. IIRC the current .solv files you see in repositories is generated by a quite old version of the tools that Adrian installed once on the build servers. Currently libzypp does _not_ try to download or look at these files. I.e. right now you don't need to handle them :-) Some features are still missing to make them safely and nicely usable. But yes, they are generated at the same time also the XML files are generated. In the future there will be several SOLV files, a base one, one for each language and possible one for filelists (i.e. similar to how currently there are multiple XML files for one repo). Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Hi Duncan and Micha, thanks for the details! I have configured the webserver so that it treats them like the .xml (and other) files now. Proxies have to revalidate those files so they don't serve stale copies. Thus, when libzypp eventually uses the files, we should be covered. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
participants (3)
-
Duncan Mac-Vicar Prett
-
Michael Matz
-
Peter Poeml