<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/test/test_util.py, branch 3.1.12</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>Fix default actor name handling</title>
<updated>2020-10-23T11:28:07+00:00</updated>
<author>
<name>Athos Ribeiro</name>
<email>athos@redhat.com</email>
</author>
<published>2020-10-23T10:00:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=08989071e8c47bb75f3a5f171d821b805380baef'/>
<id>08989071e8c47bb75f3a5f171d821b805380baef</id>
<content type='text'>
In c96476b, the new default_name nested function does not contain a
retun statement. This leads to an issue when the environment variables
are not present, where the actor name would not be set.

Signed-off-by: Athos Ribeiro &lt;athos@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In c96476b, the new default_name nested function does not contain a
retun statement. This leads to an issue when the environment variables
are not present, where the actor name would not be set.

Signed-off-by: Athos Ribeiro &lt;athos@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Get system user id in a lazy manner</title>
<updated>2020-10-22T06:17:36+00:00</updated>
<author>
<name>Athos Ribeiro</name>
<email>athos@redhat.com</email>
</author>
<published>2020-10-20T12:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c96476be7f10616768584a95d06cd1bddfe6d404'/>
<id>c96476be7f10616768584a95d06cd1bddfe6d404</id>
<content type='text'>
Calling getpass.getuser may lead to breakage in environments where there
is no entries in the /etc/passwd file for the current user.

Setting the environment variables for the git user configurations should
prevents GitPython from using values from /etc/passwd. However, doing so
will not prevent reading /etc/passwd and looking for an entry with the
current user UID.

This patch changes the behavior described above so GitPython will
perform a lazy evaluation of /etc/passwd, only doing so when the
environment variables for the git user configuration are not available.

Signed-off-by: Athos Ribeiro &lt;athos@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling getpass.getuser may lead to breakage in environments where there
is no entries in the /etc/passwd file for the current user.

Setting the environment variables for the git user configurations should
prevents GitPython from using values from /etc/passwd. However, doing so
will not prevent reading /etc/passwd and looking for an entry with the
current user UID.

This patch changes the behavior described above so GitPython will
perform a lazy evaluation of /etc/passwd, only doing so when the
environment variables for the git user configuration are not available.

Signed-off-by: Athos Ribeiro &lt;athos@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>accept datetime instances as dates</title>
<updated>2020-08-31T11:19:17+00:00</updated>
<author>
<name>Alba Mendez</name>
<email>me@alba.sh</email>
</author>
<published>2020-08-31T08:43:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=4a1991773b79c50d4828091f58d2e5b0077ade96'/>
<id>4a1991773b79c50d4828091f58d2e5b0077ade96</id>
<content type='text'>
There's no easy way to re-create a commit (i.e. for rewriting purposes), because dates must be formatted as strings, passed, then parsed back.

This patch allows parse_date() to accept datetime instances, such as those produced by from_timestamp() above.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no easy way to re-create a commit (i.e. for rewriting purposes), because dates must be formatted as strings, passed, then parsed back.

This patch allows parse_date() to accept datetime instances, such as those produced by from_timestamp() above.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: move to root dir</title>
<updated>2020-07-12T13:01:21+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@outlook.com</email>
</author>
<published>2020-07-10T16:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=0374d7cf84ecd8182b74a639fcfdb9eafddcfd15'/>
<id>0374d7cf84ecd8182b74a639fcfdb9eafddcfd15</id>
<content type='text'>
This should ensure that tests are NOT packaged into
release package by setuptools, as tests are development
only
+ fixtures after moving

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should ensure that tests are NOT packaged into
release package by setuptools, as tests are development
only
+ fixtures after moving

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert moving tests out of 'git' folder, related to #1030</title>
<updated>2020-07-12T10:04:26+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2020-07-12T10:04:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=d5f0d48745727684473cf583a002e2c31174de2d'/>
<id>d5f0d48745727684473cf583a002e2c31174de2d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: move to root dir</title>
<updated>2020-07-12T09:13:10+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@outlook.com</email>
</author>
<published>2020-07-10T16:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=5453888091a86472e024753962a7510410171cbc'/>
<id>5453888091a86472e024753962a7510410171cbc</id>
<content type='text'>
This should ensure that tests are NOT packaged into
release package by setuptools, as tests are development
only
+ fixtures after moving

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should ensure that tests are NOT packaged into
release package by setuptools, as tests are development
only
+ fixtures after moving

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Moved everything into the git subdirectory - some tests still need to be adjusted</title>
<updated>2010-11-25T16:01:25+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2010-11-25T16:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=cb68eef0865df6aedbc11cd81888625a70da6777'/>
<id>cb68eef0865df6aedbc11cd81888625a70da6777</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Actor: Moved it from git.objects.util to git.util, adjusted all imports accordingly. Added methods to Actor to retrieve the global committer and author information</title>
<updated>2010-11-23T20:14:59+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2010-11-23T20:14:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=a21a9f6f13861ddc65671b278e93cf0984adaa30'/>
<id>a21a9f6f13861ddc65671b278e93cf0984adaa30</id>
<content type='text'>
Reflog: implemented and tested append_entry method
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reflog: implemented and tested append_entry method
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated MANIFEST and setup to include fixtures. Adjusted includes in all tests to work with the new directory structure</title>
<updated>2010-11-21T20:34:33+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2010-11-21T19:16:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=9ca0f897376e765989e92e44628228514f431458'/>
<id>9ca0f897376e765989e92e44628228514f431458</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>flattened test folder structure, didn't adjust any file content yet</title>
<updated>2010-11-21T18:19:04+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2010-11-21T18:19:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=e6019e16d5a74dc49eb7129ee7fd78b4de51dac2'/>
<id>e6019e16d5a74dc49eb7129ee7fd78b4de51dac2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
