Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tabs to 4 spaces - overall state of this branch is desolate, but fixable. ↵ | Sebastian Thiel | 2014-02-09 | 51 | -6199/+6199 |
| | | | | Needs plenty of work | ||||
* | Add an output_strip kwarg to Git.execute | Lorenz Schori | 2012-10-18 | 1 | -0/+22 |
| | | | | | | Strip the last line of the output if it is empty (default). Stripping should be disabled whenever it is important that the output is not modified in any way. For example when retrieving patch files using git-diff. | ||||
* | add tests for git.diff.Diff._index_from_raw_format() | Patrick Pfeifer | 2012-06-16 | 2 | -0/+25 |
| | |||||
* | Added test for backslahed/quoted values | Julien Kauffmann | 2012-02-08 | 2 | -1/+29 |
| | |||||
* | Fixed consecutive lines with same blame info not appearing in blame. | Mark Nevill | 2011-07-18 | 1 | -0/+9 |
| | | | | | | | | | | | | This fixes a bug when parsing blame -p output: Full commit info headers only appear for the first line from a particular commit, but other lines were ignored as the blame info dict was reset after each line. This patch handles both multiple consecutive lines from a commit and interleaved lines from multiple commits. Added real test to verify blame works against the actual commit, not only a mock of what was produced by blame in old git releases | ||||
* | Fixed up tests to actually use pygit2. Its worth noting that the performance ↵ | Sebastian Thiel | 2011-07-08 | 2 | -8/+8 |
| | | | | tests only work reliably in a patched up version, or the next point release. | ||||
* | Added basic frame for pygit2 - it just needs some basic methods to be ↵ | Sebastian Thiel | 2011-07-08 | 8 | -4/+102 |
| | | | | implemented now - depending on the performance, it might actually receive some more work | ||||
* | Fixed submodule related issues once again - is it ever going to end ? | Sebastian Thiel | 2011-07-07 | 2 | -5/+7 |
| | |||||
* | Added default performance tests - these should help to measure something at ↵ | Sebastian Thiel | 2011-07-07 | 2 | -0/+12 |
| | | | | least, which implicitly includes pack handling. For the pack specific tests to work, one would need a pack interface though, which is currently not planned to be specifically exposed | ||||
* | Initial version of the DulwichType inheritance. For now, it inherits ↵ | Sebastian Thiel | 2011-07-07 | 4 | -7/+36 |
| | | | | | | everything from the existing implementation, but one by one things can be reimplmented to use dulwich. It also shows that py 2.6 is quite plagued from its new feature, which is actually a bug, as objects inability to accept any args makes mixins hard to use ... | ||||
* | removed now superfluous InstanceDecorator, as it was just complicating ↵ | Sebastian Thiel | 2011-07-07 | 1 | -41/+17 |
| | | | | things after all | ||||
* | Added auto-skip mixin metacls, some serious brainfuck, if the required ↵ | Sebastian Thiel | 2011-07-07 | 3 | -14/+123 |
| | | | | module was not found. Its actually a nice mix between decorators which are class types, and a mixin as a metaclass, which applies said decorator. The InstanceDecorator wouldn't actually be needed, but it adds flexibility. Maybe it should be removed ... | ||||
* | Added basis for initial dulwich integration. Many basic issues should ↵ | Sebastian Thiel | 2011-07-06 | 4 | -2/+33 |
| | | | | surface while integrating this | ||||
* | Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docs | Sebastian Thiel | 2011-07-05 | 1 | -0/+10 |
| | |||||
* | util: pick the type of memory manager based on the python version, to have ↵ | Sebastian Thiel | 2011-07-05 | 1 | -4/+3 |
| | | | | | | | optimal results in all cases (at least the ones I can test) pack: now works properly with a sliding memory manager test_packedodb_pure: fixed very memory hungry implementation by using an iterator. This will of course reduce the measured performance a bit, but 750MB of memory is just a little bit too much for an ordinary test. Maybe it would be alright to just reduce the number of items ... but performance isn't a strength of python after all | ||||
* | Fetch info can now deal much better with non-default ref specs, see #23, ↵ | Sebastian Thiel | 2011-07-04 | 2 | -4/+63 |
| | | | | #24, #25 | ||||
* | refs: added constructor flag to allow refs to be instatiated from any path, ↵ | Sebastian Thiel | 2011-07-04 | 1 | -0/+5 |
| | | | | including simple test | ||||
* | fixed submodule test to work on windows | Sebastian Thiel | 2011-06-13 | 1 | -2/+3 |
| | |||||
* | test_submodule: Will now load everything into memory if smmap is present, to ↵ | Sebastian Thiel | 2011-06-13 | 1 | -0/+14 |
| | | | | help the submodule test to work even on windows | ||||
* | root submodule: Added parent_commit parameter for convenience. Fixed ↵ | Sebastian Thiel | 2011-06-13 | 1 | -4/+6 |
| | | | | submodule tests to run | ||||
* | Fixed submodule tests to go with either the old or the new version of gitdb | Sebastian Thiel | 2011-06-13 | 1 | -5/+6 |
| | |||||
* | Fixed critical issue that would cause a string to be passed to methods that ↵ | Sebastian Thiel | 2011-06-08 | 1 | -3/+1 |
| | | | | expect a stream | ||||
* | symbolic reference handles different types for comparison more gracefully. ↵ | Sebastian Thiel | 2011-06-08 | 1 | -1/+9 |
| | | | | Fixed possible issue in test_refs, which occurred in 0.3 previously | ||||
* | util: Added test for iterable list, and implemented __contains__ and __del__ ↵ | Sebastian Thiel | 2011-06-08 | 1 | -1/+58 |
| | | | | functionality | ||||
* | pre-emptively moved all reference related tests into own package, to ↵ | Sebastian Thiel | 2011-06-08 | 4 | -0/+1 |
| | | | | | | resemble their actual location a little more. Renamed test_git to test_cmd as it tests the git cmd located in git.cmd (not in git.git) | ||||
* | Improved debug assertion to provide proper path on which to run a git daemon | Sebastian Thiel | 2011-06-08 | 1 | -2/+4 |
| | |||||
* | Added additional opcodes to remote progress to make it compatible to newer ↵ | Sebastian Thiel | 2011-06-07 | 1 | -1/+1 |
| | | | | git versions. This bug existed for quite a while but didn't show up as progress wasn't sent most of the time. All methods that could use a progress will only activate it if a progress is actually given | ||||
* | Greatly improved robustness of config parser - it can now take pretty much ↵ | Sebastian Thiel | 2011-06-07 | 2 | -7/+15 |
| | | | | everything. Includes an updated config file which includes all the new additions | ||||
* | Submodule tests are fully back and working | Sebastian Thiel | 2011-06-07 | 1 | -18/+28 |
| | |||||
* | Submodule tests are nearly working. Only root module needs more attention | Sebastian Thiel | 2011-06-07 | 1 | -9/+27 |
| | |||||
* | First run in order to fix the remote handling. Cleaned up interfaces and ↵ | Sebastian Thiel | 2011-06-07 | 2 | -425/+428 |
| | | | | figured out that the implementation really should be specific to the git command. This leaves the interface open for other implemntations which use a different way to provide feedback (as we do not make assumptions about the format of a feedback line) | ||||
* | Added version_info property to git command | Sebastian Thiel | 2011-06-07 | 1 | -0/+7 |
| | |||||
* | Improved pack writing test to show that the pack generation can be lightning ↵ | Sebastian Thiel | 2011-06-06 | 1 | -21/+28 |
| | | | | fast with nearly now overhead if the data streams in fast enough (~30 MB/s when writing a pack). This shows that there is huge potential for sending packs, considering that we are actually recompressing them (without deltification). To be faster in future, we could probably just send ref-deltas or full objects as found in the pack without doing any recompression. | ||||
* | Fixed performance pack writing tests. As they are actually depent on the ↵ | Sebastian Thiel | 2011-06-06 | 2 | -80/+76 |
| | | | | database (as streams have to be decompressed, it should be redesigned to have multiple database implementations) | ||||
* | Moved performance commit object test into the respective subfolder to ↵ | Sebastian Thiel | 2011-06-06 | 2 | -1/+2 |
| | | | | indicate what it tests | ||||
* | Fixed performance commit object testing | Sebastian Thiel | 2011-06-06 | 3 | -8/+10 |
| | |||||
* | Added loose object writing and reading performance tessts, in pure and ↵ | Sebastian Thiel | 2011-06-06 | 4 | -296/+149 |
| | | | | command implementations. The previous performance test was truncated a bit as it compared directly with the git hash_object write performance. This is out, and if we wanted it we could implement it , but its actually slower for us | ||||
* | Added PackedDB test with generalized type to allows other implementations to ↵ | Sebastian Thiel | 2011-06-06 | 3 | -7/+21 |
| | | | | be tested as well at some point | ||||
* | Fixed packed ODB test, in preparation for separating the type to allow ↵ | Sebastian Thiel | 2011-06-06 | 3 | -6/+21 |
| | | | | future implementations to use the test as well | ||||
* | Fixed odb performance tests | Sebastian Thiel | 2011-06-06 | 8 | -94/+102 |
| | |||||
* | Fixed symref tests to work on osx | Sebastian Thiel | 2011-06-01 | 1 | -3/+2 |
| | |||||
* | Fixed ref-log related issue in the test suite to assure it will not give ↵ | Sebastian Thiel | 2011-06-01 | 1 | -2/+9 |
| | | | | false positives in repositories that are freshly checked out | ||||
* | Fixed remaining tests as good as possible. remote/fetch/pull and submodule ↵ | Sebastian Thiel | 2011-05-30 | 17 | -136/+190 |
| | | | | tests need some more work. Also, the tests need to be reorganized and move closer to their actual location within gitpython. Hence the refs tests go to git.test.refs, etc | ||||
* | Fixed all of the object tests, except for the submodule handling which needs ↵ | Sebastian Thiel | 2011-05-30 | 5 | -14/+39 |
| | | | | more work as the amount of submodules changed in fact. Maybe I should just generate a test repository with gitpython as submodule to get the recursion depth required to satisfy the test | ||||
* | Fixed all remaining python repository tests | Sebastian Thiel | 2011-05-30 | 9 | -64/+77 |
| | |||||
* | Fixed test_loose.py | Sebastian Thiel | 2011-05-30 | 1 | -3/+5 |
| | |||||
* | Fixed test_git.py | Sebastian Thiel | 2011-05-30 | 1 | -8/+12 |
| | |||||
* | git cmd implementation of repository appears to work, at least this is what ↵ | Sebastian Thiel | 2011-05-30 | 9 | -31/+47 |
| | | | | the test suggests. Pure python implementation still has some trouble, but this should be very fixable | ||||
* | Fixed tests far enough to allow basic repository tests to be applied to any ↵ | Sebastian Thiel | 2011-05-30 | 9 | -36/+98 |
| | | | | of the new database types. This reduces code duplication to the mere minimum, but allows custom tests to be added on top easily and flexibly | ||||
* | Intermediate commit with quite some progress in order to put all extra ↵ | Sebastian Thiel | 2011-05-29 | 1 | -2/+2 |
| | | | | methods on the default Repo implementation into interfaces or something that can be abstracted. It shows that it would indeed be good to keep the differentiation between Repositories which contain an object database as it is clearly easier to setup any combination of repositories that use git and those that do not, with just the addition of one more level of indirection. Lets see how it will end up |