<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git/gitlab/v4/objects, branch feat/create-delete-token</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): support Create and Revoke personal access token API</title>
<updated>2021-09-13T06:55:22+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-12T18:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=4e8e4b4101059eee43c4c012b131355428ebc4f7'/>
<id>4e8e4b4101059eee43c4c012b131355428ebc4f7</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): rename confusing `to_project_id` argument</title>
<updated>2021-09-11T16:17:18+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-11T15:58:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=ce4bc0daef355e2d877360c6e496c23856138872'/>
<id>ce4bc0daef355e2d877360c6e496c23856138872</id>
<content type='text'>
BREAKING CHANGE: rename confusing `to_project_id` argument in transfer_project
to `project_id` (`--project-id` in CLI). This is used for the source project,
not for the target namespace.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: rename confusing `to_project_id` argument in transfer_project
to `project_id` (`--project-id` in CLI). This is used for the source project,
not for the target namespace.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(objects): remove deprecated constants defined in objects</title>
<updated>2021-09-11T14:14:46+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>hab.nejc@gmail.com</email>
</author>
<published>2021-09-08T21:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=3f320af347df05bba9c4d0d3bdb714f7b0f7b9bf'/>
<id>3f320af347df05bba9c4d0d3bdb714f7b0f7b9bf</id>
<content type='text'>
BREAKING CHANGE: remove deprecated constants defined in
gitlab.v4.objects, and use only gitlab.const module
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BREAKING CHANGE: remove deprecated constants defined in
gitlab.v4.objects, and use only gitlab.const module
</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://trove.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://trove.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://trove.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://trove.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://trove.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://trove.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://trove.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>
</feed>
