summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Slightly improved loose object decompression testSebastian Thiel2015-01-011-1/+9
| |
* | Increased initial size of decompressed data to obtain loose object header ↵Sebastian Thiel2015-01-014-8/+15
|/ | | | | | | | | information This appears to fix https://github.com/gitpython-developers/GitPython/issues/220 , in this particular case. Nonetheless, we might just have gotten lucky here, and the actual issue is not yet solved and can thus re-occour. It would certainly be best to churn through plenty of loose objects to assure this truly works now. Maybe the pack could be recompressed as loose objects to get a sufficiently large data set
* Added readthedocs badgeSebastian Thiel2014-11-192-3/+6
|
* Merge branch 'py2n3'0.6.0Sebastian Thiel2014-11-1447-1824/+1766
|\ | | | | | | | | * python 3 compatibility * all tests work in py2.6, 2.7, 3.3, 3.4
| * It seems zlib works differently in py26, and thus requires special handling.py2n3Sebastian Thiel2014-11-142-17/+11
| | | | | | | | This also explains why the tests suddenly stopped working - after all, the interpreter changed ... .
| * Now I am skipping a problematic test on travis CI.Sebastian Thiel2014-11-142-3/+13
| | | | | | | | Maybe I can find a py 2.6 interpreter somewhere to reproduce it.
| * Allow our clone to be deeper to help tests to workSebastian Thiel2014-11-141-0/+3
| |
| * Added requirements.txt for pip, and optimized test-suite performance on travis.Sebastian Thiel2014-11-1411-25/+56
| | | | | | | | With a bit of luck, this one will just work now.
| * Fixed .travis file to allow tests to work correctly.Sebastian Thiel2014-11-141-1/+8
| | | | | | | | | | Previously, submodules were not initalized, which could have had an effect ... . Even though it shouldn't, but lets just try it.
| * Fixed incorrect computation of compressed bytes read in zlib decompression ↵Sebastian Thiel2014-11-141-1/+4
| | | | | | | | stream.
| * Performance tests are now part of the test-suite.Sebastian Thiel2014-11-145-46/+43
| | | | | | | | | | | | | | By default, a small repository will be tested, which doesn't take that long actually (~20s) Additionally, that way we enforce correctness tests, which didn't run by default previously. As we are handling data here, we must be sure that it's handled correctly, thus the tests should run.
| * setup.py works now, and binary python module can now be loaded as well.Sebastian Thiel2014-11-133-5/+2
| |
| * reduced usage of force_bytes as clients are expected to pass bytes.Sebastian Thiel2014-11-134-17/+10
| | | | | | | | | | | | It was useful for debugging though, maybe an explicit type assertions would help others ? As 'others' will be gitpython, I suppose I can handle it myself
| * Now tests work consistently in py2 and 3Sebastian Thiel2014-11-139-110/+178
| | | | | | | | It's a nice way of saying that there is still one failing, consistently.
| * Fully removed all async dependenciesSebastian Thiel2014-11-1315-293/+14
| |
| * Fixed all applicable lint issuesSebastian Thiel2014-11-1326-81/+75
| |
| * Merge branch 'kevin-brown-issue_4' into py2n3Sebastian Thiel2014-11-1333-1360/+1479
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gitdb/base.py gitdb/fun.py gitdb/pack.py gitdb/stream.py gitdb/test/lib.py gitdb/util.py
| | * Made sure xrange is used instead of range in python 2Sebastian Thiel2014-11-139-29/+20
| | | | | | | | | | | | | | | | | | | | | range in py2 will return a list, which can mean a lot of time and memory is spent on generating it even though it's just used for iteration. Simplified implementation of MAXSIZE
| | * Merge branch 'issue_4' of https://github.com/kevin-brown/gitdb into ↵Sebastian Thiel2014-11-1335-1375/+1499
| | |\ | |/ / |/| | | | | | | | | | | | | | kevin-brown-issue_4 Conflicts: gitdb/db/ref.py
| | * Convert types to bytesKevin Brown2014-07-213-22/+26
| | | | | | | | | | | | | | | This makes it easier to deal with things internally as now everything is passed as bytes.
| | * Fixed a few more encoding issuesKevin Brown2014-07-163-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | Bytes should always be returned from the streams, so the tests should be checking against byte strings instead of text strings. This also fixes the `sha_iter` as it relied on the Python 2 `iterkeys` which has been renamed to `keys` in Python 3.
| | * Start up compat and encoding filesKevin Brown2014-07-1613-45/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a few things which were being reused consistently for compatibility purposes, such as the `buffer`/`memoryview` functions as well as the `izip` method which needed to be aliased for Python 3. The `buffer` function was taken from `smmap` [1] and reworked slightly to handle the optional third parameter. This also adds a compatibility file dedicated entirely to encoding issues, which seem to be the biggest problem. The main functions were taken in part from the Django project [2] and rewritten slightly because our needs are a bit more narrow. A constants file has been added to consistently handle the constants which are required for the gitdb project in the core and the tests. This is part of a greater plan to reorganize the `util.py` file included in this project. This points the async extension back at the original repository and points it to the latest commit. [1]: https://github.com/Byron/smmap/blob/1af4b42a2354acbb53c7956d647655922658fd80/smmap/util.py#L20-L26 [2]: https://github.com/django/django/blob/b8d255071ead897cf68120cd2fae7c91326ca2cc/django/utils/encoding.py
| | * Fix Python 2 failuresKevin Brown2014-07-135-13/+14
| | |
| | * Making a bit of progress...Kevin Brown2014-07-138-62/+20
| | | | | | | | | | | | | | | | | | | | | This changes the internals to use BytesIO over StringIO, which fixed a few of the failing tests in Python 3. We are only importing from `io` now, instead of the entire chain, as this is available in Python 2.6+.
| | * Can't compare memoryview instances, convert to bytesKevin Brown2014-07-131-1/+2
| | |
| | * Bytes for everyone!Kevin Brown2014-07-134-9/+8
| | |
| | * More bytes handlingKevin Brown2014-07-135-5/+19
| | |
| | * Better handling of bytesKevin Brown2014-07-133-18/+33
| | | | | | | | | | | | | | | | | | | | | This adds a `byte_ord` version of `ord` which will let `bytes` safely pass through in Python 3. `cmp` was also swapped out as it has been dropped in Python 3.
| | * Use memoryview instead of bufferKevin Brown2014-07-131-1/+4
| | | | | | | | | | | | | | | | | | | | | This uses memoryview by default, which is supported in Python 3 and Python 2.7, but not Python 2.6, and falls back to the old `buffer` type in Python 2.6 and when the memoryview does not support the type, such as when mmap instaces are passed in.
| | * Convert strings to bytes for PY3Kevin Brown2014-07-134-15/+15
| | | | | | | | | | | | | | | | | | In Python 3, the default string type is now the Python 2 unicode strings. The unicode strings cannot be converted to a byte stream, so we have to convert it before writing to the streams.
| | * Test against Python 3.4Kevin Brown2014-07-131-0/+1
| | | | | | | | | | | | | | | | | | If it works in Python 3.3, it should also work in Python 3.4. Considering it is the latest stable release, gitdb should be tested against it.
| | * Temporarily switch out async for testingKevin Brown2014-07-131-1/+1
| | | | | | | | | | | | | | | This will be switched back when the pull request for Python 3 support has been merged into the central async repository.
| | * Pick off the low hanging fruitKevin Brown2014-07-1327-164/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes most of the import errors that came from using the implicit relative imports that Python 2 supports. This also fixes the use of `xrange`, which has replaced `range` in Python 3. The same has happened for `izip`, which is also being aliased. The octal number syntax changed in Python 3, so we are now converting from strings using the `int` built-in function, which will produce the same output across both versions of Python.
| | * Automated PEP 8 fixesKevin Brown2014-07-1326-1127/+1108
| | |
| | * Update smmap to a Python 3 compatible versionKevin Brown2014-07-131-0/+0
| | |
| | * Update async to the Python 2 / 3 compatible versionKevin Brown2014-07-131-0/+0
| | |
| * | Minor adjustments to adapt to changes in async (due to be removed anyway)Sebastian Thiel2014-11-1311-37/+42
|/ /
* | Merge pull request #10 from hickford/patch-1Sebastian Thiel2014-11-121-2/+17
|\ \ | | | | | | Add installation instructions to readme
| * | Add installation instructions to readmeMatt Hickford2014-10-061-2/+17
| | | | | | | | | Also, fix broken badge link.
* | | Merge pull request #11 from hickford/patch-2Sebastian Thiel2014-11-121-1/+9
|\ \ \ | | | | | | | | Clarify which Python versions are supported
| * | | Clarify which Python versions are supportedMatt Hickford2014-10-061-1/+9
| |/ /
* | | Merge pull request #12 from schryer/masterSebastian Thiel2014-11-121-1/+1
|\ \ \ | |/ / |/| | Minor change to begin Python3 compatibility support.
| * | Minor change to begin Python3 compatibility support.David Schryer2014-11-051-1/+1
|/ /
* | Merge pull request #8 from orgads/masterSebastian Thiel2014-09-111-1/+1
|\ \ | | | | | | Setup: Fix invalid syntax
| * | Setup: Fix invalid syntaxOrgad Shaneh2014-09-101-1/+1
|/ /
* | Added sublime-text projectSebastian Thiel2014-07-142-0/+56
|/ | | | Suitable for everyone thanks to relative paths
* Test with python 3.3 as wellSebastian Thiel2014-05-061-0/+1
| | | Have to start making them compatible at some point.
* Fixed travis build status urlSebastian Thiel2014-05-041-1/+1
|
* argh, one level too low, didn't see it in sublimeSebastian Thiel2014-05-041-0/+0
|
* Added initial configuration of gitdbSebastian Thiel2014-05-044-0/+10
|