[pacman-dev] [PATCH 5/5] pacman/sync.c : remove duplicated fallback on providers.

Xavier shiningxc at gmail.com
Sat Nov 17 10:45:09 EST 2007


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.




More information about the pacman-dev mailing list