| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Adds promotion to Project Milestones
Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
|
|\
| |
| | |
feat(api): add merge request approval state
|
| |
| |
| |
| | |
Add support for merge request approval state
|
| |
| |
| |
| |
| |
| | |
Adds a mixin that allows the /promote endpoint to be called.
Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
|
| |
| |
| |
| |
| | |
* fix(api): delete 'group-runner get' and 'group-runner delete' commands
Co-authored-by: Léo GATELLIER <git@leogatellier.fr>
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
chore: add type-hints to gitlab/v4/objects/users.py
|
| |
| |
| |
| | |
Adding type-hints to gitlab/v4/objects/users.py
|
| |
| |
| |
| |
| | |
BREAKING CHANGE: remove deprecated branch protect methods in favor of
the more complete protected branches API.
|
| |
| |
| |
| |
| | |
BREAKING CHANGE: The deprecated `name_regex` attribute has been removed
in favor of `name_regex_delete`.
(see https://gitlab.com/gitlab-org/gitlab/-/commit/ce99813cf54)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There are small typos in:
- docs/gl_objects/deploy_tokens.rst
- gitlab/base.py
- gitlab/mixins.py
- gitlab/v4/objects/features.py
- gitlab/v4/objects/groups.py
- gitlab/v4/objects/packages.py
- gitlab/v4/objects/projects.py
- gitlab/v4/objects/sidekiq.py
- gitlab/v4/objects/todos.py
Fixes:
- Should read `treatment` rather than `reatment`.
- Should read `transferred` rather than `transfered`.
- Should read `registered` rather than `registred`.
- Should read `occurred` rather than `occured`.
- Should read `overridden` rather than `overriden`.
- Should read `marked` rather than `maked`.
- Should read `instantiate` rather than `instanciate`.
- Should read `function` rather than `fonction`.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
BREAKING CHANGE: remove deprecated constants defined in
gitlab.v4.objects, and use only gitlab.const module
|
| |
| |
| |
| |
| | |
BREAKING CHANGE: remove deprecated tag release API.
This was removed in GitLab 14.0
|
| |
| |
| |
| |
| | |
BREAKING CHANGE: remove deprecated project.issuesstatistics
in favor of project.issues_statistics
|
| |
| |
| |
| |
| | |
BREAKING CHANGE: remove deprecated members.all() method
in favor of members_all.list()
|
| |
| |
| |
| | |
BREAKING CHANGE: remove deprecated pipelines() methods in favor of pipelines.list()
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
repository_archive() returns 'bytes' not 'str'
https://docs.gitlab.com/ee/api/repositories.html#get-file-archive
Fixes: #1584
|
|
|
|
|
| |
Stop requiring a `name` attribute for creating a Release, since a
release name has not been required since GitLab 12.5.
|
|
|
|
|
|
|
| |
Support merge_ref on merge requests that returns commit of attempted
merge of the MR.
Signed-off-by: Matej Focko <mfocko@redhat.com>
|
| |
|
|\
| |
| | |
feat(api): add group hooks
|
| | |
|
| |
| |
| |
| | |
Release API now supports PUT.
|
|\ \
| |/
|/| |
feat(api): add support for creating/editing reviewers in project MRs
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Adding type-hints to gitlab/v4/objects/projects.py
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sync the create attributes with:
https://docs.gitlab.com/ee/api/projects.html#create-project
Sync the update attributes with documentation at:
https://docs.gitlab.com/ee/api/projects.html#edit-project
As a note the ordering of the attributes was done to match the
ordering of the attributes in the documentation.
Closes: #1497
|
| | |
|
| |
| |
| | |
feat(objects): add support for Group wikis
|
|\ \
| | |
| | | |
chore: add type-hints to gitlab/v4/cli.py
|
| |/
| |
| |
| |
| |
| | |
* Add type-hints to gitlab/v4/cli.py
* Add required type-hints to other files based on adding type-hints
to gitlab/v4/cli.py
|
| |
| |
| |
| |
| |
| |
| | |
Add missing optional create parameter ('protected_branch_ids') to the
project approvalrules.
https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
|
| |
| |
| |
| | |
Co-authored-by: John Villalovos <john@sodarock.com>
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|