[pacman-dev] [PATCH 3/3] Add testdb util for finding inconsistencies in the database.
roman.kyrylych at gmail.com
Tue Sep 11 03:51:30 EDT 2007
2007/9/1, Xavier <shiningxc at gmail.com>:
> On Sat, Sep 01, 2007 at 02:15:36AM +0200, VMiklos wrote:
> > Hello,
> > 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 :)
It doesn't matter much to me whether this code will be in libalpm or
in external script, but it definetely should go to git. ;-)
Roman Kyrylych (Роман Кирилич)
More information about the pacman-dev