Re: adding more information to repo metadata

Paul Nasrat <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Mon, 2005-10-03 at 12:25 +0200, Florian La Roche wrote:

> Notes about the Repo-Metadata
> -----------------------------
> 
> The following things should be noted about the repo metadata. yum is using
> the repodata only within the resolver part, then downloads the rpm headers
> and passes all the headers on to rpmlib to verify again if the resolver
> of rpmlib is ok as well as doing e.g. the installation ordering part
> within rpmlib. If the repodata would be more complete, more steps could
> be done only based on the repodata being available:
> 
>  - Even if no epoch is specified, the metadata still specifies this as "0".
>    For most code paths this is no problem as for all comparisons of version
>    data, a missing epoch is the same as a "0" epoch. This should not be
>    a huge problem and would be only a cleanup item for the repodata.
>  - For dependency information the `flag` part is only partially copied into
>    the repodata. Just adding the `flag` information as integer would make
>    sure all information is present in any case. Extending the repodata to
>    have `intflag` added alongside the old information would be good.

Something like this makes sense for the work I'm looking at in anaconda
changes for FC5 - I'm a little unsure on the name - maybe "sense" would
be better.   

Do you currently have a patch for this?

Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.