aboutsummaryrefslogtreecommitdiff
path: root/git/test
AgeCommit message (Collapse)Author
2011-07-07Fixed submodule related issues once again - is it ever going to end ?Sebastian Thiel
2011-07-07Added default performance tests - these should help to measure something at ↵Sebastian Thiel
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
2011-07-07Initial version of the DulwichType inheritance. For now, it inherits ↵Sebastian Thiel
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 ...
2011-07-07removed now superfluous InstanceDecorator, as it was just complicating ↵Sebastian Thiel
things after all
2011-07-07Added auto-skip mixin metacls, some serious brainfuck, if the required ↵Sebastian Thiel
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 ...
2011-07-06Added basis for initial dulwich integration. Many basic issues should ↵Sebastian Thiel
surface while integrating this
2011-07-05Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docsSebastian Thiel
2011-07-05util: pick the type of memory manager based on the python version, to have ↵Sebastian Thiel
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
2011-07-04Fetch info can now deal much better with non-default ref specs, see #23, ↵Sebastian Thiel
#24, #25
2011-07-04refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel
including simple test
2011-06-13fixed submodule test to work on windowsSebastian Thiel
2011-06-13test_submodule: Will now load everything into memory if smmap is present, to ↵Sebastian Thiel
help the submodule test to work even on windows
2011-06-13root submodule: Added parent_commit parameter for convenience. Fixed ↵Sebastian Thiel
submodule tests to run
2011-06-13Fixed submodule tests to go with either the old or the new version of gitdbSebastian Thiel
2011-06-08Fixed critical issue that would cause a string to be passed to methods that ↵Sebastian Thiel
expect a stream
2011-06-08symbolic reference handles different types for comparison more gracefully. ↵Sebastian Thiel
Fixed possible issue in test_refs, which occurred in 0.3 previously
2011-06-08util: Added test for iterable list, and implemented __contains__ and __del__ ↵Sebastian Thiel
functionality
2011-06-08pre-emptively moved all reference related tests into own package, to ↵Sebastian Thiel
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)
2011-06-08Improved debug assertion to provide proper path on which to run a git daemonSebastian Thiel
2011-06-07Added additional opcodes to remote progress to make it compatible to newer ↵Sebastian Thiel
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
2011-06-07Greatly improved robustness of config parser - it can now take pretty much ↵Sebastian Thiel
everything. Includes an updated config file which includes all the new additions
2011-06-07Submodule tests are fully back and workingSebastian Thiel
2011-06-07Submodule tests are nearly working. Only root module needs more attentionSebastian Thiel
2011-06-07First run in order to fix the remote handling. Cleaned up interfaces and ↵Sebastian Thiel
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)
2011-06-07Added version_info property to git commandSebastian Thiel
2011-06-06Improved pack writing test to show that the pack generation can be lightning ↵Sebastian Thiel
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.
2011-06-06Fixed performance pack writing tests. As they are actually depent on the ↵Sebastian Thiel
database (as streams have to be decompressed, it should be redesigned to have multiple database implementations)
2011-06-06Moved performance commit object test into the respective subfolder to ↵Sebastian Thiel
indicate what it tests
2011-06-06Fixed performance commit object testingSebastian Thiel
2011-06-06Added loose object writing and reading performance tessts, in pure and ↵Sebastian Thiel
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
2011-06-06Added PackedDB test with generalized type to allows other implementations to ↵Sebastian Thiel
be tested as well at some point
2011-06-06Fixed packed ODB test, in preparation for separating the type to allow ↵Sebastian Thiel
future implementations to use the test as well
2011-06-06Fixed odb performance testsSebastian Thiel
2011-06-01Fixed symref tests to work on osxSebastian Thiel
2011-06-01Fixed ref-log related issue in the test suite to assure it will not give ↵Sebastian Thiel
false positives in repositories that are freshly checked out
2011-05-30Fixed remaining tests as good as possible. remote/fetch/pull and submodule ↵Sebastian Thiel
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
2011-05-30Fixed all of the object tests, except for the submodule handling which needs ↵Sebastian Thiel
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
2011-05-30Fixed all remaining python repository testsSebastian Thiel
2011-05-30Fixed test_loose.pySebastian Thiel
2011-05-30Fixed test_git.pySebastian Thiel
2011-05-30git cmd implementation of repository appears to work, at least this is what ↵Sebastian Thiel
the test suggests. Pure python implementation still has some trouble, but this should be very fixable
2011-05-30Fixed tests far enough to allow basic repository tests to be applied to any ↵Sebastian Thiel
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
2011-05-29Intermediate commit with quite some progress in order to put all extra ↵Sebastian Thiel
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
2011-05-10Made repository paths methods a property to be compatible with the existing ↵Sebastian Thiel
repo interface. Added submodule interface ... goal is to provide all of the extra repo functionality in custom interfaces
2011-05-06Started to fix imports - tests still have no chance to work as database ↵Sebastian Thiel
changed drastically. Now the actual work begins
2011-05-06replaced all gitdb strings with gitSebastian Thiel
2011-05-05Added all code from gitdb to gitpython. Next is to make it generally work. ↵Sebastian Thiel
Then the tests will need some work
2011-04-07Updated objects to use the ones defined in gitdb as basis. Only the ↵Sebastian Thiel
submodule implementation is left in git-python as it requires some advanced features. No tests where run yet
2011-04-07Removed all parts of the reference implementation which doesn't require the ↵Sebastian Thiel
git command. everything else was moved to GitDB. None of the tests is yet expected to run, although git-python should have less trouble getting the tests back up running than GitDB. plenty of code needs to be de-duplicated though in case of the tests, which will be some work
2011-02-23Fixed incorrect handling of rev_parse if it was fed with branches that ↵Sebastian Thiel
looked like hexshas. Thanks to Ning (frostyplanet) who pointed this issue out