[softwaremgmt] proposal for server side solv files
Hi guys, here is the proposal: we put the .solv file in repodata/something.solv repomd.xml gets extra data: <data type="solv"> <location href="repodata/something.solv.gz"/> <checksum type="sha">eed8ddc83f767f5a959b29e3ec006f53a2ab871d</checksum> <timestamp>1205162318</timestamp> <open-checksum type="sha">e837550df577f334d03d71b4bb1218d6b533e1ae</open-checksum> </data> Advantages: - no need to re-sign the solv file. - we can add version and metadata in the same file. Version information could be stored as: <data type="solv" format-version="7" schema-version="3"> Cons: - need to modify createrepo, but we already do for patches, if we use createrepo. If not, this is not a cons. libzypp workflow: * when probing, probe first for type "solv" (becomes a new type of repos) * look for repomd.xml, * look if there are solv files * download and unpack * if there are not, fallback to yum (this needs to be evaluated wether it is easy). For CDs, we can put there a repodata/repomd.xml with the solv file information only. Opinions? Duncan -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Duncan Mac-Vicar Prett wrote:
Version information could be stored as: <data type="solv" format-version="7" schema-version="3">
OK if we want to extend the yum metadata schema. Otherwise we would need to store the version info into the solv files themselves and we would have it only after downloading/unpacking. I would prefer the former.
For CDs, we can put there a repodata/repomd.xml with the solv file information only.
This way we get a kind of yast/repo-md repo hibrid. Why not add the .solvs to the content file or to some other yast repo file? Or simply expect it somewhere (suse/setup/descr/?). jano -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
participants (2)
-
Duncan Mac-Vicar Prett
-
Jan Kupec