<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitdb.git/gitdb/test/db/lib.py, branch 3.0.0</title>
<subtitle>github.com: gitpython-developers/gitdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/'/>
<entry>
<title>Applied autopep8</title>
<updated>2015-01-04T10:21:36+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-04T10:21:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=ff7615321ee31d981a171f7677a56a971c554059'/>
<id>ff7615321ee31d981a171f7677a56a971c554059</id>
<content type='text'>
autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
</pre>
</div>
</content>
</entry>
<entry>
<title>reduced usage of force_bytes as clients are expected to pass bytes.</title>
<updated>2014-11-13T17:46:49+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-13T17:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=8ae4e9579a263684c6b760aec2869be480ff22ba'/>
<id>8ae4e9579a263684c6b760aec2869be480ff22ba</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Fully removed all async dependencies</title>
<updated>2014-11-13T12:31:32+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-13T12:31:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=bf942a913d69eb2079f9e82888aaccf2f6222643'/>
<id>bf942a913d69eb2079f9e82888aaccf2f6222643</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed all applicable lint issues</title>
<updated>2014-11-13T11:17:01+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-13T11:17:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=b64c771bcb2ec336dd549cfe9d072340c886f3c9'/>
<id>b64c771bcb2ec336dd549cfe9d072340c886f3c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Made sure xrange is used instead of range in python 2</title>
<updated>2014-11-13T09:31:45+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-13T09:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=a8f2f63823324ad76cbb36b0f4115e73c7d9d594'/>
<id>a8f2f63823324ad76cbb36b0f4115e73c7d9d594</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed a few more encoding issues</title>
<updated>2014-07-17T00:36:02+00:00</updated>
<author>
<name>Kevin Brown</name>
<email>kevin@kevinbrown.in</email>
</author>
<published>2014-07-17T00:36:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=ecdae96cdb8bbde322f59fd119dab302e7797c18'/>
<id>ecdae96cdb8bbde322f59fd119dab302e7797c18</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Start up compat and encoding files</title>
<updated>2014-07-17T00:15:31+00:00</updated>
<author>
<name>Kevin Brown</name>
<email>kevin@kevinbrown.in</email>
</author>
<published>2014-07-17T00:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=0465cf327d232101b2de69d714a468b7e1a66a74'/>
<id>0465cf327d232101b2de69d714a468b7e1a66a74</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Python 2 failures</title>
<updated>2014-07-14T02:15:09+00:00</updated>
<author>
<name>Kevin Brown</name>
<email>kevin@kevinbrown.in</email>
</author>
<published>2014-07-14T02:15:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=0cf09d3310cba7f33b9ebc9badf61ab721d12857'/>
<id>0cf09d3310cba7f33b9ebc9badf61ab721d12857</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Making a bit of progress...</title>
<updated>2014-07-14T01:49:51+00:00</updated>
<author>
<name>Kevin Brown</name>
<email>kevin@kevinbrown.in</email>
</author>
<published>2014-07-14T01:49:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=087803ee30456c4942d9c18d82c1d686eb081a27'/>
<id>087803ee30456c4942d9c18d82c1d686eb081a27</id>
<content type='text'>
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+.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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+.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pick off the low hanging fruit</title>
<updated>2014-07-13T19:41:15+00:00</updated>
<author>
<name>Kevin Brown</name>
<email>kevin@kevinbrown.in</email>
</author>
<published>2014-07-13T19:41:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitdb.git/commit/?id=b6c493deb2341fb843d71b66b2aa23078638755c'/>
<id>b6c493deb2341fb843d71b66b2aa23078638755c</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
