[pacman-dev] [patch] for resolvedeps + some notes

Xavier shiningxc at gmail.com
Mon Aug 13 13:04:52 EDT 2007

On Mon, Aug 13, 2007 at 03:28:43PM +0200, Nagy Gabor wrote:
> > I think it's always important to worry about getting clean and correct code
> > first, and then worry about performance later (while trying to keep the
> > first
> > two properties ;)).
> Hi!
> Well, the current code is clean and bugfree, however it is dummy. It cannot
> corrupt the db, because we do a checkdeps in sync_prepare before sync_commit, so
> that will result a dependency error if needed:
> 1. This can easily happen, because resolvedeps doesn't handle the backward
> (requiredby) dependencies...

Actually, I also wanted to ask about this.
Why is it needed to remove the requiredby handling just for resolvedeps?
If it isn't really needed, we could remove that requiredby arg of checkdeps.

More information about the pacman-dev mailing list