[pacman-dev] [PATCH 3/3] Add testdb util for finding inconsistencies in the database.
shiningxc at gmail.com
Sat Sep 1 04:15:17 EDT 2007
On Sat, Sep 01, 2007 at 02:15:36AM +0200, VMiklos wrote:
> Na Sun, Aug 26, 2007 at 02:53:54AM +0200, Chantry Xavier <shiningxc at gmail.com> pisal(a):
> > Signed-off-by: Chantry Xavier <shiningxc at gmail.com>
> > ---
> > src/util/.gitignore | 1 +
> > src/util/Makefile.am | 5 +-
> > src/util/testdb.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++
> > 3 files changed, 194 insertions(+), 1 deletions(-)
> > create mode 100644 src/util/testdb.c
> why this is good when there is already a -Qt? or if this is better, why
> not improve it?
Qt is a low level database check, it only checks for existence of the files
(desc, depends, files) in the database.
I wanted to keep this check, and add more high level database check,
ie checking for missing dependencies, and missing or extra requiredby.
I don't know where this belongs, I originally wanted to extend Qt on libalpm,
but finally I decided to move it to an external tool.
If no one likes this idea, I can change it :)
> > + * Copyright (c) 2007 by Aaron Griffin <aaronmgriffin at gmail.com>
> /me wonders why this differs from the signed-off-by name + email..
Oh right, I didn't pay attention to this, I just copied testpkg.c and edited
I'm not sure how bad that is..
More information about the pacman-dev