Summary: | fast-portage and editor | ||
---|---|---|---|
Product: | Portage Development | Reporter: | mathias stearn <mstearn> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | radek |
Priority: | High | ||
Version: | 2.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
the tarball
the tarball fixes the bug |
Description
mathias stearn
2003-08-11 20:15:32 UTC
Created attachment 15953 [details]
the tarball
Created attachment 15954 [details]
the tarball
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 :) 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. Created attachment 16016 [details]
fixes the bug
|