<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/__init__.py, branch 3.1.15</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>add types to git.__init__, compat, db, diff, exc, util</title>
<updated>2021-03-16T22:08:20+00:00</updated>
<author>
<name>Yobmod</name>
<email>yobmod@gmail.com</email>
</author>
<published>2021-03-16T22:08:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5232c89de10872a6df6227c5dcea169bd1aa6550'/>
<id>5232c89de10872a6df6227c5dcea169bd1aa6550</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not break convention when updating sys.path</title>
<updated>2020-10-05T00:12:04+00:00</updated>
<author>
<name>Xavier Verges</name>
<email>xavier.verges@es.ibm.com</email>
</author>
<published>2020-10-04T18:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4ba76d683df326f2e6d4f519675baf86d0373abf'/>
<id>4ba76d683df326f2e6d4f519675baf86d0373abf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix exception causes all over the codebase</title>
<updated>2020-06-14T00:30:09+00:00</updated>
<author>
<name>Ram Rachum</name>
<email>ram@rachum.com</email>
</author>
<published>2020-06-13T20:29:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=411635f78229cdec26167652d44434bf8aa309ab'/>
<id>411635f78229cdec26167652d44434bf8aa309ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test for PyOxidizer and avoid trying to use __file__ if present</title>
<updated>2020-04-11T06:48:00+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2020-04-11T06:48:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=466ed9c7a6a9d6d1a61e2c5dbe6f850ee04e8b90'/>
<id>466ed9c7a6a9d6d1a61e2c5dbe6f850ee04e8b90</id>
<content type='text'>
Fixes #1002
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1002
</pre>
</div>
</content>
</entry>
<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://git.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://git.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://git.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://git.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://git.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://git.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>
</feed>
