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
Created attachment 15953 [details]
Created attachment 15954 [details]
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.
anyway, I think we should include this patch :)
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
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.
Created attachment 16016 [details]
fixes the bug
Forward duping this on bug 83371, the speed up is via a different db backend.
Beyond that, re-open a seperate bug with the portage-editor if you still are looking for it inclussion
*** This bug has been marked as a duplicate of 83371 ***