-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys,
First of all, thanks to everyone that sent me emails regarding the project, lot's of cool ideas, some of them regarding the database design are already implemented (special thanks to Mark gibson for the great tips). Now a quick status update, I won't have the time to do everything I wanted, as I already said, the priority is to have portage on postgres, populated with enough information that will allow not only searches but calculating dependencies. The search part was the easiest, and it's 99% complete, just needs some new stuff I want to include, like restrict the search to a category, license, etc. The hard part is the dependencies, which i'm having some problems parsing them, nothing I won't solve but takes time and patience, remember i'm not using any portage code itself, i'm rewriting everything from scratch. Now for the real reason of this email, there's something already for the brave to try, it's a small client that can do emerge -s and emerge -S to the postgres database. It's a very thin client, only needs pyopenssl because it uses ssl sockets to communicate. Oh, and as requested I made a small webpage so you guys can track changes with RSS, the homepage is located at http://mimosa.dei.uc.pt/portagedb and although it has little information yet, i'll add more as time goes by. For now if you guys want to try the client, just go to http://mimosa.dei.uc.pt/portagedb/browser/trunk/ download pdbclient.py, emerge pyopenssl (if you haven't already) and just execute like this: # python pdbclient.py -s pattern # python pdbclient.py -S pattern # python pdbclient.py -sS pattern Of course the first one searches the pattern for name, the second for description and the third for both. The little server is not ready for abuses, like patterns that break the sql query, so please although I know it's easy and fun to break the server, stay away of those proof of concept that i'm already aware of and do regular searches. And please report to here/email/website any problems you find. If you get a connection refused that means someone managed to kill the server, and I haven't done any code to ressurect it yet, so be gentle. Oh, the script will not work on non-gentoo boxes cause i'm using the output package of portage for the colors. Remember it's still a very alpha code. Also the database was updated about 7 hours ago, so you may not find the very latest packages there. Of course the source code is all there, anyone who wants to test it all feel free to do it, although it might be hard cause the script to create the postgres database is not complete yet, and there are some things needing an urgent clean. Regards, Ricardo Loureiro - -- http://pgp.dei.uc.pt:11371/pks/lookup?op=get&search=0x6B7C0EC0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDubgsJePPaWt8DsARArSUAJ41Wetk2unVWTrGgfofWYt3TbDArwCeJK0c Q9njjSMewcUj/jN2bhBQXys= =kG05 -----END PGP SIGNATURE----- -- [email protected] mailing list
