Duncan Mac-Vicar Prett schrieb:
Elmar Stellnberger wrote:
What about simply utilizing a previously unused rpm-tag to directly determine via the rpm-header where a package came from? Then we do not need to parse the whole history just for this purpose! I have had a look at all header entries and have found a promising up to now unused candidate: RPMTAG_SOURCE
For the future RPMTAG_SOURCE could carry the Buildservice-URL a package is provided via. SOURCE = http://download.opensuse.org/repositories/KDE:/Community/openSUSE_11.1
RPMTAG_DISTRIBUTION could then no longer be complicated with the info already present in RPMTAG_ARCH, but extended with a hint like Buildservice/Core:
How do you handle mirrors in this case?
For mirrors it should not return the mirror but rather the primary main repository the mirror mirrors. It is meant as classification scheme and besides this as opportunity to redownload the package rather than as historical download URI. Consequently we desire all packages from the same primary source to hold the same URI, even if all these packages have in deed been downloaded from different mirrors and even if the zypp source they have been obtained from has been renamed, removed and added multiple times (no history analysis can fully come up to this!). -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org