Hi, On Fri, 1 Jun 2007, Duncan Mac-Vicar Prett wrote:
After discovering .repo files can have more than one base-url , that means we can't use the url as the identifier of a source, to build a run-time relation ship between the known sources list and the cached source in the database.
As the .repo files force you to define a [section] alias per source, I think we should rely on each repo having a unique string id.
Other attributes can be used as fallbacks, for example, if the alias is not supplied, the url can be used as an alias too.
What do you think?
Does the identifier of .repo files (for which base-url is impossible) have to be human readable? If not you simply could use the MD5 sum of it. Or is it required that the identifier remains the same over changes of the .repo file? In that case you indeed have not many other choices than to rely on something the author of the .repo files writes. That of course has a high propability that people just copy .repo files from each other, and only change the URLs, but not the [section] alias :-/ Ciao, Michael. -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org