|Summary:||fast-portage and editor|
|Product:||Portage Development||Reporter:||mathias stearn <mstearn>|
|Component:||Core||Assignee:||Portage team <dev-portage>|
|Package list:||Runtime testing required:||---|
fixes the bug
Description mathias stearn 2003-08-11 20:15:32 UTC
this is a speed enhanced portage that has a 2x speedup. It also includes a editor (which depends on PyQt) that will handle updateing the db. For more info, refer to the included readme.
Comment 3 Masatomo Nakano (RETIRED) 2003-08-12 16:04:14 UTC
hi I saw the source code and tested it(cdb) Then I like your patch because it's very simple and effective :) I have a question. In portdbapi.aux_get(), why are you omitting many code? And I found a little problem. - dbdir=settings["DBDIR"] + dbdir=settings["DBDIR"]+"/" anyway, I think we should include this patch :)
Comment 4 mathias stearn 2003-08-12 20:28:09 UTC
RE: #3 Actually, I just got back from a month long vacation, this is code that was written b4 then, so it is based off of 2.0.47-r1. While I was gone, I did some more work and brought it up to .47-r3. Unfortunately, Hotmail lost the file that i emailed my self :( so im waitng for the owner of the comp i used to reemail. As to your bug, thnx for pointing it out, ill be attaching a fixed tarball, with a more apropriate default directory (/var/db/cache). Also, I think the dict is the better option. It is easier to work with, and doesnt add any extra deps. The file is also guarenteed by pythin to be cross-platform, and I have no way of testing this with cdb. So far, the only reason cdb is still in there is becuase I didnt have the heart to delete a week's woth of work that is still working ;). It cauld also stand more testing to deturmine which is really fastest. My box is a 3gb p2 400 lappy, which i doubt is a typical gentoo box. Last thing, did you try out the ebuild editor/browser? It my first standalone python prog, so I wanna get some opinions. I also think it might be useful to some devs.