Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved all contents, incl. submodule gitdb, up to the root directory | Sebastian Thiel | 2010-11-21 | 1 | -280/+0 |
| | |||||
* | Fixed all imports, refactoring appears to be complete | Sebastian Thiel | 2010-11-18 | 1 | -1/+1 |
| | |||||
* | win32 compatability adjustments | unknown | 2010-07-02 | 1 | -6/+5 |
| | |||||
* | Renamed modules utils to util, and errors to exc to be more conforming to ↵ | Sebastian Thiel | 2010-06-29 | 1 | -3/+3 |
| | | | | the submodules's naming conventions | ||||
* | Updated and fixed sphinx API docs, which included one quick skim-through | Sebastian Thiel | 2010-06-29 | 1 | -6/+8 |
| | |||||
* | All tests adjusted to work with the changed internal sha representation | Sebastian Thiel | 2010-06-28 | 1 | -3/+6 |
| | |||||
* | Adjusted all files to (hopefully) deal with the fact that all objects now ↵ | Sebastian Thiel | 2010-06-25 | 1 | -52/+23 |
| | | | | | | | use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though | ||||
* | index.write_tree: initial version implemented, although its not yet working ↵ | Sebastian Thiel | 2010-06-22 | 1 | -93/+28 |
| | | | | | | | correctly, a test to explicitly compare the git version with the python implementation is still missing Tree and Index internally use 20 byte shas, converting them only as needed to reduce memory footprint and processing time objects: started own 'fun' module containing the most important tree functions, more are likely to be added soon | ||||
* | index: Entries are now using flags internally, instead of reducing the flag ↵ | Sebastian Thiel | 2010-06-21 | 1 | -1/+1 |
| | | | | information to just the stage ( just to be closer to the git-original ) | ||||
* | tree: added TreeModifier, allowing to adjust existing trees safely and or ↵ | Sebastian Thiel | 2010-06-14 | 1 | -9/+91 |
| | | | | fast, while staying compatible with serialization which requires it to be sorted | ||||
* | tree now uses less memory for its cache as it stores the bare deserialized ↵ | Sebastian Thiel | 2010-06-14 | 1 | -55/+63 |
| | | | | information - this also speeds up later serialization after changes. its clear though that retrieving actual objects is slower currently as these are not cached anymore. Its worth thinking about moving these encoding, decoding routines to gitdb | ||||
* | Implemented initial version of tree serialization which appears to work ↵ | Sebastian Thiel | 2010-06-14 | 1 | -235/+266 |
| | | | | | | | according to a simple test ( presort still needs implementation ) submodule: added stub to allow the tree to return something, its not implemented though | ||||
* | commit: refactored existing code to decode commits from streams - ↵ | Sebastian Thiel | 2010-06-02 | 1 | -1/+1 |
| | | | | | | | performance is slightly better git.cmd: added method to provide access to the content stream directly. This is more efficient if large objects are handled, if it is actually used test.helpers: removed unnecessary code | ||||
* | TODO: Removed all entries but left a mesage about where to find the issuee ↵ | Sebastian Thiel | 2010-05-04 | 1 | -1/+1 |
| | | | | | | | on lighthouse. README/intro.rst: added information about the new repository at github tree: added marker to indicate that submodules would have to be returned there | ||||
* | Converted all tabs to 4 space characters each to comply with pep8 | Sebastian Thiel | 2010-03-04 | 1 | -227/+227 |
| | |||||
* | git.Tree: Fixed critical issue when reading trees from binary data. The ↵ | Sebastian Thiel | 2010-02-24 | 1 | -8/+6 |
| | | | | previous version was making assumptions that would only be true for old git repositories it sesms. The new version of the algorithm deals with this gracefully. | ||||
* | tree: implemented recursive paths in __div__ and __getitem__ method, ↵ | Sebastian Thiel | 2009-12-30 | 1 | -6/+27 |
| | | | | allowing the keys to contain slashes; adjusted test to check for this | ||||
* | Fixed issue with commit traversal due to missing visit_once in the traversal ↵ | Sebastian Thiel | 2009-11-27 | 1 | -0/+8 |
| | | | | method, improved code performance by disabling the visit-once flag by default for trees, which by nature are not recursive | ||||
* | tree: added traversal method, adjusted tests | Sebastian Thiel | 2009-11-26 | 1 | -40/+10 |
| | | | | Fixed critical bug in object code: IndexObjects now use their path as hashkey, not the data\! | ||||
* | objects.utils: Added Traversable base and implemented it for commits ↵ | Sebastian Thiel | 2009-11-26 | 1 | -0/+1 |
| | | | | including a test | ||||
* | Added utilities helping to create proper paths either with slashes or ↵ | Sebastian Thiel | 2009-11-05 | 1 | -1/+2 |
| | | | | | | | backslashes depending on the operating system fixed test_refs and test_trees Many more issues remain though, this is just a first backup commit | ||||
* | Improved cmd error handling in case an invalid revision is specified for an ↵ | Sebastian Thiel | 2009-11-04 | 1 | -1/+1 |
| | | | | | | object repo.tree: improved to be less restricting | ||||
* | IndexObject: assured that .path fields are relative to the repository ( ↵ | Sebastian Thiel | 2009-11-04 | 1 | -5/+5 |
| | | | | | | previously it would just be a name ) added abspath property and name property to provide easy access to most common paths of an index object | ||||
* | tree: parsing would fail when symlinks where encountered. This has been fixed | Sebastian Thiel | 2009-11-04 | 1 | -1/+2 |
| | |||||
* | object: renamed id attribute to sha as it in fact is always being rewritten ↵ | Sebastian Thiel | 2009-11-03 | 1 | -3/+3 |
| | | | | as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly | ||||
* | When parsing trees, we now store the originan type bits as well, previously ↵ | Sebastian Thiel | 2009-10-26 | 1 | -8/+9 |
| | | | | we dropped it | ||||
* | tree.traverse: Added prune functionality - previously the predciate did ↵ | Sebastian Thiel | 2009-10-21 | 1 | -8/+12 |
| | | | | both, pruning and preventing to return items | ||||
* | resolved cyclic inclusion issue by moving the Diffable interface into the ↵ | Sebastian Thiel | 2009-10-18 | 1 | -1/+2 |
| | | | | diff module, which probably is the right thing to do anyway | ||||
* | added Diffable interface to objects.base, its used by Commit and Tree objects. | Sebastian Thiel | 2009-10-16 | 1 | -1/+2 |
| | | | | Diff class has been prepared to process raw input, but its not yet more than a frame | ||||
* | tree: now reads tress directly by parsing the binary data, allowing it to ↵ | Sebastian Thiel | 2009-10-14 | 1 | -32/+70 |
| | | | | safe possibly hundreds of command calls | ||||
* | test: Added time-consuming test which could also be a benchmark in fact - ↵ | Sebastian Thiel | 2009-10-14 | 1 | -1/+1 |
| | | | | | | | currently it cause hundreds of command invocations which is slow Fixed issue with trees not properly initialized with their default mode _set_cache_: some objects checked whether the attribute was within their __slots__ although it should have been accessed through its class | ||||
* | tree: renamed content_from_string to _from_string to make it private. ↵ | Sebastian Thiel | 2009-10-13 | 1 | -2/+2 |
| | | | | Removed tests that were testing that method | ||||
* | tree: now behaves like a list with string indexing functionality - using a ↵ | Sebastian Thiel | 2009-10-12 | 1 | -34/+136 |
| | | | | | | dict as cache is a problem as the tree is ordered, added blobs, trees and traverse method repo: remove blob function as blobs are created directly or iterated - primitve types should not clutter the repo interface | ||||
* | renamed from_string and list_from_string to _from_string and ↵ | Sebastian Thiel | 2009-10-12 | 1 | -2/+2 |
| | | | | _list_from_string to indicate their new status as private method, adjusted all callers respectively | ||||
* | Reorganized package structure and cleaned up imports | Sebastian Thiel | 2009-10-12 | 1 | -0/+102 |