| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-06-24 | Multiple partly critical bugfixes related to index handling | Sebastian Thiel | |
| 2010-06-23 | fixed critical bug in traverse_trees_recursive, implemented IndexFile.new ↵ | Sebastian Thiel | |
| including simple test, it may be simple as the methods it uses are throroughly tested | |||
| 2010-06-22 | Initial frame for implementing read_tree using pure python. As git-read-tree ↵ | Sebastian Thiel | |
| can do much more than we can ( and faster assumably ), the .new method is used to create new index instances from up to 3 trees. Implemented multi-tree traversal to facilitate building a stage list more efficiently ( although I am not sure whether it could be faster to use a dictionary together with some intensive lookup ), including test Added performance to learn how fast certain operations are, and whether one should be preferred over another | |||
| 2010-06-22 | index.write_tree: now uses MemoryDB, making tree handling more efficient as ↵ | Sebastian Thiel | |
| IO will only be done when required. A possible disadvantage though is that time is spent on compressing the trees, although only the raw data and their shas would theoretically be needed. On the other hand, compressing their data uses less memory. An optimal implementation would just sha the data, check for existance, and compress it to write it to the database right away. This would mean more specialized code though, introducing redundancy. If IStreams would know whether they contain compressed or uncompressed data, and if there was a method to get a sha from data, this would work nicely in the existing framework though | |||
| 2010-06-22 | Tree-Writing now works after fixing an off-by-one error | Sebastian Thiel | |
| 2010-06-22 | index.write_tree: initial version implemented, although its not yet working ↵ | Sebastian Thiel | |
| 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 | |||
| 2010-06-21 | index: put serialization methods into new 'fun' module, this makes the calls ↵ | Sebastian Thiel | |
| faster as it removes one level of indirection, and makes the main file smaller, improving maintainability | |||
| 2010-06-21 | index.add: now uses gitdb.store functionality instead of git-hash-file. The ↵ | Sebastian Thiel | |
| python version is about as fast, but could support multithreading using async | |||
| 2010-05-12 | Repo: Added comparison operators and hash operator including test | Sebastian Thiel | |
| Cmd: AutoInterrupt handles boundary cases more gracefully as it can be that the os module suddenly becomes None if the interpreter is going down | |||
| 2010-05-10 | index.add: added index path rewrite functionality, which allows to store a ↵ | Sebastian Thiel | |
| different path in the index than the actual one on disk ( from which the object will be created ) Fixed bug the way newlines were handled, which hopefully fixes occasional hangs as well. It works fine with git 1.7.1 Most of the changes are due to the tab-space conversion - its weird once more as I thought it was all in spaces before ... . | |||
| 2010-03-04 | Converted all tabs to 4 space characters each to comply with pep8 | Sebastian Thiel | |
| 2010-02-19 | index: added move method including test | Sebastian Thiel | |
| test.helpers: temporary rw repository creators now set the working dir of the program, easing working with relative paths a lot | |||
| 2009-12-07 | index: Checkout exception now contains information about the reason of the ↵ | Sebastian Thiel | |
| failure as well, one per failed file | |||
| 2009-12-03 | repo: renamed directories to more descriptive identifiers and made them ↵ | Sebastian Thiel | |
| safer to use in case of bare repositories | |||
| 2009-11-30 | index: Added BlobFilter utility class to make filtering of blobs from the ↵ | Sebastian Thiel | |
| index easier | |||
| 2009-11-27 | ItemTraversal: Predicate and prune functions now provide depth information, ↵ | Sebastian Thiel | |
| allowing the callee to know more about its environment | |||
| 2009-11-26 | tree: added traversal method, adjusted tests | Sebastian Thiel | |
| Fixed critical bug in object code: IndexObjects now use their path as hashkey, not the data\! | |||
| 2009-11-25 | index.write_tree: fixed bug that would cause the written tree not to contain ↵ | Sebastian Thiel | |
| any of our changes entries as it would in fact write a possibly cached tree stored in our extension data.It was solved by simply ignoring that extension data when writing the index for tree creation. A test was added for this as well | |||
| 2009-11-24 | index.merge_tree function added including test. | Sebastian Thiel | |
| index.write_tree may now use the missing_ok argument which writes trees faster and allows you to operate without objects to do a true index based merge | |||
| 2009-11-23 | index.checkout: improved handling of errors as the thrown exception contains ↵ | Sebastian Thiel | |
| exact information about the successfully checked out files as well as the failed ones Return value of the method is an iterator to all checked out files | |||
| 2009-11-23 | index.checkout: Now parsing stderror in the end to determine which files ↵ | Sebastian Thiel | |
| have not been updated as they where modified locally or did not exist. Test was improved to check for this new case. | |||
| 2009-11-22 | index.checkout: Added progress function and made adjustments to test | Sebastian Thiel | |
| 2009-11-20 | index.add: added progress function support and made sure progress is sent ↵ | Sebastian Thiel | |
| just in time This adds a dependency to a git update index fix - and I hope it will be put in in time ( including windows version ) | |||
| 2009-11-18 | index: Added IndexEntry.from_base method including test in conjunction with ↵ | Sebastian Thiel | |
| symlinks. Added index.get_entries_key method to allow direct access to anyone willing to do so | |||
| 2009-11-06 | Index tests adopted to windows - especially the symlink test needed ↵ | Sebastian Thiel | |
| adjustment, but it works as expected even on systems that do not support symlinks | |||
| 2009-11-05 | ARGH: wb and rb is not the same as r and w on windows, hence reading of ↵ | Sebastian Thiel | |
| binary files went crazy as well as binary writing | |||
| 2009-11-03 | object: renamed id attribute to sha as it in fact is always being rewritten ↵ | Sebastian Thiel | |
| as sha, even if the passed in id was a ref. This is done to assure objects are uniquely identified and will compare correctly | |||
| 2009-10-27 | put _make_file helper method into TestBase class | Sebastian Thiel | |
| remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests | |||
| 2009-10-26 | index.add: Finished implemenation including through tests | Sebastian Thiel | |
| index.checkout: added simple method allowing to checkout files from the index, including simple test | |||
| 2009-10-26 | added head kwarg to reset and commit method, allowing to automatically ↵ | Sebastian Thiel | |
| change the head to the given commit, which makes the methods more versatile | |||
| 2009-10-24 | index.commit: implemented initial version, but in fact some more changes are ↵ | Sebastian Thiel | |
| required to have a nice API. Tests are not yet fully done either | |||
| 2009-10-23 | index.remove implemented including throrough test | Sebastian Thiel | |
| 2009-10-23 | Implemented index.reset method including test | Sebastian Thiel | |
| 2009-10-23 | Added frame for IndexFile add/remove/commit methods and respective test markers | Sebastian Thiel | |
| 2009-10-23 | Renamed Index to IndexFile, adjusted tests, it will only operate on physical ↵ | Sebastian Thiel | |
| files, not on streams, as Indices are not streamed by any git command ( at least not in raw format ) | |||
| 2009-10-22 | Adjusted tests to deal with API changes | Sebastian Thiel | |
| 2009-10-22 | Index: Is now diffable and appears to properly implement diffing against ↵ | Sebastian Thiel | |
| other items as well as the working tree Diff.Diffable: added callback allowing superclasses to preprocess diff arguments Diff.Diff: added eq, ne and hash methods, string methods would be nice | |||
| 2009-10-22 | default index writing now writes the index of the current repository in a ↵ | Sebastian Thiel | |
| fashion comparable to the native implementation | |||
| 2009-10-22 | Index now behaves more like the default index if no explicit stream is ↵ | Sebastian Thiel | |
| given. It will lazily read its data on first access | |||
| 2009-10-22 | Adjusted all remaining test suites to use the new TestBase class where ↵ | Sebastian Thiel | |
| appropriate | |||
| 2009-10-22 | Removed index test marker for custom commits as this boils down to a good ↵ | Sebastian Thiel | |
| way to add files to the index/remove them and make commits which are possibly customized with custom parents | |||
| 2009-10-22 | index writing now creates a sha on the content making it possible to write ↵ | Sebastian Thiel | |
| valid indices after manually removing or altering entriesgst | |||
| 2009-10-22 | Implemented merge/resolve handling , but realized that index writing is not ↵ | Sebastian Thiel | |
| yet working properly as it is sha1 checked as well. This explains what my 20 byte 'extension_data' actually is ;) | |||
| 2009-10-21 | index: Added write_tree method including test | Sebastian Thiel | |
| 2009-10-21 | index.iter_blobs method added including tests ( which have been improved ↵ | Sebastian Thiel | |
| generally for more coverage ) | |||
| 2009-10-21 | Improved testing of index against trees, tests succeed with next commit | Sebastian Thiel | |
| 2009-10-21 | Initial version of merge including tests for one-way, two-way and tree-way merge | Sebastian Thiel | |
| 2009-10-21 | index writing added including simple test, improved docs of IndexEntry | Sebastian Thiel | |
| 2009-10-20 | improved IndexEntry type and added test for parsing of the stage | Sebastian Thiel | |
| 2009-10-20 | Improved tuple access of EntryIndex class including test, stage and type ↵ | Sebastian Thiel | |
| access still needs to be decoded though | |||
