[pacman-dev] Another idea
shiningxc at gmail.com
Thu Jan 15 16:30:12 EST 2009
On Thu, Jan 15, 2009 at 10:08 PM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
>> Hey all. I've been thinking about my patches and the concerns that
>> list members have had about them and I've come up with a different
>> way of accomplishing the same thing that may be more palatable:
>> - Modify the signature of deps.c:_alpm_resolvedeps so that it takes,
>> instead of a list of packages to resolve, a single package. It would
>> return 0 if the resolve succeeded, 1 if the resolve failed, and would
>> additionally return a list of dependencies that this package needs
>> for this sync. In the parlance of _alpm_resolvedeps, it would return
>> the 'pulled' list. _alpm_resolvedeps would, just as it does now,
>> fail immediately when it encountered an unresolvable dependency, and
>> would not require the graph structure to keep track of dependents.
>> It would be a much simpler change to _alpm_resolvedeps.
> This is a good idea imho.
It sounds good, but isn't it a bit a step backward after this :
However, we were not considering this new behavior in case of
unresolvable dependency back then.
More information about the pacman-dev