<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/git/objects, branch 3.1.31</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Fix timezone parsing functions for non-hour timezones</title>
<updated>2023-01-24T12:41:24+00:00</updated>
<author>
<name>James Cowgill</name>
<email>jcowgill@jcowgill.uk</email>
</author>
<published>2023-01-24T12:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=854a2d1f7fde596babe85ba9f76f282e9d53086d'/>
<id>854a2d1f7fde596babe85ba9f76f282e9d53086d</id>
<content type='text'>
The `utctz_to_altz` and `altz_to_utctz_str` functions fail to handle
timezones with UTC offsets that are not a multiple of one
hour. Rewrite them and add some unit tests.

Fixes #630
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `utctz_to_altz` and `altz_to_utctz_str` functions fail to handle
timezones with UTC offsets that are not a multiple of one
hour. Rewrite them and add some unit tests.

Fixes #630
</pre>
</div>
</content>
</entry>
<entry>
<title>fix files list on file rename</title>
<updated>2023-01-13T14:41:08+00:00</updated>
<author>
<name>Matteo Croce</name>
<email>teknoraver@meta.com</email>
</author>
<published>2023-01-11T18:13:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=c9b44d29d656e92bb08fa41bcc2c31b2a2a2607b'/>
<id>c9b44d29d656e92bb08fa41bcc2c31b2a2a2607b</id>
<content type='text'>
GitPython parses the output of `git diff --numstat` to get the
files changed in a commit.
This breaks when a commit contains a file rename, because the output
of `git diff` is different than expected.
This is the output of a normal commit:

    $ git diff --numstat 8f41a390bf9a^ 8f41a390bf9a
    30      5       test/test_repo.py

And this a commit containing a rename:

    $ git diff --numstat 185d847ec764^ 185d847ec764
    3       1       .github/workflows/{test_pytest.yml =&gt; Future.yml}

This can be triggered by this code:

    for commit in repo.iter_commits():
        print(commit.hexsha)
            for file in commit.stats.files:
                print(file)

Which will print for the normal commit:

    8f41a390bf9a54db6f85032bc56b453307b95451
    'test/test_repo.py'

And when there is a rename:

    185d847ec7647fd2642a82d9205fb3d07ea71715
    '.github/workflows/{test_pytest.yml =&gt; Future.yml}'

Additionally, when a path member is removed, the file list become
a list of strings, breaking even more the caller. This is in the
Linux kernel tree:

    $ git diff --numstat db401875f438^ db401875f438
    1       1       tools/testing/selftests/drivers/net/mlxsw/{spectrum-2 =&gt; }/devlink_trap_tunnel_ipip6.sh

and GitPython parses it as:

    db401875f438168c5804b295b93a28c7730bb57a
    ('tools/testing/selftests/drivers/net/mlxsw/{spectrum-2 =&gt; '
    '}/devlink_trap_tunnel_ipip6.sh')

Fix this by pasing the --no-renames option to `git diff` which ignores
renames and print the same output as if the file was deleted from the
old path and created in the new one:

    $ git diff --numstat --no-renames 185d847ec764^ 185d847ec764
    57      0       .github/workflows/Future.yml
    0       55      .github/workflows/test_pytest.yml
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GitPython parses the output of `git diff --numstat` to get the
files changed in a commit.
This breaks when a commit contains a file rename, because the output
of `git diff` is different than expected.
This is the output of a normal commit:

    $ git diff --numstat 8f41a390bf9a^ 8f41a390bf9a
    30      5       test/test_repo.py

And this a commit containing a rename:

    $ git diff --numstat 185d847ec764^ 185d847ec764
    3       1       .github/workflows/{test_pytest.yml =&gt; Future.yml}

This can be triggered by this code:

    for commit in repo.iter_commits():
        print(commit.hexsha)
            for file in commit.stats.files:
                print(file)

Which will print for the normal commit:

    8f41a390bf9a54db6f85032bc56b453307b95451
    'test/test_repo.py'

And when there is a rename:

    185d847ec7647fd2642a82d9205fb3d07ea71715
    '.github/workflows/{test_pytest.yml =&gt; Future.yml}'

Additionally, when a path member is removed, the file list become
a list of strings, breaking even more the caller. This is in the
Linux kernel tree:

    $ git diff --numstat db401875f438^ db401875f438
    1       1       tools/testing/selftests/drivers/net/mlxsw/{spectrum-2 =&gt; }/devlink_trap_tunnel_ipip6.sh

and GitPython parses it as:

    db401875f438168c5804b295b93a28c7730bb57a
    ('tools/testing/selftests/drivers/net/mlxsw/{spectrum-2 =&gt; '
    '}/devlink_trap_tunnel_ipip6.sh')

Fix this by pasing the --no-renames option to `git diff` which ignores
renames and print the same output as if the file was deleted from the
old path and created in the new one:

    $ git diff --numstat --no-renames 185d847ec764^ 185d847ec764
    57      0       .github/workflows/Future.yml
    0       55      .github/workflows/test_pytest.yml
</pre>
</div>
</content>
</entry>
<entry>
<title>fix/add allow_unsafe_* params in docstrings + fix typo</title>
<updated>2023-01-08T03:44:28+00:00</updated>
<author>
<name>FC Stegerman</name>
<email>flx@obfusk.net</email>
</author>
<published>2023-01-08T03:44:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=4110b613833fb4039847ac80ca8571f4ec8ebe50'/>
<id>4110b613833fb4039847ac80ca8571f4ec8ebe50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Sphinx rendering errors</title>
<updated>2022-12-29T20:54:43+00:00</updated>
<author>
<name>Stephan Creutz</name>
<email>stephan.cr@gmx.de</email>
</author>
<published>2022-12-29T13:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=44636240a08bba4a13355a5a23543d537ff15576'/>
<id>44636240a08bba4a13355a5a23543d537ff15576</id>
<content type='text'>
These errors are mostly fixed by either adding blank lines or single
spaces for Sphinx documentation key words.

The commit solely includes documentation changes, no functional
changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These errors are mostly fixed by either adding blank lines or single
spaces for Sphinx documentation key words.

The commit solely includes documentation changes, no functional
changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>More tests</title>
<updated>2022-12-28T00:15:40+00:00</updated>
<author>
<name>Santos Gallegos</name>
<email>stsewd@proton.me</email>
</author>
<published>2022-12-28T00:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=c8ae33b9314a7d3716827b5cb705a3cd0a2e4a46'/>
<id>c8ae33b9314a7d3716827b5cb705a3cd0a2e4a46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add datetime.datetime type to commit_date and author_date</title>
<updated>2022-10-13T17:12:57+00:00</updated>
<author>
<name>SergeantMenacingGarlic</name>
<email>87030047+SergeantMenacingGarlic@users.noreply.github.com</email>
</author>
<published>2022-10-10T20:13:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=8f51abd30647c9dfe857621ab97f52d3e5f2fbd9'/>
<id>8f51abd30647c9dfe857621ab97f52d3e5f2fbd9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the same regex as the Actor class when determining co-authors.</title>
<updated>2022-08-24T18:05:45+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-24T18:05:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=09f8a1b7b674d6138b872643b13ffc5444fab24f'/>
<id>09f8a1b7b674d6138b872643b13ffc5444fab24f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update regex to extract the author string, and create the Actor using the _from_string classmethod.</title>
<updated>2022-08-23T18:52:11+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-23T18:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=c2fd97e374f9c1187f165b18651928c011e6f041'/>
<id>c2fd97e374f9c1187f165b18651928c011e6f041</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add co_authors property to the Commit object, which parses the commit message for designated co-authors, include a simple test.</title>
<updated>2022-08-22T17:00:37+00:00</updated>
<author>
<name>Twist</name>
<email>itsluketwist@gmail.com</email>
</author>
<published>2022-08-22T17:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=146cbdaffdd1b551e6689f162e26226d5a351d6e'/>
<id>146cbdaffdd1b551e6689f162e26226d5a351d6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>can flake be tamed?</title>
<updated>2022-05-18T00:15:17+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>sebastian.thiel@icloud.com</email>
</author>
<published>2022-05-18T00:07:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitpython.git/commit/?id=43c00af7e542911cce638cfab49c6a6dc9349e55'/>
<id>43c00af7e542911cce638cfab49c6a6dc9349e55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
