summaryrefslogtreecommitdiff
path: root/gitdb/db/base.py
Commit message (Collapse)AuthorAgeFilesLines
* feat(src): subst `reduce` with `sum` for size calcsKostis Anagnostopoulos2016-10-241-2/+1
| | | | + fix(loose-db): fix bad-attr in ex-message
* Spelling fixesVille Skyttä2016-07-271-1/+1
|
* Applied autopep8Sebastian Thiel2015-01-041-5/+7
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Now tests work consistently in py2 and 3Sebastian Thiel2014-11-131-4/+3
| | | | It's a nice way of saying that there is still one failing, consistently.
* Fully removed all async dependenciesSebastian Thiel2014-11-131-55/+0
|
* Fixed all applicable lint issuesSebastian Thiel2014-11-131-2/+0
|
* Start up compat and encoding filesKevin Brown2014-07-161-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* More bytes handlingKevin Brown2014-07-131-0/+10
|
* Pick off the low hanging fruitKevin Brown2014-07-131-0/+1
| | | | | | | | | | | 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-131-82/+80
|
* tabs to spacesSebastian Thiel2014-02-091-293/+293
|
* Fixed up docs for upcoming release. Bumped version to 0.5.3Sebastian Thiel2011-06-131-3/+4
|
* preprended all modules with licensing informationSebastian Thiel2011-02-231-0/+4
|
* moved all relevant files into the gitdb folder.Sebastian Thiel2010-11-301-0/+321
Submodule relinked to point to new github location, and moved as well