aboutsummaryrefslogtreecommitdiff
path: root/lib/git/odb
AgeCommit message (Collapse)Author
2010-06-12Removed odb from project, it is now used as a submodule named gitdb, which ↵Sebastian Thiel
was added instead Adjusted all imports to deal with the changed package names
2010-06-05Moved multiprocessing modules into own package, as they in fact have nothing ↵Sebastian Thiel
to do with the object db. If that really works the way I want, it will become an own project, called async
2010-06-05Initial pool design added, allowing for lazy channel based evaluation of ↵Sebastian Thiel
inter-dependent tasks
2010-06-05A code donation: Donating a worker thread implementation inclduding tests to ↵Sebastian Thiel
Git-Python. I have the feeling it can do much good here :)
2010-06-05Added basic channel implementation including testSebastian Thiel
restructured odb tests, they are now in an own module to keep the modules small
2010-06-05Removed compression flag from IStream and OStream types, as a valid object ↵Sebastian Thiel
will always be compressed if generated by the system ( even future memory db's will compress it ) loose db: implemented direct stream copy, indicated by a sha set in the IStream, including test. This will be the case once Packs are exploded for instance
2010-06-04Implemented stream tests, found a bug on the way, slowly a test-framework ↵Sebastian Thiel
for streams starts to show up, but its not yet there
2010-06-04Fixed implementation after design change to deal with it - all tests run, ↵Sebastian Thiel
but next there will have to be more through testing
2010-06-04initial version of new odb design to facilitate a channel based ↵Sebastian Thiel
multi-threading implementation of all odb functions
2010-06-04db: implemented GitObjectDB using the git command to make sure we can lookup ↵Sebastian Thiel
everything. Next is to implement pack-file reading, then alternates which should allow to resolve everything
2010-06-03Fixed compatability issues with python 2.5, made sure all tests runSebastian Thiel
2010-06-03commit.create_from_tree now uses pure python implementation, fixed message ↵Sebastian Thiel
parsing which truncated newlines although it was ilegitimate. Its up to the reader to truncate therse, nowhere in the git code I could find anyone adding newlines to commits where it is written Added performance tests for serialization, it does about 5k commits per second if writing to tmpfs
2010-06-03Added performance comparison to cgit ... and yes, git-python is faster :)Sebastian Thiel
2010-06-03odb: fixed streamed decompression reader ( specific tests would still be ↵Sebastian Thiel
missing ) and added performance tests which are extremely promising
2010-06-03odb: implemented loose object streaming, which is impossible to do ↵Sebastian Thiel
efficiently considering that it copies string buffers all the time
2010-06-02added frame for object reading, including simple testSebastian Thiel
2010-06-02initial version of loose object writing and simple cached object lookup ↵Sebastian Thiel
appears to be working
2010-06-02Added first design and frame for object database. In a first step, loose ↵Sebastian Thiel
objects will be written using our utilities, and certain object retrieval functionality moves into the GitObjectDatabase which is used by the repo instance Added performance test for object database access, which shows quite respectable tree parsing performance, and okay blob access. Nonetheless, it will be hard to beat the c performance using a pure python implementation, but it can be a nice practice to write it anyway to allow more direct pack manipulations. Some could benefit from the ability to write packs as these can serve as local cache if alternates are used