On 4/10/07, Duncan Mac-Vicar Prett
On Tuesday 10 April 2007 17:59:21 Francis Giannaros wrote:
And Guru, some OBS repos (KDE, XGL/Beryl etc) too. I think it's important since these repos often contain a lot of favourite applications (like Amarok, KDE upgrades, etc) which people are always excited about finding out the new features of with the latest versions.
We could introduce some kind of flags to let the user add metadata to the repo like "tell me if there are new packages" and "tell me if there are new patches", with update repos having the second one by default.
That way we could avoid loading factory into it.
Right now the only smartness checkpatches does to avoid restoring unneded sources is bool Source::hasResolvablesOfKind( const zypp::Resolvable::Kind &kind ) const;
which allows checkpatches to see if a source has patches, which is implemented only looking the index of a YUM repo, or false for SUSEtags repos.
Now we are doing the refactoring we could introduce flags and tags. The second to integrate with the build service tagging. Also rating.
Might be nice, but I'm wondering if it's overkill in this situation, and if it might require too much other code. Thing is, if you have a repo X which is set to notify on upgraded packages, can you override that setting? If so, you'd perhaps need to add an extra option somewhere in openseupdater to enable/disable that. Then, wouldn't the YaST installation source module require such an option, too? You'd get a lot more configurability this way, but I'm not sure that it's necessary. What's so bad about having repos like Factory tell you about upgraded packages, anyhow? Presumably people using factory will know not to update every single package every few hours, anyhow, right? -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org