On Nov 17, 2007 9:45 AM, Xavier <shiningxc@gmail.com> wrote:
On Sat, Nov 17, 2007 at 03:04:04PM +0100, Nagy Gabor wrote:
Hmm. Good catch. However, personally I would clean-up libalpm instead of the front-end. The front-end should know what he wants. In the future we may add -Sg -S'provision' options and so on. In other words, the backend should be as much flexible as possible. Thus I'd prefer the following: method 1.: add sync_addtargetpkg, sync_addtargetgrp and so on to libalpm method 2.: keep the current method, but give an option to front-end (through trans flags) to tell libalpm what he wants. Bye
Hmm ok, I'll hold this one then. It's indeed related to the Sg patch I started to write. But I couldn't find anything that satisfied me. Maybe considering to change the backend will help.
Because this removes currently dead code, I'm going to merge it for now. I do agree with Nagy's sentiment that in the future we should ensure the frontend does have flexibility to do what they wish to do. Of course, I hate trans flags as well... -Dan