<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/compat.py, branch 2.1.9</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>RF: primarily flake8 lints + minor RF to reduce duplication in PATHEXT</title>
<updated>2017-11-28T01:35:19+00:00</updated>
<author>
<name>Yaroslav Halchenko</name>
<email>debian@onerussian.com</email>
</author>
<published>2017-11-28T01:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=6ee08fce6ec508fdc6e577e3e507b342d048fa16'/>
<id>6ee08fce6ec508fdc6e577e3e507b342d048fa16</id>
<content type='text'>
I did keep some "bare" except with catch all Exception: , while tried to disable
flake8 complaints where clearly all exceptions are to be catched
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I did keep some "bare" except with catch all Exception: , while tried to disable
flake8 complaints where clearly all exceptions are to be catched
</pre>
</div>
</content>
</entry>
<entry>
<title>BF: pass original exception into replace_surrogate_encode</title>
<updated>2017-03-08T05:01:03+00:00</updated>
<author>
<name>Yaroslav Halchenko</name>
<email>debian@onerussian.com</email>
</author>
<published>2017-03-08T01:56:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=9ce2a4b235d2ebc38c3e081c1036e39bde9be036'/>
<id>9ce2a4b235d2ebc38c3e081c1036e39bde9be036</id>
<content type='text'>
Fixes my incorrect fix in #598
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes my incorrect fix in #598
</pre>
</div>
</content>
</entry>
<entry>
<title>BF: there is no exc variable, raising NotASurrogateError if that is the right thing todo</title>
<updated>2017-03-01T06:09:31+00:00</updated>
<author>
<name>Yaroslav Halchenko</name>
<email>debian@onerussian.com</email>
</author>
<published>2017-02-28T21:30:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=7e8412226ffe0c046177fa6d838362bfbde60cd0'/>
<id>7e8412226ffe0c046177fa6d838362bfbde60cd0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(surrogateescape): enable on py2, fix tests</title>
<updated>2016-10-16T13:09:38+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-10-16T13:09:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=9e4a4545dd513204efb6afe40e4b50c3b5f77e50'/>
<id>9e4a4545dd513204efb6afe40e4b50c3b5f77e50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(unicode): use surrogateescape in bytes.decode</title>
<updated>2016-10-16T12:34:03+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-10-16T12:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=93d530234a4f5533aa99c3b897bb56d375c2ae60'/>
<id>93d530234a4f5533aa99c3b897bb56d375c2ae60</id>
<content type='text'>
That way, we will try to decode as default encoding (usually
utf-8), but allow ourselves to simply keep bytes that don't
match within the resulting unicode string.

That way, we allow for lossless decode/encode cycles while still
assuring that decoding never fails.

NOTE: I was too lazy to create a test that would verify it, but manually
executed https://github.com/petertodd/gitpython-unicode-error.

fixes #532
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That way, we will try to decode as default encoding (usually
utf-8), but allow ourselves to simply keep bytes that don't
match within the resulting unicode string.

That way, we allow for lossless decode/encode cycles while still
assuring that decoding never fails.

NOTE: I was too lazy to create a test that would verify it, but manually
executed https://github.com/petertodd/gitpython-unicode-error.

fixes #532
</pre>
</div>
</content>
</entry>
<entry>
<title>src: No PyDev warnings</title>
<updated>2016-10-04T00:10:48+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-03T21:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=a469af892b3e929cbe9d29e414b6fcd59bec246e'/>
<id>a469af892b3e929cbe9d29e414b6fcd59bec246e</id>
<content type='text'>
+ Mark all unused vars and other non-pep8  (PyDev) warnings
+ test_utils:
  + enable &amp; fix forgotten IterableList looped path.
  + unittestize all assertions.
+ remote: minor fix progress dispatching unknown err-lines
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ Mark all unused vars and other non-pep8  (PyDev) warnings
+ test_utils:
  + enable &amp; fix forgotten IterableList looped path.
  + unittestize all assertions.
+ remote: minor fix progress dispatching unknown err-lines
</pre>
</div>
</content>
</entry>
<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>FIX hook TC on PY3+Win &amp; indeterministic lock timing.</title>
<updated>2016-09-28T23:46:15+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-09-28T23:07:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=395955609dfd711cc4558e2b618450f3514b28c1'/>
<id>395955609dfd711cc4558e2b618450f3514b28c1</id>
<content type='text'>
+ Cannot `index.path` into ENV, it is bytes!
+ The hook TC never runs on linux!
+ Unblock removal of odbfile in perf-large streams TC.
+ Attempt to unblock removal of submodule file by intensive cleaning.

more unblock files
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ Cannot `index.path` into ENV, it is bytes!
+ The hook TC never runs on linux!
+ Unblock removal of odbfile in perf-large streams TC.
+ Attempt to unblock removal of submodule file by intensive cleaning.

more unblock files
</pre>
</div>
</content>
</entry>
<entry>
<title>Win, hook, #519: Consume Hook Popen-proc out of GIL</title>
<updated>2016-09-28T01:35:39+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-09-27T23:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=cf2335af23fb693549d6c4e72b65f97afddc5f64'/>
<id>cf2335af23fb693549d6c4e72b65f97afddc5f64</id>
<content type='text'>
+ HookException thrown on Popen, and were missed on Windows.
+ No SHELL on Popen??
+ Minor fixes:
  + Try harder to delete trees - no remorses.
  + Simplify exception reprs.
  + Unittest-ize test_index assertions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ HookException thrown on Popen, and were missed on Windows.
+ No SHELL on Popen??
+ Minor fixes:
  + Try harder to delete trees - no remorses.
  + Simplify exception reprs.
  + Unittest-ize test_index assertions.</pre>
</div>
</content>
</entry>
<entry>
<title>Win, #519: Ensure fixtures &amp; bashscript checked-out eol=lf</title>
<updated>2016-09-28T01:35:38+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-09-27T15:09:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4cede2368aa980e30340f0ed0a1906d65fe1046c'/>
<id>4cede2368aa980e30340f0ed0a1906d65fe1046c</id>
<content type='text'>
+ FIX all Diff TCs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
+ FIX all Diff TCs.
</pre>
</div>
</content>
</entry>
</feed>
