Mailinglist Archive: yast-devel (168 mails)
| < Previous | Next > |
Re: [yast-devel] Package selector (qt) now has unmaintained packages filter
- From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
- Date: Fri, 04 Apr 2008 11:58:08 +0200
- Message-id: <47F5FBB0.6000102@xxxxxxx>
Duncan Mac-Vicar Prett wrote:
However, we decided it is better to move this check to Selectable::isUnmaintained, so UIs get less code, and if we change the algorithm, everything is fine.
Duncan
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
As Michael corrected me, it is better to test for available packages being empty, as the candidate has different semantics for locked pacakges.
Just select packages from Repository @System, and then as a secondary filter select "Unmaintained", and you will see all packages not available in any repository, but installed.
In case Katarina or Ricardo want to mimic this, it is pretty easy, as once you have installed packages (either by status or from repo().isSystemRepo() ), you seect the ones whose selectable candidate is null. I think in the Qt selector it was like 7 lines of code.
Duncan
However, we decided it is better to move this check to Selectable::isUnmaintained, so UIs get less code, and if we change the algorithm, everything is fine.
Duncan
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
| < Previous | Next > |