summaryrefslogtreecommitdiff
path: root/lib/git/odb/db.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed odb from project, it is now used as a submodule named gitdb, which ↵Sebastian Thiel2010-06-121-341/+0
| | | | | | was added instead Adjusted all imports to deal with the changed package names
* Added basic channel implementation including testSebastian Thiel2010-06-051-6/+5
| | | | restructured odb tests, they are now in an own module to keep the modules small
* Removed compression flag from IStream and OStream types, as a valid object ↵Sebastian Thiel2010-06-051-5/+10
| | | | | | 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
* Fixed implementation after design change to deal with it - all tests run, ↵Sebastian Thiel2010-06-041-58/+58
| | | | but next there will have to be more through testing
* initial version of new odb design to facilitate a channel based ↵Sebastian Thiel2010-06-041-42/+72
| | | | multi-threading implementation of all odb functions
* db: implemented GitObjectDB using the git command to make sure we can lookup ↵Sebastian Thiel2010-06-041-2/+20
| | | | everything. Next is to implement pack-file reading, then alternates which should allow to resolve everything
* Fixed compatability issues with python 2.5, made sure all tests runSebastian Thiel2010-06-031-2/+2
|
* odb: fixed streamed decompression reader ( specific tests would still be ↵Sebastian Thiel2010-06-031-2/+2
| | | | missing ) and added performance tests which are extremely promising
* odb: implemented loose object streaming, which is impossible to do ↵Sebastian Thiel2010-06-031-51/+63
| | | | efficiently considering that it copies string buffers all the time
* added frame for object reading, including simple testSebastian Thiel2010-06-021-14/+62
|
* initial version of loose object writing and simple cached object lookup ↵Sebastian Thiel2010-06-021-24/+124
| | | | appears to be working
* Added first design and frame for object database. In a first step, loose ↵Sebastian Thiel2010-06-021-0/+129
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