<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git/gitlab, branch jlvillal/all_objects</title>
<subtitle>github.com: gpocentek/python-gitlab.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/'/>
<entry>
<title>fix: members: use new *All objects for *AllManager managers</title>
<updated>2022-01-12T02:38:32+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-12T02:38:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=88ac96d59c17eabb9d96f3e7a5907f235563e008'/>
<id>88ac96d59c17eabb9d96f3e7a5907f235563e008</id>
<content type='text'>
Change it so that:

  GroupMemberAllManager uses GroupMemberAll object
  ProjectMemberAllManager uses ProjectMemberAll object

Create GroupMemberAll and ProjectMemberAll objects that do not support
any Mixin type methods. Previously we were using GroupMember and
ProjectMember which support the `save()` and `delete()` methods but
those methods will not work with objects retrieved using the
`/members/all/` API calls.

`list()` API calls: [1]
  GET /groups/:id/members/all
  GET /projects/:id/members/all

`get()` API calls: [2]
  GET /groups/:id/members/all/:user_id
  GET /projects/:id/members/all/:user_id

Closes: #1825

[1] https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project-including-inherited-and-invited-members
[2] https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project-including-inherited-and-invited-members
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change it so that:

  GroupMemberAllManager uses GroupMemberAll object
  ProjectMemberAllManager uses ProjectMemberAll object

Create GroupMemberAll and ProjectMemberAll objects that do not support
any Mixin type methods. Previously we were using GroupMember and
ProjectMember which support the `save()` and `delete()` methods but
those methods will not work with objects retrieved using the
`/members/all/` API calls.

`list()` API calls: [1]
  GET /groups/:id/members/all
  GET /projects/:id/members/all

`get()` API calls: [2]
  GET /groups/:id/members/all/:user_id
  GET /projects/:id/members/all/:user_id

Closes: #1825

[1] https://docs.gitlab.com/ee/api/members.html#list-all-members-of-a-group-or-project-including-inherited-and-invited-members
[2] https://docs.gitlab.com/ee/api/members.html#get-a-member-of-a-group-or-project-including-inherited-and-invited-members
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: broken URL for FAQ about attribute-error-list</title>
<updated>2022-01-09T19:43:58+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-09T19:43:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=1863f30ea1f6fb7644b3128debdbb6b7bb218836'/>
<id>1863f30ea1f6fb7644b3128debdbb6b7bb218836</id>
<content type='text'>
The URL was missing a 'v' before the version number and thus the page
did not exist.

Previously the URL for python-gitlab 3.0.0 was:
https://python-gitlab.readthedocs.io/en/3.0.0/faq.html#attribute-error-list

Which does not exist.

Change it to:
https://python-gitlab.readthedocs.io/en/v3.0.0/faq.html#attribute-error-list
  add the 'v' --------------------------^
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The URL was missing a 'v' before the version number and thus the page
did not exist.

Previously the URL for python-gitlab 3.0.0 was:
https://python-gitlab.readthedocs.io/en/3.0.0/faq.html#attribute-error-list

Which does not exist.

Change it to:
https://python-gitlab.readthedocs.io/en/v3.0.0/faq.html#attribute-error-list
  add the 'v' --------------------------^
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: add support for Group Access Token API</title>
<updated>2022-01-09T16:44:09+00:00</updated>
<author>
<name>Fabio Huser</name>
<email>fabio.huser@siemens.com</email>
</author>
<published>2022-01-09T13:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=c01b7c494192c5462ec673848287ef2a5c9bd737'/>
<id>c01b7c494192c5462ec673848287ef2a5c9bd737</id>
<content type='text'>
See https://docs.gitlab.com/ee/api/group_access_tokens.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://docs.gitlab.com/ee/api/group_access_tokens.html
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1812 from python-gitlab/jlvillal/pprint</title>
<updated>2022-01-09T02:06:40+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-01-09T02:06:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=bdc19b162ca75c4a2eac70f3f9814ab31de97f7c'/>
<id>bdc19b162ca75c4a2eac70f3f9814ab31de97f7c</id>
<content type='text'>
chore: add `pprint()` and `pformat()` methods to RESTObject</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
chore: add `pprint()` and `pformat()` methods to RESTObject</pre>
</div>
</content>
</entry>
<entry>
<title>chore: add `pprint()` and `pformat()` methods to RESTObject</title>
<updated>2022-01-09T01:56:26+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-09T01:56:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=d69ba0479a4537bbc7a53f342661c1984382f939'/>
<id>d69ba0479a4537bbc7a53f342661c1984382f939</id>
<content type='text'>
This is useful in debugging and testing. As can easily print out the
values from an instance in a more human-readable form.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful in debugging and testing. As can easily print out the
values from an instance in a more human-readable form.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: remove custom URL encoding</title>
<updated>2022-01-09T00:13:59+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-09T00:10:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=3d49e5e6a2bf1c9a883497acb73d7ce7115b804d'/>
<id>3d49e5e6a2bf1c9a883497acb73d7ce7115b804d</id>
<content type='text'>
We were using `str.replace()` calls to take care of URL encoding
issues.

Switch them to use our `utils._url_encode()` function which itself uses
`urllib.parse.quote()`

Closes: #1356
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were using `str.replace()` calls to take care of URL encoding
issues.

Switch them to use our `utils._url_encode()` function which itself uses
`urllib.parse.quote()`

Closes: #1356
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: remove default arguments for mergerequests.merge()</title>
<updated>2022-01-08T23:07:25+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-08T23:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=8e589c43fa2298dc24b97423ffcc0ce18d911e3b'/>
<id>8e589c43fa2298dc24b97423ffcc0ce18d911e3b</id>
<content type='text'>
The arguments `should_remove_source_branch` and
`merge_when_pipeline_succeeds` are optional arguments. We should not
be setting any default value for them.

https://docs.gitlab.com/ee/api/merge_requests.html#accept-mr

Closes: #1750
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The arguments `should_remove_source_branch` and
`merge_when_pipeline_succeeds` are optional arguments. We should not
be setting any default value for them.

https://docs.gitlab.com/ee/api/merge_requests.html#accept-mr

Closes: #1750
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cli): url-encode path components of the URL</title>
<updated>2022-01-08T22:24:46+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-08T22:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=ac1c619cae6481833f5df91862624bf0380fef67'/>
<id>ac1c619cae6481833f5df91862624bf0380fef67</id>
<content type='text'>
In the CLI we need to make sure the components put into the path
portion of the URL are url-encoded. Otherwise they will be interpreted
as part of the path. For example can specify the project ID as a path,
but in the URL it must be url-encoded or it doesn't work.

Also stop adding the components of the path as query parameters in the
URL.

Closes: #783
Closes: #1498
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the CLI we need to make sure the components put into the path
portion of the URL are url-encoded. Otherwise they will be interpreted
as part of the path. For example can specify the project ID as a path,
but in the URL it must be url-encoded or it doesn't work.

Also stop adding the components of the path as query parameters in the
URL.

Closes: #783
Closes: #1498
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1809 from python-gitlab/jlvillal/list_api</title>
<updated>2022-01-08T20:29:30+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-01-08T20:29:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=d45b59e800a14460a1ecdad2d750e42aa99bb96e'/>
<id>d45b59e800a14460a1ecdad2d750e42aa99bb96e</id>
<content type='text'>
fix: change to `http_list` for some ProjectCommit methods</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix: change to `http_list` for some ProjectCommit methods</pre>
</div>
</content>
</entry>
<entry>
<title>fix: change to `http_list` for some ProjectCommit methods</title>
<updated>2022-01-08T20:20:16+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-08T20:20:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=497e860d834d0757d1c6532e107416c6863f52f2'/>
<id>497e860d834d0757d1c6532e107416c6863f52f2</id>
<content type='text'>
Fix the type-hints and use `http_list()` for the ProjectCommits methods:
   - diff()
   - merge_requests()
   - refs()

This will enable using the pagination support we have for lists.

Closes: #1805
Closes: #1231
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the type-hints and use `http_list()` for the ProjectCommits methods:
   - diff()
   - merge_requests()
   - refs()

This will enable using the pagination support we have for lists.

Closes: #1805
Closes: #1231
</pre>
</div>
</content>
</entry>
</feed>
