<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitdb.git/gitdb/db/loose.py, branch 3.0.0</title>
<subtitle>github.com: gitpython-developers/gitdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/'/>
<entry>
<title>loose: rename only if needed</title>
<updated>2019-09-25T18:06:42+00:00</updated>
<author>
<name>Ruslan Kuprieiev</name>
<email>kupruser@gmail.com</email>
</author>
<published>2019-09-25T18:00:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=79b705f061b51dc151a00729b722fbdebde59f5c'/>
<id>79b705f061b51dc151a00729b722fbdebde59f5c</id>
<content type='text'>
Our user was experiencing issue [1] when using a git repository on NTFS mount
running on Linux. The current check checks if we are running on Windows, but
it should really check if we are on NTFS. And since checking fs type is not
that trivial and not efficient, it is simpler and better to just always apply
NTFS-specific logic, since it works on other filesystems as well.

[1] https://github.com/iterative/dvc/issues/1880#issuecomment-483253764
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Our user was experiencing issue [1] when using a git repository on NTFS mount
running on Linux. The current check checks if we are running on Windows, but
it should really check if we are on NTFS. And since checking fs type is not
that trivial and not efficient, it is simpler and better to just always apply
NTFS-specific logic, since it works on other filesystems as well.

[1] https://github.com/iterative/dvc/issues/1880#issuecomment-483253764
</pre>
</div>
</content>
</entry>
<entry>
<title>Spelling fixes</title>
<updated>2016-07-27T06:32:29+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2016-07-27T06:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=2af455266cb3ea454c4f38b182825b9e78b8398d'/>
<id>2af455266cb3ea454c4f38b182825b9e78b8398d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(loose): avoid unnecessary file rename on windows</title>
<updated>2015-10-04T17:17:44+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-10-04T17:17:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=2389b75280efb1a63e6ea578eae7f897fd4beb1b'/>
<id>2389b75280efb1a63e6ea578eae7f897fd4beb1b</id>
<content type='text'>
This should workaround possible permission issues.

Related to https://github.com/gitpython-developers/GitPython/issues/353
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should workaround possible permission issues.

Related to https://github.com/gitpython-developers/GitPython/issues/353
</pre>
</div>
</content>
</entry>
<entry>
<title>Protected stream closure against possibilty of being a bytes</title>
<updated>2015-01-07T18:57:19+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-01-07T18:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=be294278a0087f21d565a1084fb220ff936ae0bd'/>
<id>be294278a0087f21d565a1084fb220ff936ae0bd</id>
<content type='text'>
For some reason, it gets bytes where it did expect a stream ... .
Probably I should have figured out where this was input, instead
of fixing it the brutal way
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reason, it gets bytes where it did expect a stream ... .
Probably I should have figured out where this was input, instead
of fixing it the brutal way
</pre>
</div>
</content>
</entry>
<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://git.baserock.org/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>Now tests work consistently in py2 and 3</title>
<updated>2014-11-13T17:31:17+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-13T17:31:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitdb.git/commit/?id=641b64c9f48139cf06774805d32892012fb9b82d'/>
<id>641b64c9f48139cf06774805d32892012fb9b82d</id>
<content type='text'>
It's a nice way of saying that there is still one failing, consistently.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's a nice way of saying that there is still one failing, consistently.
</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://git.baserock.org/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>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://git.baserock.org/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://git.baserock.org/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://git.baserock.org/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>
</feed>
