<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git, branch jlvillal/return_save</title>
<subtitle>github.com: gpocentek/python-gitlab.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/'/>
<entry>
<title>chore(api): return result from `SaveMixin.save()`</title>
<updated>2022-01-13T22:26:38+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-13T22:26:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=4ce0a87bdb2baa5fa6859557c37ca9973b5c10b6'/>
<id>4ce0a87bdb2baa5fa6859557c37ca9973b5c10b6</id>
<content type='text'>
Return the new object data when calling `SaveMixin.save()`.

Also remove check for `None` value when calling
`self.manager.update()` as that method only returns a dictionary.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return the new object data when calling `SaveMixin.save()`.

Also remove check for `None` value when calling
`self.manager.update()` as that method only returns a dictionary.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1831 from python-gitlab/chore/ignore-coverage</title>
<updated>2022-01-13T20:30:56+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-01-13T20:30:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=8b14ff0756569dd0afdc364ed95f0bb7393d5407'/>
<id>8b14ff0756569dd0afdc364ed95f0bb7393d5407</id>
<content type='text'>
chore: ignore intermediate coverage artifacts</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
chore: ignore intermediate coverage artifacts</pre>
</div>
</content>
</entry>
<entry>
<title>chore: ignore intermediate coverage artifacts</title>
<updated>2022-01-13T19:57:30+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2022-01-10T01:13:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=110ae9100b407356925ac2d2ffc65e0f0d50bd70'/>
<id>110ae9100b407356925ac2d2ffc65e0f0d50bd70</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 #1819 from python-gitlab/jlvillal/encoded_id</title>
<updated>2022-01-13T19:48:24+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-01-13T19:48:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=bc488401143d486b6d7604b64689a61721b98ac3'/>
<id>bc488401143d486b6d7604b64689a61721b98ac3</id>
<content type='text'>
fix: use url-encoded ID in all paths</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix: use url-encoded ID in all paths</pre>
</div>
</content>
</entry>
<entry>
<title>chore: replace usage of utils._url_encode() with utils.EncodedId()</title>
<updated>2022-01-13T19:17:40+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-13T19:17:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=b07eece0a35dbc48076c9ec79f65f1e3fa17a872'/>
<id>b07eece0a35dbc48076c9ec79f65f1e3fa17a872</id>
<content type='text'>
utils.EncodedId() has basically the same functionalityy of using
utils._url_encode(). So remove utils._url_encode() as we don't need
it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
utils.EncodedId() has basically the same functionalityy of using
utils._url_encode(). So remove utils._url_encode() as we don't need
it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1827 from python-gitlab/jlvillal/all_objects</title>
<updated>2022-01-13T18:49:11+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-01-13T18:49:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=58e5b2528003d2ee6a55084cc32c6a4bf9aa5bd0'/>
<id>58e5b2528003d2ee6a55084cc32c6a4bf9aa5bd0</id>
<content type='text'>
fix: members: use new *All objects for *AllManager managers</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix: members: use new *All objects for *AllManager managers</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cli): add missing list filters for environments</title>
<updated>2022-01-13T18:48:34+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-01-13T17:04:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=6f64d4098ed4a890838c6cf43d7a679e6be4ac6c'/>
<id>6f64d4098ed4a890838c6cf43d7a679e6be4ac6c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: add EncodedId string class to use to hold URL-encoded paths</title>
<updated>2022-01-13T18:31:24+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-11T02:11:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=a2e7c383e10509b6eb0fa8760727036feb0807c8'/>
<id>a2e7c383e10509b6eb0fa8760727036feb0807c8</id>
<content type='text'>
Add EncodedId string class. This class returns a URL-encoded string
but ensures it will only URL-encode it once even if recursively
called.

Also added some functional tests of 'lazy' objects to make sure they
work.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add EncodedId string class. This class returns a URL-encoded string
but ensures it will only URL-encode it once even if recursively
called.

Also added some functional tests of 'lazy' objects to make sure they
work.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: use url-encoded ID in all paths</title>
<updated>2022-01-13T18:31:24+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-10T06:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=12435d74364ca881373d690eab89d2e2baa62a49'/>
<id>12435d74364ca881373d690eab89d2e2baa62a49</id>
<content type='text'>
Make sure all usage of the ID in the URL path is encoded. Normally it
isn't an issue as most IDs are integers or strings which don't contain
a slash ('/'). But when the ID is a string with a slash character it
will break things.

Add a test case that shows this fixes wikis issue with subpages which
use the slash character.

Closes: #1079
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure all usage of the ID in the URL path is encoded. Normally it
isn't an issue as most IDs are integers or strings which don't contain
a slash ('/'). But when the ID is a string with a slash character it
will break things.

Add a test case that shows this fixes wikis issue with subpages which
use the slash character.

Closes: #1079
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(members): use new *All objects for *AllManager managers</title>
<updated>2022-01-13T18:23:57+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-01-13T18:23:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/gitlab.git/commit/?id=755e0a32e8ca96a3a3980eb7d7346a1a899ad58b'/>
<id>755e0a32e8ca96a3a3980eb7d7346a1a899ad58b</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
Closes: #848

[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
Closes: #848

[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>
</feed>
