Mailinglist Archive: opensuse-softwaremgmt (14 mails)

< Previous Next >
[softwaremgmt] proposal for server side solv files
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Thu, 13 Mar 2008 19:11:31 +0100
  • Message-id: <47D96E53.7050106@xxxxxxx>

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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups