[Rpm-metadata] metadata script and sample

seth vidal skvidal at phy.duke.edu
Fri Oct 3 14:10:33 UTC 2003



> Hmmm, in rpm vocabulary pkgid is md5 digest of header+payload, yet you
> are using md5 digest of file. I'd sugeest either using same as rpm or 
> changing
> pkgid to some other name, confusion with common usage of "md5sum" is
> already bad enough.

I figured having the md5sum of the actual file would help to know if
your repository pkgs had been changed w/o an update to the metadata.


> I'd like to see tag names start with Uppercase, that's the convention
> that rpm follows, but I don't much give a sh*t.

I've never actually seen an xml file that contained an uppercase tag. It
seems stylistically wrong. :)

> I dunno why you want license and packager in depsolver metadata. i'd
> suggest dropping description too, summary might be useful however.

For being able to do searches on those fields.


> pkg color is union of filecolors, logical ly or all the files together.
> Doing logical and with 0x0f is probably wise for now too.

will look into it. Thanks.

-sv





More information about the Rpm-metadata mailing list