Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added basic frame for pygit2 - it just needs some basic methods to be ↵ | Sebastian Thiel | 2011-07-08 | 12 | -6/+209 |
| | | | | implemented now - depending on the performance, it might actually receive some more work | ||||
* | Merge branch 'dulwich' | Sebastian Thiel | 2011-07-07 | 18 | -75/+327 |
|\ | |||||
| * | Added store support. Now the basic object IO is implemented, which shall be ↵ | Sebastian Thiel | 2011-07-07 | 1 | -1/+11 |
| | | | | | | | | enough for the first batch of work | ||||
| * | Removed cache in PureCompoundDB as it had the tendency to slow things down ↵ | Sebastian Thiel | 2011-07-07 | 1 | -29/+17 |
| | | | | | | | | actually | ||||
| * | Added trivial implementation for info and stream methods - info is very ↵ | Sebastian Thiel | 2011-07-07 | 1 | -0/+16 |
| | | | | | | | | inefficient, but can't help it. Basic repo tests don't work as dulwich ignores alternate files | ||||
| * | 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 | 4 | -1/+19 |
| | | | | | | | | 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 | 11 | -50/+133 |
| | | | | | | | | | | | | 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 | 6 | -2/+52 |
|/ | | | | surface while integrating this | ||||
* | cmd: on windows, we will now fallback to using git.cmd, as the default ↵ | Sebastian Thiel | 2011-07-06 | 1 | -6/+39 |
| | | | | | | installation puts it into the path, instead of git.exe. Of course we warn about the performance penalty that goes with it. Fortunately, using a wrapped git.exe works when creating pipes to the process, admittedly I was a bit surprised by this. fixes #26 | ||||
* | Implemented GIT_PYTHON_GIT_EXECUTABLE including test and docs | Sebastian Thiel | 2011-07-05 | 4 | -6/+38 |
| | |||||
* | fixes python 2.6 compatibility issues | Sebastian Thiel | 2011-07-05 | 2 | -3/+15 |
| | |||||
* | Merge branch 'smmap' | Sebastian Thiel | 2011-07-05 | 6 | -57/+78 |
|\ | |||||
| * | util: pick the type of memory manager based on the python version, to have ↵ | Sebastian Thiel | 2011-07-05 | 3 | -18/+28 |
| | | | | | | | | | | | | | | 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 | ||||
| * | util: added global sliding memory manager | Sebastian Thiel | 2011-07-05 | 2 | -40/+46 |
| | | | | | | | | pack: now using the global sliding memory manager. The current implementation uses assumes that packs are small enough to fit into memory right away, where the window size will be about 1 GB, as it never calls use_window() to assure the required offset actually exists. It will need to change to set the window appropriately. | ||||
| * | Added smmap as submodule, package initialization adjusted to assure it is ↵ | Sebastian Thiel | 2011-07-05 | 3 | -8/+13 |
|/ | | | | available | ||||
* | Merge branch 'remote-fixes' | Sebastian Thiel | 2011-07-04 | 7 | -29/+146 |
|\ | |||||
| * | Fetch info can now deal much better with non-default ref specs, see #23, ↵ | Sebastian Thiel | 2011-07-04 | 3 | -6/+92 |
| | | | | | | | | #24, #25 | ||||
| * | Basic remote functionality moved to Reference type, as it can in fact be ↵ | Sebastian Thiel | 2011-07-04 | 3 | -19/+43 |
| | | | | | | | | useful for tags as well, which might end up somewhere in the refs/remotes space. Its not likely that it will ever be used on a pure Reference instance though, but it is the smallest common base | ||||
| * | refs: added constructor flag to allow refs to be instatiated from any path, ↵ | Sebastian Thiel | 2011-07-04 | 2 | -4/+11 |
|/ | | | | including simple test | ||||
* | Fixed implementation of _version_info which didn't work for python 2.4 ↵ | Sebastian Thiel | 2011-06-13 | 1 | -1/+1 |
| | | | | thanks to the rpartition method. omg | ||||
* | Fixed incorrect gitmodules file which used gitdb once again, instead of just ↵ | Sebastian Thiel | 2011-06-13 | 1 | -3/+3 |
| | | | | async | ||||
* | fixed submodule test to work on windows | Sebastian Thiel | 2011-06-13 | 1 | -2/+3 |
| | |||||
* | Submodule now uses a specialized method to remove its trees to allow ↵ | Sebastian Thiel | 2011-06-13 | 2 | -5/+19 |
| | | | | read-only files to be removed on windows as well | ||||
* | Made remote line parsing more stable. On windows it can be that we encounter ↵ | Sebastian Thiel | 2011-06-13 | 1 | -1/+12 |
| | | | | partial or intermixed lines from the pipe. This really shouldn't be, but its windows so it happens | ||||
* | 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 | 3 | -8/+9 |
| | | | | submodule tests to run | ||||
* | Fixed submodule tests to go with either the old or the new version of gitdb | Sebastian Thiel | 2011-06-13 | 2 | -8/+9 |
| | |||||
* | Fixed critical issue that would cause a string to be passed to methods that ↵ | Sebastian Thiel | 2011-06-08 | 2 | -4/+2 |
| | | | | expect a stream | ||||
* | symbolic reference handles different types for comparison more gracefully. ↵ | Sebastian Thiel | 2011-06-08 | 2 | -2/+12 |
| | | | | 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 | 2 | -1/+90 |
| | | | | 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 |
| | |||||
* | git.version_info now returns exactly 4 numbers | Sebastian Thiel | 2011-06-08 | 1 | -2/+4 |
| | |||||
* | log: non-existing logs no longer throw an exception, but are ignored. Fixed ↵ | Sebastian Thiel | 2011-06-08 | 3 | -5/+17 |
| | | | | critical bug which caused packed-ref files to be written with native line endings, which made git fail to parse it. I wonder why I never noticed this before, or ignored it. Unbelievable \! | ||||
* | Merge branch 'gitdbmerger' | Sebastian Thiel | 2011-06-07 | 122 | -2935/+10035 |
|\ | |||||
| * | Added additional opcodes to remote progress to make it compatible to newer ↵ | Sebastian Thiel | 2011-06-07 | 3 | -16/+26 |
| | | | | | | | | 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 | 3 | -10/+23 |
| | | | | | | | | everything. Includes an updated config file which includes all the new additions | ||||
| * | Match any number of leading spaces in config values | Jesse Keating | 2011-06-07 | 1 | -1/+1 |
| | | | | | | | | | | | | The regex comments state that any number of leading tabs or spaces should be allowed, however the regex was only catching zero or one space. This allows multiple spaces. | ||||
| * | Making comparisons with non-GitPython objects more tolerant. | Julien Miotte | 2011-06-07 | 1 | -0/+4 |
| | | |||||
| * | The --progress flag will now automatically be used if possible when doing ↵ | Sebastian Thiel | 2011-06-07 | 1 | -4/+14 |
| | | | | | | | | any push or fetch operation | ||||
| * | submodule now doesn't use hardcoded repository implementations anymore. ↵ | Sebastian Thiel | 2011-06-07 | 1 | -5/+9 |
| | | | | | | | | Instead it allows the user to override the type in the classmethod he calls. Otherwise the type of the own repo will be respected | ||||
| * | 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 | 2 | -14/+36 |
| | | |||||
| * | Fixed index checkout return code parsing to work with latest git version | Sebastian Thiel | 2011-06-07 | 1 | -0/+4 |
| | | |||||
| * | First run in order to fix the remote handling. Cleaned up interfaces and ↵ | Sebastian Thiel | 2011-06-07 | 9 | -630/+642 |
| | | | | | | | | 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) | ||||
| * | clone and clone_from methods now support the RemoteProgress interface, using ↵ | Sebastian Thiel | 2011-06-07 | 3 | -105/+115 |
| | | | | | | | | similar functionality as used by the fetch, push and pull methods | ||||
| * | Added version_info property to git command | Sebastian Thiel | 2011-06-07 | 3 | -6/+33 |
| | |