Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: add and document optional parameters for get MRjlvillal/rebase_in_progress | John L. Villalovos | 2021-12-23 | 1 | -0/+5 |
| | | | | | | | Add and document (some of the) optional parameters that can be done for a `project.merge_requests.get()` Closes #1775 | ||||
* | feat(api): support file format for repository archive | Max Ludwig | 2021-12-21 | 1 | -2/+6 |
| | |||||
* | feat: add support for `squash_option` in Projectsjlvillal/squash_option | John L. Villalovos | 2021-12-13 | 2 | -0/+3 |
| | | | | | | | There is an optional `squash_option` parameter which can be used when creating Projects and UserProjects. Closes #1744 | ||||
* | chore(api): temporarily remove topic delete endpoint | Nejc Habjan | 2021-12-11 | 1 | -3/+3 |
| | | | | It is not yet available upstream. | ||||
* | feat(api): add support for Topics API | Nejc Habjan | 2021-12-11 | 2 | -0/+28 |
| | |||||
* | Merge pull request #1710 from python-gitlab/jlvillal/get_without_id | Nejc Habjan | 2021-12-11 | 9 | -9/+85 |
|\ | | | | | chore: add get() methods for GetWithoutIdMixin based classes | ||||
| * | chore: add get() methods for GetWithoutIdMixin based classesjlvillal/get_without_id | John L. Villalovos | 2021-12-08 | 9 | -9/+85 |
| | | | | | | | | | | | | | | Add the get() methods for the GetWithoutIdMixin based classes. Update the tests/meta/test_ensure_type_hints.py tests to check to ensure that the get methods are defined with the correct return type. | ||||
* | | feat: add delete on package_file object | Simon Hébert-Deschamps | 2021-12-09 | 1 | -1/+1 |
|/ | |||||
* | chore: fix pylint error "expression-not-assigned" | John L. Villalovos | 2021-12-07 | 1 | -28/+20 |
| | | | | | | | | Fix pylint error "expression-not-assigned" and remove check from the disabled list. And I personally think it is much more readable now and is less lines of code. | ||||
* | chore: add initial pylint check | John L. Villalovos | 2021-12-07 | 2 | -13/+21 |
| | | | | | | Initial pylint check is added. A LONG list of disabled checks is also added. In the future we should work through the list and resolve the errors or disable them on a more granular level. | ||||
* | chore: enable 'warn_redundant_casts' for mypyjlvillal/mypy_strict_two_steps | John L. Villalovos | 2021-12-05 | 1 | -1/+1 |
| | | | | Enable 'warn_redundant_casts'for mypy and resolve one issue. | ||||
* | docs: use annotations for return typesdocs/sphinx-annotations | Nejc Habjan | 2021-12-01 | 24 | -77/+77 |
| | |||||
* | docs: only use type annotations for documentation | Nejc Habjan | 2021-11-28 | 22 | -209/+209 |
| | |||||
* | Merge pull request #1712 from StingRayZA/Epicnotes | Nejc Habjan | 2021-11-27 | 2 | -1/+86 |
|\ | | | | | feat(api): add support for epic notes | ||||
| * | feat(api): add support for epic notes | Raimund Hook | 2021-11-25 | 2 | -1/+86 |
| | | | | | | | | | | | | Added support for notes on group epics Signed-off-by: Raimund Hook <raimund.hook@exfo.com> | ||||
* | | feat: add support for `projects.groups.list()`jlvillal/project_groups | John L. Villalovos | 2021-11-26 | 1 | -0/+19 |
|/ | | | | | | Add support for `projects.groups.list()` endpoint. Closes #1717 | ||||
* | chore: add type-hints to gitlab/v4/objects/files.pyjlvillal/mypy_epics | John L. Villalovos | 2021-11-21 | 1 | -12/+58 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/labels.py | John L. Villalovos | 2021-11-21 | 1 | -6/+37 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/sidekiq.py | John L. Villalovos | 2021-11-21 | 1 | -4/+12 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/services.py | John L. Villalovos | 2021-11-21 | 1 | -5/+15 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/repositories.py | John L. Villalovos | 2021-11-21 | 1 | -13/+48 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/pipelines.py | John L. Villalovos | 2021-11-21 | 1 | -6/+30 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/milestones.py | John L. Villalovos | 2021-11-21 | 1 | -4/+22 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/jobs.py | John L. Villalovos | 2021-11-21 | 1 | -14/+55 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/issues.py | John L. Villalovos | 2021-11-21 | 1 | -6/+33 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/geo_nodes.py | John L. Villalovos | 2021-11-21 | 1 | -7/+23 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/epics.py | John L. Villalovos | 2021-11-21 | 1 | -2/+16 |
| | |||||
* | chore: add type-hints to gitlab/v4/objects/merge_request_approvals.pyjlvillal/mypy_merge_request_approvals | John L. Villalovos | 2021-11-16 | 1 | -11/+35 |
| | |||||
* | chore: ensure get() methods have correct type-hintsjlvillal/mypy_ensure_type_hints | John L. Villalovos | 2021-11-15 | 20 | -4/+349 |
| | | | | | | | | Fix classes which don't have correct 'get()' methods for classes derived from GetMixin. Add a unit test which verifies that classes have the correct return type in their 'get()' method. | ||||
* | chore: add type-hints to gitlab/v4/objects/snippets.pyjlvillal/mypy_snippets | John L. Villalovos | 2021-11-14 | 1 | -4/+32 |
| | |||||
* | refactor: use new-style formatting for named placeholders | Nejc Habjan | 2021-11-08 | 49 | -162/+146 |
| | |||||
* | chore: enforce type-hints on most files in gitlab/v4/objects/jlvillal/mypy_small_files_1 | John L. Villalovos | 2021-11-08 | 20 | -28/+211 |
| | | | | | | | * Add type-hints to some of the files in gitlab/v4/objects/ * Fix issues detected when adding type-hints * Changed mypy exclusion to explicitly list the 13 files that have not yet had type-hints added. | ||||
* | chore: add type hints for gitlab/v4/objects/commits.pyjlvillal/mypy_commits | John L. Villalovos | 2021-11-07 | 1 | -9/+24 |
| | |||||
* | chore: add type-hints to multiple files in gitlab/v4/objects/ | John L. Villalovos | 2021-11-07 | 6 | -4/+38 |
| | | | | | | | | | | | | | | | | | | | | Add and/or check type-hints for the following files gitlab.v4.objects.access_requests gitlab.v4.objects.applications gitlab.v4.objects.broadcast_messages gitlab.v4.objects.deployments gitlab.v4.objects.keys gitlab.v4.objects.merge_trains gitlab.v4.objects.namespaces gitlab.v4.objects.pages gitlab.v4.objects.personal_access_tokens gitlab.v4.objects.project_access_tokens gitlab.v4.objects.tags gitlab.v4.objects.templates gitlab.v4.objects.triggers Add a 'get' method with the correct type for Managers derived from GetMixin. | ||||
* | chore: add type-hints to gitlab/v4/objects/groups.py | John L. Villalovos | 2021-11-07 | 1 | -11/+44 |
| | | | | | | | * Add type-hints to gitlab/v4/objects/groups.py * Have share() function update object attributes. * Add 'get()' method so that type-checkers will understand that getting a group is of type Group. | ||||
* | chore: add type-hints to gitlab/v4/objects/merge_requests.pyjlvillal/mypy_merge_requests | John L. Villalovos | 2021-11-06 | 1 | -17/+50 |
| | | | | | | | | | | * Add type-hints to gitlab/v4/objects/merge_requests.py * Add return value to cancel_merge_when_pipeline_succeeds() function as GitLab docs show it returns a value. * Add return value to approve() function as GitLab docs show it returns a value. * Add 'get()' method so that type-checkers will understand that getting a project merge request is of type ProjectMergeRequest. | ||||
* | docs: add links to the GitLab API docsjlvillal/merge_requests_api | John L. Villalovos | 2021-11-05 | 1 | -0/+9 |
| | | | | | Add links to the GitLab API docs for merge_requests.py as it contains code which spans two different API documentation pages. | ||||
* | refactor: use f-strings for string formatting | Nejc Habjan | 2021-11-05 | 22 | -146/+140 |
| | |||||
* | Merge pull request #1646 from JacobHenner/add-merge-trains | Nejc Habjan | 2021-11-01 | 3 | -0/+21 |
|\ | | | | | feat(api): add merge trains | ||||
| * | feat(api): add merge trains | Jacob Henner | 2021-10-20 | 3 | -0/+21 |
| | | | | | | | | Add support for merge trains | ||||
* | | feat(api): add project milestone promotion | Raimund Hook | 2021-10-27 | 1 | -2/+3 |
| | | | | | | | | | | | | Adds promotion to Project Milestones Signed-off-by: Raimund Hook <raimund.hook@exfo.com> | ||||
* | | Merge pull request #1641 from JacobHenner/add-merge-request-approval-state | Nejc Habjan | 2021-10-20 | 2 | -0/+14 |
|\ \ | | | | | | | feat(api): add merge request approval state | ||||
| * | | feat(api): add merge request approval state | Jacob Henner | 2021-10-19 | 2 | -0/+14 |
| |/ | | | | | | | Add support for merge request approval state | ||||
* | | feat(api): add project label promotion | Raimund Hook | 2021-10-18 | 1 | -1/+4 |
| | | | | | | | | | | | | Adds a mixin that allows the /promote endpoint to be called. Signed-off-by: Raimund Hook <raimund.hook@exfo.com> | ||||
* | | fix(api): delete invalid 'project-runner get' command (#1628) | Léo GATELLIER | 2021-10-17 | 1 | -4/+5 |
| | | | | | | | | | | * fix(api): delete 'group-runner get' and 'group-runner delete' commands Co-authored-by: Léo GATELLIER <git@leogatellier.fr> | ||||
* | | feat(objects): support delete package files API | Nejc Habjan | 2021-10-14 | 1 | -1/+1 |
| | | |||||
* | | feat(objects): list starred projects of a user | Nejc Habjan | 2021-10-14 | 1 | -0/+34 |
|/ | |||||
* | chore(objects): remove non-existing trigger ownership method | Nejc Habjan | 2021-10-08 | 1 | -17/+1 |
| | |||||
* | Merge pull request #1515 from JohnVillalovos/jlvillal/mypy_v4_obj_users | Nejc Habjan | 2021-10-06 | 1 | -8/+15 |
|\ | | | | | chore: add type-hints to gitlab/v4/objects/users.py | ||||
| * | chore: add type-hints to gitlab/v4/objects/users.py | John L. Villalovos | 2021-09-07 | 1 | -8/+15 |
| | | | | | | | | Adding type-hints to gitlab/v4/objects/users.py |