<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/__init__.py, branch 3.0.7</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>Fix exception on import in MacOS</title>
<updated>2018-06-05T09:41:14+00:00</updated>
<author>
<name>Erik Johnson</name>
<email>palehose@gmail.com</email>
</author>
<published>2018-06-01T14:57:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=ce5dfe7f95ac35263e41017c8a3c3c40c4333de3'/>
<id>ce5dfe7f95ac35263e41017c8a3c3c40c4333de3</id>
<content type='text'>
This is related to my fix in #658. Apparently, MacOS adds a git
executable that is just a stub which displays an error. This gets past
the try/except I added in #658, and allows all of the GitPython
components to be imported, but since the executable is not *actually*
git, it results in an exception when ``refresh()`` attemepts to run a
``git version``.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is related to my fix in #658. Apparently, MacOS adds a git
executable that is just a stub which displays an error. This gets past
the try/except I added in #658, and allows all of the GitPython
components to be imported, but since the executable is not *actually*
git, it results in an exception when ``refresh()`` attemepts to run a
``git version``.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into adding_setup_for_git_executable</title>
<updated>2017-09-28T13:13:15+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2017-09-28T13:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1'/>
<id>a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix GitError being raised in initial `import git`</title>
<updated>2017-08-10T21:09:35+00:00</updated>
<author>
<name>Erik Johnson</name>
<email>palehose@gmail.com</email>
</author>
<published>2017-08-10T21:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=0b6cde8de6d40715cf445cf1a5d77cd9befbf4d0'/>
<id>0b6cde8de6d40715cf445cf1a5d77cd9befbf4d0</id>
<content type='text'>
This catches any raise of one of the custom exceptions defined in
`git.exc` during the imports in the dunder init, and raises an
`ImportError` in those cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This catches any raise of one of the custom exceptions defined in
`git.exc` during the imports in the dunder init, and raises an
`ImportError` in those cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor additional cleanup</title>
<updated>2017-07-25T15:09:52+00:00</updated>
<author>
<name>Odegard, Ken</name>
<email>ken.odegard@gmail.com</email>
</author>
<published>2017-07-25T15:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=79a36a54b8891839b455c2f39c5d7bc4331a4e03'/>
<id>79a36a54b8891839b455c2f39c5d7bc4331a4e03</id>
<content type='text'>
Added additional information in the import warning/error that tells the
user how to silence the warning/error. Also added a GIT_OK variable
that allows for a quick check whether the refresh has succeeded instead
of needing to test an actual git command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added additional information in the import warning/error that tells the
user how to silence the warning/error. Also added a GIT_OK variable
that allows for a quick check whether the refresh has succeeded instead
of needing to test an actual git command.
</pre>
</div>
</content>
</entry>
<entry>
<title>Renamed refresh to setup and removed alias function &amp; added unittest</title>
<updated>2017-07-09T20:07:31+00:00</updated>
<author>
<name>Odegard, Ken</name>
<email>ken.odegard@gmail.com</email>
</author>
<published>2017-07-09T20:07:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=aba0494701292e916761076d6d9f8beafa44c421'/>
<id>aba0494701292e916761076d6d9f8beafa44c421</id>
<content type='text'>
Renamed to simplify and avoid issue with nose tests trying to use
`setup` as a setup for testing. Unittest implements basic test for
refreshing with a bad git path versus a good git path.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Renamed to simplify and avoid issue with nose tests trying to use
`setup` as a setup for testing. Unittest implements basic test for
refreshing with a bad git path versus a good git path.
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved setup function into top level __init__</title>
<updated>2017-07-09T17:53:38+00:00</updated>
<author>
<name>Odegard, Ken</name>
<email>ken.odegard@gmail.com</email>
</author>
<published>2017-07-09T17:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=feed81ea1a332dc415ea9010c8b5204473a51bdf'/>
<id>feed81ea1a332dc415ea9010c8b5204473a51bdf</id>
<content type='text'>
Discovered that the remote module also relies on the git executable as
such it also needs to be “refreshed” anytime the git executable is
updated or changed. This was best solved by moving the setup function
into the top level __init__ where the setup simply calls
git.cmd.Git.refresh and git.remote.FetchInfo.refresh.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discovered that the remote module also relies on the git executable as
such it also needs to be “refreshed” anytime the git executable is
updated or changed. This was best solved by moving the setup function
into the top level __init__ where the setup simply calls
git.cmd.Git.refresh and git.remote.FetchInfo.refresh.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(util): export rmtree() to facilitate del of tmp-repos on Windows</title>
<updated>2016-12-08T13:36:12+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-12-08T13:35:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=66306f1582754ca4527b76f09924820dc9c85875'/>
<id>66306f1582754ca4527b76f09924820dc9c85875</id>
<content type='text'>
Usecase described in #553</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Usecase described in #553</pre>
</div>
</content>
</entry>
<entry>
<title>src: import os.path as osp</title>
<updated>2016-10-16T00:46:31+00:00</updated>
<author>
<name>Kostis Anagnostopoulos</name>
<email>ankostis@gmail.com</email>
</author>
<published>2016-10-15T11:11:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=0210e394e0776d0b7097bf666bebd690ed0c0e4f'/>
<id>0210e394e0776d0b7097bf666bebd690ed0c0e4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>fix(externals): init external in dev mode only</title>
<updated>2015-04-07T16:39:26+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2015-04-07T16:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=ab7c3223076306ca71f692ed5979199863cf45a7'/>
<id>ab7c3223076306ca71f692ed5979199863cf45a7</id>
<content type='text'>
Previously it would always adjust your system path, which is bad
behaviour.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously it would always adjust your system path, which is bad
behaviour.
</pre>
</div>
</content>
</entry>
</feed>
