[Rpm-metadata] metadata list and discussion over tapas tonight

seth vidal skvidal at phy.duke.edu
Tue Aug 5 01:43:47 UTC 2003


Hi all,
 If you're getting this you've been force-subscribed to the rpm-metadata
format list. A list to discuss the data format for repositories of rpms.
If you don't know what I'm talking about then I did a really bad cut and
paste of your address :)

Tonight Adrian, Daniel, James, Jeff and I had dinner at a tapas place in
durham and tried to figure out some generals ideas of what we were
looking for based on the email I've been slowly collecting over the past
couple of weeks.

I took some notes and have some summaries:
We ended up coming close to something like the following - essentially
adrian's suggestion multiple xml files for the data describing the
following things:

distribution information: 
   which repositories/channels exist where and when they were last
updated, etc - useful for giving a place to look for the other files and
seeing what's changed, quickly.

package information not including file lists: 
   all the misc information considered important per package (to be
decided in terms of entries but it must include byte-ranges for the
headers per package) Should include almost complete file lists for
certain packages that can be 'whitelisted' in b/c they end up being used
in a file dependency in a large percentage of the time.

package filelists: complete file listings per package

obsoletes: listing of obsoletes tags - this could be alternatively
included in package information not including file lists, depends on
some more discussion - nothing too crazy.

to give a view of how they would be used:
you download the dist file to see what is there to look at and what's
changed since the last time you looked at the repository.
You look at the package data to get probably 90% of the dep resolution
data and the location of the package headers you might need
if your dep resolution STILL fails then you grab the complete file
listings to figure out what needs what. So you end up with 4 files
roughly and the harder the depresolution is the larger the files you
need to download to resolve.

So in the best and most common case you download the dist and packages
file and forget the file deps list.

Each of these files could be signed with a detached gpg sig for security
if you wanted w/o any trouble.

So now concerns:
1. proxy caches - will they cause byte-ranging to retch and die?
2. are there protocols that won't deal with byte-range requests that
would be useful.
3. xml versioning to make sure the format can be expanded w/o breaking
anyone's implementation.

So that's the gist of what we talked about. Please send in
objections/criticisms/etc.

If this seems workable to everyone and desirable then we have to get
down to more work:
- send in your list of things that should appear in the non-file
packages listing. What data from the header is critical/useful/desired.
- xml spec with places for versioning and extension as needed
- 'reference' implementation of this to show file sizes etc are
reasonable for what we're wanting.

how does that sound to everyone.

Anyway - the list is up and open - the archives are running, etc.

not searchable yet - but hell there is only one post :)
thanks,

-sv




More information about the Rpm-metadata mailing list