[pacman-dev] [PATCH 3/3] Add testdb util for finding inconsistencies in the database.
Signed-off-by: Chantry Xavier <shiningxc@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
Hello, Na Sun, Aug 26, 2007 at 02:53:54AM +0200, Chantry Xavier <shiningxc@gmail.com> pisal(a):
Signed-off-by: Chantry Xavier <shiningxc@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?
+ * Copyright (c) 2007 by Aaron Griffin <aaronmgriffin@gmail.com>
/me wonders why this differs from the signed-off-by name + email.. thanks, - VMiklos
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@gmail.com> pisal(a):
Signed-off-by: Chantry Xavier <shiningxc@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@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 it :) I'm not sure how bad that is..
Hello, Na Sat, Sep 01, 2007 at 10:15:17AM +0200, Xavier <shiningxc@gmail.com> pisal(a):
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 :)
well, it's up to you, i would pot it to the Qt code for sure ;)
Oh right, I didn't pay attention to this, I just copied testpkg.c and edited it :) I'm not sure how bad that is..
i'm not smart enough to answer this legal question, just i wanted to ask if somebody is sure about if this is legal to do so. just it looked strange thanks, - VMiklos
well, it's up to you, i would pot it to the Qt code for sure ;) well, i'd prefer -Qtt ;-) Bye, ngaba
---------------------------------------------------- SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu This mail sent through IMP: http://horde.org/imp/
2007/9/1, Xavier <shiningxc@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@gmail.com> pisal(a):
Signed-off-by: Chantry Xavier <shiningxc@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 (Роман Кирилич)
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. ;-) +1 ;-)
---------------------------------------------------- SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu This mail sent through IMP: http://horde.org/imp/
participants (5)
-
Chantry Xavier
-
Nagy Gabor
-
Roman Kyrylych
-
VMiklos
-
Xavier