<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/test/test_fun.py, branch 3.1.19</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>improve index mode for files with executable bit</title>
<updated>2021-05-25T15:42:07+00:00</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2021-05-24T21:34:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=1a04c15b1f77f908b1dd3983a27ee49c41b3a3e5'/>
<id>1a04c15b1f77f908b1dd3983a27ee49c41b3a3e5</id>
<content type='text'>
The fix for #430 in bebc4f56 (Use correct mode for executable files,
2016-05-19) is incomplete.  It fails (in most cases) when files have
modes which are not exactly 0644 or 0755.

Git only cares whether the executable bit is set (or not).  Ensure the
mode we set for the index is either 100644 or 100755 based on whether
the executable bit is set for the file owner.  Do this similarly to how
upstream git does it in cache.h¹.

Add a test covering various file modes to help catch regressions.

Fixes #1253

¹ https://github.com/git/git/blob/v2.31.1/cache.h#L247
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix for #430 in bebc4f56 (Use correct mode for executable files,
2016-05-19) is incomplete.  It fails (in most cases) when files have
modes which are not exactly 0644 or 0755.

Git only cares whether the executable bit is set (or not).  Ensure the
mode we set for the index is either 100644 or 100755 based on whether
the executable bit is set for the file owner.  Do this similarly to how
upstream git does it in cache.h¹.

Add a test covering various file modes to help catch regressions.

Fixes #1253

¹ https://github.com/git/git/blob/v2.31.1/cache.h#L247
</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://trove.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://trove.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://trove.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://trove.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>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://trove.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://trove.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>
