Mailinglist Archive: zypp-devel (227 mails)

< Previous Next >
Re: [zypp-devel] selecting patches by issue
  • From: josef reidiner <jreidinger@xxxxxxx>
  • Date: Mon, 14 Apr 2008 14:04:55 +0200
  • Message-id: <48034867.803@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >