<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git/gitlab/v4, branch refactor/remove-deprecated-branch-protect</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>refactor(objects): remove deprecated branch protect methods</title>
<updated>2021-09-11T13:46:02+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-11T13:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=23434a3f94030f874131c8eb40d474c050ccbc91'/>
<id>23434a3f94030f874131c8eb40d474c050ccbc91</id>
<content type='text'>
BREAKING CHANGE: remove deprecated branch protect methods in favor of
the more complete protected branches API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: remove deprecated branch protect methods in favor of
the more complete protected branches API.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(objects): remove deprecated tag release API</title>
<updated>2021-09-09T03:16:21+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-08T22:06:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=2b8a94a77ba903ae97228e7ffa3cc2bf6ceb19ba'/>
<id>2b8a94a77ba903ae97228e7ffa3cc2bf6ceb19ba</id>
<content type='text'>
BREAKING CHANGE: remove deprecated tag release API.
This was removed in GitLab 14.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: remove deprecated tag release API.
This was removed in GitLab 14.0
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(objects): remove deprecated project.issuesstatistics</title>
<updated>2021-09-09T03:15:01+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-08T21:56:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=ca7777e0dbb82b5d0ff466835a94c99e381abb7c'/>
<id>ca7777e0dbb82b5d0ff466835a94c99e381abb7c</id>
<content type='text'>
BREAKING CHANGE: remove deprecated project.issuesstatistics
in favor of project.issues_statistics
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: remove deprecated project.issuesstatistics
in favor of project.issues_statistics
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(objects): remove deprecated members.all() method</title>
<updated>2021-09-09T03:14:08+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-08T21:51:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=4d7b848e2a826c58e91970a1d65ed7d7c3e07166'/>
<id>4d7b848e2a826c58e91970a1d65ed7d7c3e07166</id>
<content type='text'>
BREAKING CHANGE: remove deprecated members.all() method
in favor of members_all.list()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: remove deprecated members.all() method
in favor of members_all.list()
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(objects): remove deprecated pipelines() method</title>
<updated>2021-09-08T21:55:00+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-08T21:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=c4f5ec6c615e9f83d533a7be0ec19314233e1ea0'/>
<id>c4f5ec6c615e9f83d533a7be0ec19314233e1ea0</id>
<content type='text'>
BREAKING CHANGE: remove deprecated pipelines() methods in favor of pipelines.list()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: remove deprecated pipelines() methods in favor of pipelines.list()
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: convert to using type-annotations for managers</title>
<updated>2021-09-08T14:18:48+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2021-06-13T21:40:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=d8de4dc373dc608be6cf6ba14a2acc7efd3fa7a7'/>
<id>d8de4dc373dc608be6cf6ba14a2acc7efd3fa7a7</id>
<content type='text'>
Convert our manager usage to be done via type annotations.

Now to define a manager to be used in a RESTObject subclass can simply
do:
      class ExampleClass(CRUDMixin, RESTObject):
          my_manager: MyManager

Any type-annotation that annotates it to be of type *Manager (with the
exception of RESTManager) will cause the manager to be created on the
object.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert our manager usage to be done via type annotations.

Now to define a manager to be used in a RESTObject subclass can simply
do:
      class ExampleClass(CRUDMixin, RESTObject):
          my_manager: MyManager

Any type-annotation that annotates it to be of type *Manager (with the
exception of RESTManager) will cause the manager to be created on the
object.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: improve type-hinting for managers</title>
<updated>2021-09-07T15:19:39+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2021-06-12T22:05:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=c9b5d3bac8f7c1f779dd57653f718dd0fac4db4b'/>
<id>c9b5d3bac8f7c1f779dd57653f718dd0fac4db4b</id>
<content type='text'>
The 'managers' are dynamically created. This unfortunately means that
we don't have any type-hints for them and so editors which understand
type-hints won't know that they are valid attributes.

 * Add the type-hints for the managers we define.
 * Add a unit test that makes sure that the type-hints and the
   '_managers' attribute are kept in sync with each other.
 * Add unit test that makes sure specified managers in '_managers'
   have a name ending in 'Managers' to keep with current convention.
 * Make RESTObject._managers always present with a default value of
   None.
 * Fix a type-issue revealed now that mypy knows what the type is
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'managers' are dynamically created. This unfortunately means that
we don't have any type-hints for them and so editors which understand
type-hints won't know that they are valid attributes.

 * Add the type-hints for the managers we define.
 * Add a unit test that makes sure that the type-hints and the
   '_managers' attribute are kept in sync with each other.
 * Add unit test that makes sure specified managers in '_managers'
   have a name ending in 'Managers' to keep with current convention.
 * Make RESTObject._managers always present with a default value of
   None.
 * Fix a type-issue revealed now that mypy knows what the type is
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: correct documented return type</title>
<updated>2021-09-02T14:47:23+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2021-09-02T14:42:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=acabf63c821745bd7e43b7cd3d799547b65e9ed0'/>
<id>acabf63c821745bd7e43b7cd3d799547b65e9ed0</id>
<content type='text'>
repository_archive() returns 'bytes' not 'str'

https://docs.gitlab.com/ee/api/repositories.html#get-file-archive

Fixes: #1584
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
repository_archive() returns 'bytes' not 'str'

https://docs.gitlab.com/ee/api/repositories.html#get-file-archive

Fixes: #1584
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): do not require Release name for creation</title>
<updated>2021-07-27T20:46:16+00:00</updated>
<author>
<name>Eric Davies</name>
<email>iamed2@gmail.com</email>
</author>
<published>2021-07-27T18:51:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=98cd03b7a3085356b5f0f4fcdb7dc729b682f481'/>
<id>98cd03b7a3085356b5f0f4fcdb7dc729b682f481</id>
<content type='text'>
Stop requiring a `name` attribute for creating a Release, since a
release name has not been required since GitLab 12.5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stop requiring a `name` attribute for creating a Release, since a
release name has not been required since GitLab 12.5.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(api): add merge_ref for merge requests</title>
<updated>2021-07-21T15:02:57+00:00</updated>
<author>
<name>Matej Focko</name>
<email>mfocko@redhat.com</email>
</author>
<published>2021-07-16T10:02:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=1e24ab247cc783ae240e94f6cb379fef1e743a52'/>
<id>1e24ab247cc783ae240e94f6cb379fef1e743a52</id>
<content type='text'>
Support merge_ref on merge requests that returns commit of attempted
merge of the MR.

Signed-off-by: Matej Focko &lt;mfocko@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support merge_ref on merge requests that returns commit of attempted
merge of the MR.

Signed-off-by: Matej Focko &lt;mfocko@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
