summaryrefslogtreecommitdiff
path: root/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* chore: release v2.9.0v2.9.0github-actions2021-06-281-1/+1
|
* Merge pull request #1533 from sugonyak/add-group-hooksNejc Habjan2021-06-272-0/+54
|\ | | | | feat(api): add group hooks
| * feat(api): add group hooksIvan Sugonyak2021-06-262-0/+54
| |
* | feat(release): allow to update releasePierre Paques2021-06-261-3/+6
| | | | | | | | Release API now supports PUT.
* | Merge pull request #1396 from spyoungtech/merge_request_reviewersNejc Habjan2021-06-261-0/+2
|\ \ | |/ |/| feat(api): add support for creating/editing reviewers in project MRs
| * feat(api): remove responsibility for API inconsistencies for MR reviewersSpencer Phillip Young2021-06-161-16/+0
| |
| * feat(api): add support for creating/editing reviewers in project merge requestsSpencer Young2021-05-311-0/+18
| |
* | docs: make Gitlab class usable for intersphinxNejc Habjan2021-06-143-12/+53
| |
* | feat(api): add MR pipeline manager in favor of pipelines() methodNejc Habjan2021-06-133-20/+45
| |
* | chore: add type-hints to gitlab/v4/objects/projects.pyJohn L. Villalovos2021-06-121-49/+114
| | | | | | | | Adding type-hints to gitlab/v4/objects/projects.py
* | chore: release v2.8.0v2.8.0github-actions2021-06-101-1/+1
| |
* | fix: catch invalid type used to initialize RESTObjectJohn L. Villalovos2021-06-101-0/+7
| | | | | | | | | | | | | | | | Sometimes we have errors where we don't get a dictionary passed to RESTObject.__init__() method. This breaks things but in confusing ways. Check in the __init__() method and raise an exception if it occurs.
* | chore: sync create and update attributes for ProjectsJohn L. Villalovos2021-06-031-81/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: add keys endpointBen Brown2021-06-033-0/+28
| |
* | feat(objects): add support for Group wikis (#1484)Simon Pamies2021-06-032-0/+20
| | | | | | feat(objects): add support for Group wikis
* | Merge pull request #1478 from benjamb/benbrown/keep-containersNejc Habjan2021-06-012-2/+2
|\ \ | | | | | | Optionally keep containers after running integration tests
| * | fix: ensure kwargs are passed appropriately for ObjectDeleteMixinBen Brown2021-06-011-1/+1
| | |
| * | docs: fix typo in http_delete docstringBen Brown2021-06-011-1/+1
| | |
* | | Merge pull request #1483 from JohnVillalovos/jlvillal/mypy_cliNejc Habjan2021-06-011-39/+120
|\ \ \ | |/ / |/| | chore: add type-hints to gitlab/v4/cli.py
| * | chore: add type-hints to gitlab/v4/cli.pyJohn L. Villalovos2021-05-311-39/+120
| |/ | | | | | | | | | | * 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
* | chore: add missing optional create parameter for approval_rulesJohn L. Villalovos2021-05-311-1/+2
| | | | | | | | | | | | | | 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
* | chore: apply typing suggestionsNejc Habjan2021-05-312-8/+12
| | | | | | | | Co-authored-by: John Villalovos <john@sodarock.com>
* | feat(objects): add support for generic packages APINejc Habjan2021-05-313-30/+157
|/
* feat(api): add deployment mergerequests interfaceLudwig Weiss2021-05-302-3/+34
|
* chore: apply suggestionsNejc Habjan2021-05-303-3/+4
|
* feat(objects): support all issues statistics endpointsNejc Habjan2021-05-303-0/+26
|
* feat(objects): add support for descendant groups APINejc Habjan2021-05-291-0/+17
|
* fix(cli): add missing list filter for jobsNejc Habjan2021-05-291-1/+1
|
* feat(objects): add pipeline test report supportRaphaƫl Monat2021-05-291-0/+14
|
* Merge pull request #1481 from JohnVillalovos/jlvillal/no_getmroNejc Habjan2021-05-291-12/+10
|\ | | | | chore: use built-in function issubclass() instead of getmro()
| * chore: use built-in function issubclass() instead of getmro()John L. Villalovos2021-05-281-12/+10
| | | | | | | | | | | | | | Code was using inspect.getmro() to replicate the functionality of the built-in function issubclass() Switch to using issubclass()
* | Merge pull request #1474 from JohnVillalovos/jlvillal/mv_unit_testsNejc Habjan2021-05-2955-5852/+0
|\ \ | | | | | | chore: move 'gitlab/tests/' dir to 'tests/unit/'
| * | chore: move 'gitlab/tests/' dir to 'tests/unit/'John L. Villalovos2021-05-2655-5852/+0
| |/ | | | | | | | | Move the 'gitlab/tests/' directory to 'tests/unit/' so we have all the tests located under the 'tests/' directory.
* | chore: correct a type-hintJohn L. Villalovos2021-05-281-1/+2
|/
* fix: change mr.merge() to use 'post_data'John L. Villalovos2021-05-251-1/+1
| | | | | | | | | | | | | | | | | | MR https://github.com/python-gitlab/python-gitlab/pull/1121 changed mr.merge() to use 'query_data'. This appears to have been wrong. From the Gitlab docs they state it should be sent in a payload body https://docs.gitlab.com/ee/api/README.html#request-payload since mr.merge() is a PUT request. > Request Payload > API Requests can use parameters sent as query strings or as a > payload body. GET requests usually send a query string, while PUT > or POST requests usually send the payload body Fixes: #1452 Related to: #1120
* feat(objects): add support for billable membersNejc Habjan2021-05-253-1/+92
|
* chore: fix import ordering using isortJohn L. Villalovos2021-05-2591-138/+80
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* test(cli): add more real class scenariosNejc Habjan2021-05-151-0/+6
|
* fix(cli): fix parsing CLI objects to classnamesNejc Habjan2021-05-153-19/+48
|
* feat: add feature to get inherited member for project/groupOleksii Shkurupii2021-05-074-55/+72
|
* Merge pull request #1420 from python-gitlab/fix/missing-list-attributesJohn Villalovos2021-05-0610-12/+62
|\ | | | | fix(objects): make lists work for filters in all objects
| * fix(objects): allow lists for filters for in all objectsfix/missing-list-attributesNejc Habjan2021-04-2710-12/+62
| |
* | Merge pull request #1444 from python-gitlab/fix/return-retry-cancel-outputMax Wittig2021-05-024-4/+196
|\ \ | | | | | | fix(objects): return server data in cancel/retry methods
| * | fix(objects): return server data in cancel/retry methodsNejc Habjan2021-05-024-4/+196
| | |
* | | Merge pull request #1409 from JohnVillalovos/jlvillal/untyped_defsNejc Habjan2021-05-017-53/+75
|\ \ \ | |/ / |/| | chore: mypy: Disallow untyped definitions
| * | chore: mypy: Disallow untyped definitionsJohn L. Villalovos2021-04-277-53/+75
| |/ | | | | | | | | | | | | | | | | Be more strict and don't allow untyped definitions on the files we check. Also this adds type-hints for two of the decorators so that now functions/methods decorated by them will have their types be revealed correctly.
* | Merge pull request #1438 from python-gitlab/fix/missing-group-attributesJohn Villalovos2021-05-011-0/+9
|\ \ | | | | | | fix(objects): add missing group attributes
| * | fix(objects): add missing group attributesNejc Habjan2021-05-011-0/+9
| | |
* | | feat: add code owner approval as attributeDaniel Lanner2021-04-301-0/+1
|/ / | | | | | | | | The python API was missing the field code_owner_approval_required as implemented in the GitLab REST API.
* | feat: indicate that we are a typed packageJohn L. Villalovos2021-04-271-0/+0
|/ | | | | | | | By adding the file: py.typed it indicates that python-gitlab is a typed package and contains type-hints. https://www.python.org/dev/peps/pep-0561/