<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git/gitlab, branch feat/all-audit-events</title>
<subtitle>github.com: gpocentek/python-gitlab.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/'/>
<entry>
<title>feat(objects): add support for group audit events API</title>
<updated>2021-03-07T14:00:06+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-07T11:50:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=2a0fbdf9fe98da6c436230be47b0ddb198c7eca9'/>
<id>2a0fbdf9fe98da6c436230be47b0ddb198c7eca9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test(objects): add unit test for instance audit events</title>
<updated>2021-03-07T11:44:59+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-07T11:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=84e3247d0cd3ddb1f3aa0ac91fb977c3e1e197b5'/>
<id>84e3247d0cd3ddb1f3aa0ac91fb977c3e1e197b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: import audit events in objects</title>
<updated>2021-03-07T11:30:44+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-07T11:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=35a190cfa0902d6a298aba0a3135c5a99edfe0fa'/>
<id>35a190cfa0902d6a298aba0a3135c5a99edfe0fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(objects): add single get endpoint for instance audit events</title>
<updated>2021-03-07T11:24:45+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-07T11:24:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=c3f0a6f158fbc7d90544274b9bf09d5ac9ac0060'/>
<id>c3f0a6f158fbc7d90544274b9bf09d5ac9ac0060</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(objects): move instance audit events where they belong</title>
<updated>2021-03-07T11:23:39+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-07T11:23:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=48ba88ffb983207da398ea2170c867f87a8898e9'/>
<id>48ba88ffb983207da398ea2170c867f87a8898e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1336 from em-/fix/quote-everything</title>
<updated>2021-03-06T23:32:16+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-06T23:32:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=48fc907403b630f069dfd63fada73f96a8c6e983'/>
<id>48fc907403b630f069dfd63fada73f96a8c6e983</id>
<content type='text'>
fix: handle tags like debian/2%2.6-21 as identifiers</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix: handle tags like debian/2%2.6-21 as identifiers</pre>
</div>
</content>
</entry>
<entry>
<title>chore: add type-hints for gitlab/mixins.py</title>
<updated>2021-03-06T20:13:50+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2021-02-27T01:10:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=baea7215bbbe07c06b2ca0f97a1d3d482668d887'/>
<id>baea7215bbbe07c06b2ca0f97a1d3d482668d887</id>
<content type='text'>
  * Added type-hints for gitlab/mixins.py
  * Changed use of filter with a lambda expression to
    list-comprehension. mypy was not able to understand the previous
    code. Also list-comprehension is better :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  * Added type-hints for gitlab/mixins.py
  * Changed use of filter with a lambda expression to
    list-comprehension. mypy was not able to understand the previous
    code. Also list-comprehension is better :)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1353 from JohnVillalovos/jlvillal/mypy_base</title>
<updated>2021-03-06T19:58:52+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-06T19:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=ebdfec7ee66c1cc64024fe52b2b0821d51779c2a'/>
<id>ebdfec7ee66c1cc64024fe52b2b0821d51779c2a</id>
<content type='text'>
chore: add type hints to gitlab/base.py:RESTManager</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
chore: add type hints to gitlab/base.py:RESTManager</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1350 from JohnVillalovos/jlvillal/isinstance</title>
<updated>2021-03-06T17:57:08+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-03-06T17:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=c530f75a3f356e2fc9732c6a3688881e453115e7'/>
<id>c530f75a3f356e2fc9732c6a3688881e453115e7</id>
<content type='text'>
chore: Put assert statements inside 'if TYPE_CHECKING:'</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
chore: Put assert statements inside 'if TYPE_CHECKING:'</pre>
</div>
</content>
</entry>
<entry>
<title>fix: handle tags like debian/2%2.6-21 as identifiers</title>
<updated>2021-03-05T00:04:00+00:00</updated>
<author>
<name>Emanuele Aina</name>
<email>emanuele.aina@collabora.com</email>
</author>
<published>2021-02-25T21:53:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=b4dac5ce33843cf52badeb9faf0f7f52f20a9a6a'/>
<id>b4dac5ce33843cf52badeb9faf0f7f52f20a9a6a</id>
<content type='text'>
Git refnames are relatively free-form and can contain all sort for
special characters, not just `/` and `#`, see
http://git-scm.com/docs/git-check-ref-format

In particular, Debian's DEP-14 standard for storing packaging in git
repositories mandates the use of the `%` character in tags in some
cases like `debian/2%2.6-21`.

Unfortunately python-gitlab currently only escapes `/` to `%2F` and in
some cases `#` to `%23`. This means that when using the commit API to
retrieve information about the `debian/2%2.6-21` tag only the slash is
escaped before being inserted in the URL path and the `%` is left
untouched, resulting in something like
`/api/v4/projects/123/repository/commits/debian%2F2%2.6-21`. When
urllib3 seees that it detects the invalid `%` escape and then urlencodes
the whole string, resulting in
`/api/v4/projects/123/repository/commits/debian%252F2%252.6-21`, where
the original `/` got escaped twice and produced `%252F`.

To avoid the issue, fully urlencode identifiers and parameters to avoid
the urllib3 auto-escaping in all cases.

Signed-off-by: Emanuele Aina &lt;emanuele.aina@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Git refnames are relatively free-form and can contain all sort for
special characters, not just `/` and `#`, see
http://git-scm.com/docs/git-check-ref-format

In particular, Debian's DEP-14 standard for storing packaging in git
repositories mandates the use of the `%` character in tags in some
cases like `debian/2%2.6-21`.

Unfortunately python-gitlab currently only escapes `/` to `%2F` and in
some cases `#` to `%23`. This means that when using the commit API to
retrieve information about the `debian/2%2.6-21` tag only the slash is
escaped before being inserted in the URL path and the `%` is left
untouched, resulting in something like
`/api/v4/projects/123/repository/commits/debian%2F2%2.6-21`. When
urllib3 seees that it detects the invalid `%` escape and then urlencodes
the whole string, resulting in
`/api/v4/projects/123/repository/commits/debian%252F2%252.6-21`, where
the original `/` got escaped twice and produced `%252F`.

To avoid the issue, fully urlencode identifiers and parameters to avoid
the urllib3 auto-escaping in all cases.

Signed-off-by: Emanuele Aina &lt;emanuele.aina@collabora.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
