Duncan Mac-Vicar Prett napsal(a):
Patches now have bugzilla and security metadata. I already added support for displaying them in the user interface. However I am thinking on zypper now.
An user may want to say zypper "install the fix for bugzlla 3223".
We have 2 ways to implement this, and I would like to hear your feedback:
- use the current metadata to search for the issue and mark packages for install. This will need some "look" code in each application.
Add to libzypp method which can install/uninstall query. something like in locks (addLock(query)) so install(query). frontend only fill query and send that want install result of it. So "look" code can be really short. Pepa
- Use the solver, and during parsing inject something like provides:fix(bugzilla:23444) when filling the repodata. Then applications could inject a requires in the solver fix(bugzilla:23444) and just solve. I dont't know the consequences of this. - Any other idea?
Duncan
-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org