On Jan 27, 2008 4:59 AM, Xavier <shiningxc@gmail.com> wrote:
Why are there so many files there : http://projects.archlinux.org/git/?p=dbscripts.git;a=tree
pkgdb, pkgdb1, pkgdb2-add.c, pkgdb2-del.c, pkgdb2.c, updatesync-many. These names don't really speak to me. Is updatesync-many the only one developers use directly? And what are all the pkgdb* stuff for? Well, at least the three c programs seem to interact with the mysql database.
Erm... the DB scripts are both pacman related and website related. I don't even know if this conversation is valid on the pacman-dev list as only a small portion of what the do is related to pacman. CVS tagging, mysql access, and mirror locations are not really pacman-ish.
But that doesn't explain how all the scripts / programs interact together, and how hard it would be to make them use repo-add instead.
It's hard. These scripts suck and need a complete rewrite. I have it planned, and if you are interested, we could talk about it a bit off-list (as I said, it's not really pacman oriented. It might make more sense on the arch-dev-public list).