<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/index/base.py, branch winerr_show</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Win, #519: FIX repo TCs.</title>
<updated>2016-10-01T14:33:20+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-01T14:02:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=b8b025f719b2c3203e194580bbd0785a26c08ebd'/>
<id>b8b025f719b2c3203e194580bbd0785a26c08ebd</id>
<content type='text'>
+ FIX TestRepo.test_submodule_update():
  + submod: del `.git` file prior overwrite; Windows denied otherwise!
+ FIX TestRepo.test_untracked_files():
  + In the `git add &lt;file&gt;` case, it failed with unicode args on PY2.
Had to
encode them with `locale.getpreferredencoding()` AND use SHELL.
+ cmd: add `shell` into `execute()` kwds, for overriding USE_SHELL per
command.
+ repo: replace blocky `communicate()` in `_clone()` with thread-pumps.
+ test_repo.py: unittestize (almost  all) assertions.
+ Replace open --&gt; with open for index (base and TC).
+ test_index.py: Enabled a dormant assertion. 
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ FIX TestRepo.test_submodule_update():
  + submod: del `.git` file prior overwrite; Windows denied otherwise!
+ FIX TestRepo.test_untracked_files():
  + In the `git add &lt;file&gt;` case, it failed with unicode args on PY2.
Had to
encode them with `locale.getpreferredencoding()` AND use SHELL.
+ cmd: add `shell` into `execute()` kwds, for overriding USE_SHELL per
command.
+ repo: replace blocky `communicate()` in `_clone()` with thread-pumps.
+ test_repo.py: unittestize (almost  all) assertions.
+ Replace open --&gt; with open for index (base and TC).
+ test_index.py: Enabled a dormant assertion. 
</pre>
</div>
</content>
</entry>
<entry>
<title>Proc, #519: Rework error-exc msgs &amp; log thread-pumps errors</title>
<updated>2016-09-28T15:13:34+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-09-28T03:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=44c6d0b368bc1ec6cd0a97b01678b38788c9bd9c'/>
<id>44c6d0b368bc1ec6cd0a97b01678b38788c9bd9c</id>
<content type='text'>
+ No WindowsError exception.
+ Add `test_exc.py` for unicode issues.
+ Single-arg for decoding-streams in pump-func.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ No WindowsError exception.
+ Add `test_exc.py` for unicode issues.
+ Single-arg for decoding-streams in pump-func.</pre>
</div>
</content>
</entry>
<entry>
<title>src: constify is_&lt;platform&gt;() calls</title>
<updated>2016-09-28T01:35:38+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-09-27T14:05:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e61439b3018b0b9a8eb43e59d0d7cf32041e2fed'/>
<id>e61439b3018b0b9a8eb43e59d0d7cf32041e2fed</id>
<content type='text'>
+ TCs: unittest-asserts for git-tests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ TCs: unittest-asserts for git-tests.</pre>
</div>
</content>
</entry>
<entry>
<title>src, #519: collect all is_&lt;platform&gt;() calls</title>
<updated>2016-09-27T10:37:16+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-09-26T18:41:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=f495e94028bfddc264727ffc464cd694ddd05ab8'/>
<id>f495e94028bfddc264727ffc464cd694ddd05ab8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index): improve LockedFD handling</title>
<updated>2016-09-25T15:10:38+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-09-25T15:10:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=d6b1a9272455ef80f01a48ea22efc85b7f976503'/>
<id>d6b1a9272455ef80f01a48ea22efc85b7f976503</id>
<content type='text'>
Relying on the destructor will not work, even though
the code used to rely on it.

Now we handle failures more explicitly. Far from perfect,
but a good start for a fix.

Fixes #514
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Relying on the destructor will not work, even though
the code used to rely on it.

Now we handle failures more explicitly. Far from perfect,
but a good start for a fix.

Fixes #514
</pre>
</div>
</content>
</entry>
<entry>
<title>Commit without executing hooks, fixes #468</title>
<updated>2016-06-20T14:22:33+00:00</updated>
<author>
<name>Peter Bengtsson</name>
<email>mail@peterbe.com</email>
</author>
<published>2016-06-20T14:22:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e031a0ee8a6474154c780e31da2370a66d578cdc'/>
<id>e031a0ee8a6474154c780e31da2370a66d578cdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index): avoid recursing endlessly in add()</title>
<updated>2016-04-13T15:00:34+00:00</updated>
<author>
<name>Piotr Pietraszkiewicz</name>
<email>ppietraszkiewicz@psi.de</email>
</author>
<published>2016-04-13T15:00:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=af74966685e1d1f18390a783f6b8d26b3b1c26d1'/>
<id>af74966685e1d1f18390a783f6b8d26b3b1c26d1</id>
<content type='text'>
Issue #407
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #407
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: minor typos</title>
<updated>2016-01-08T19:29:46+00:00</updated>
<author>
<name>Yaroslav Halchenko</name>
<email>debian@onerussian.com</email>
</author>
<published>2016-01-08T19:29:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=a7b609c9f382685448193b59d09329b9a30c7580'/>
<id>a7b609c9f382685448193b59d09329b9a30c7580</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(index): remove invalid keyword argument</title>
<updated>2015-07-20T07:30:24+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-07-20T07:30:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c1d33021feb7324e0f2f91c947468bf282f036d2'/>
<id>c1d33021feb7324e0f2f91c947468bf282f036d2</id>
<content type='text'>
It was a left-over of some prior hacking that was not removed by
accident.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was a left-over of some prior hacking that was not removed by
accident.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(encoding): in untracked_files() and index</title>
<updated>2015-07-20T07:20:00+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-07-20T06:51:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=9c272abea2c837e4725c37f5c0467f83f3700cd5'/>
<id>9c272abea2c837e4725c37f5c0467f83f3700cd5</id>
<content type='text'>
* untracked_files could, if there were spaces in the path returned,
  re-rencode the previously decoded unicode string thanks to a
  `decode("string_escape")` call. Now re-encode into utf-8 afterwards
  - added test to assure this works indeed
* IndexFile.add() didn't handle unicode correctly and would write
  broken index files. The solution was to compute the path length after
  encoding it into utf-8 bytes, not before ... .

Closes #320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* untracked_files could, if there were spaces in the path returned,
  re-rencode the previously decoded unicode string thanks to a
  `decode("string_escape")` call. Now re-encode into utf-8 afterwards
  - added test to assure this works indeed
* IndexFile.add() didn't handle unicode correctly and would write
  broken index files. The solution was to compute the path length after
  encoding it into utf-8 bytes, not before ... .

Closes #320
</pre>
</div>
</content>
</entry>
</feed>
