summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | fix: functional project service test (#1500)John Villalovos2021-06-093-3/+8
| | | | | | | | | | | | chore: fix functional project service test
* | | | Merge pull request #1499 from JohnVillalovos/jlvillal/projects_attrsMax Wittig2021-06-091-81/+99
|\ \ \ \ | |_|/ / |/| | | chore: sync create and update attributes for Projects
| * | | 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
* | | Merge pull request #1490 from benjamb/benbrown/keysNejc Habjan2021-06-037-0/+153
|\ \ \ | | | | | | | | feat: add keys endpoint
| * | | feat: add keys endpointBen Brown2021-06-037-0/+153
|/ / /
* | | feat(objects): add support for Group wikis (#1484)Simon Pamies2021-06-034-4/+55
| | | | | | | | | feat(objects): add support for Group wikis
* | | chore: add missing linters to pre-commit and pin versionsNejc Habjan2021-06-023-4/+15
|/ /
* | Merge pull request #1478 from benjamb/benbrown/keep-containersNejc Habjan2021-06-017-12/+52
|\ \ | | | | | | Optionally keep containers after running integration tests
| * | fix: ensure kwargs are passed appropriately for ObjectDeleteMixinBen Brown2021-06-011-1/+1
| | |
| * | test(functional): force delete users on resetBen Brown2021-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | Timing issues between requesting group deletion and GitLab enacting that deletion resulted in errors while attempting to delete a user which was the sole owner of said group (see: test_groups). Pass the 'hard_delete' parameter to ensure user deletion.
| * | docs: fix typo in http_delete docstringBen Brown2021-06-011-1/+1
| | |
| * | test(api): fix issues testBen Brown2021-06-011-3/+3
| | | | | | | | | | | | Was incorrectly using the issue 'id' vs 'iid'.
| * | test(functional): explicitly remove deploy tokens on resetBen Brown2021-06-011-0/+4
| | | | | | | | | | | | | | | Deploy tokens would remain in the instance if the respective project or group was deleted without explicitly revoking the deploy tokens first.
| * | test(cli): replace assignment expressionBen Brown2021-06-011-5/+3
| | | | | | | | | | | | | | | This is a feature added in 3.8, removing it allows for the test to run with lower python versions.
| * | test(functional): optionally keep containers running post-testsBen Brown2021-06-013-1/+39
| | | | | | | | | | | | | | | | | | Additionally updates token creation to make use of `first_or_create()`, to avoid errors from the script caused by GitLab constraints preventing duplicate tokens with the same value.
* | | Merge pull request #1483 from JohnVillalovos/jlvillal/mypy_cliNejc Habjan2021-06-012-40/+121
|\ \ \ | |/ / |/| | chore: add type-hints to gitlab/v4/cli.py
| * | chore: add type-hints to gitlab/v4/cli.pyJohn L. Villalovos2021-05-312-40/+121
| |/ | | | | | | | | | | * 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
* | Merge pull request #1488 from JohnVillalovos/jlvillal/add_missing_optionNejc Habjan2021-06-011-1/+2
|\ \ | | | | | | chore: add missing optional create parameter for approval_rules
| * | 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-318-33/+378
|/
* feat(api): add deployment mergerequests interfaceLudwig Weiss2021-05-304-3/+112
|
* chore(ci): ignore .python-version from pyenvLudwig Weiss2021-05-301-0/+1
|
* chore: apply suggestionsNejc Habjan2021-05-305-18/+27
|
* feat(objects): support all issues statistics endpointsNejc Habjan2021-05-306-29/+96
|
* feat(objects): add support for descendant groups APINejc Habjan2021-05-294-0/+101
|
* chore: clean up tox, pre-commit and requirementsNejc Habjan2021-05-2911-51/+46
|
* fix(cli): add missing list filter for jobsNejc Habjan2021-05-291-1/+1
|
* Merge pull request #1249 from rmonat/masterNejc Habjan2021-05-293-1/+90
|\ | | | | feat: add pipeline test report support
| * feat(objects): add pipeline test report supportRaphaƫl Monat2021-05-293-1/+90
|/
* Merge pull request #1475 from JohnVillalovos/jlvillal/gitignoreNejc Habjan2021-05-291-0/+11
|\ | | | | chore: make certain dotfiles searchable by ripgrep
| * chore: make certain dotfiles searchable by ripgrepJohn L. Villalovos2021-05-291-0/+11
| | | | | | | | | | | | | | | | By explicitly NOT excluding the dotfiles we care about to the .gitignore file we make those files searchable by tools like ripgrep. By default dotfiles are ignored by ripgrep and other search tools (not grep)
* | 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-2957-3/+3
|\ \ | | | | | | chore: move 'gitlab/tests/' dir to 'tests/unit/'
| * | chore: move 'gitlab/tests/' dir to 'tests/unit/'John L. Villalovos2021-05-2657-3/+3
| |/ | | | | | | | | Move the 'gitlab/tests/' directory to 'tests/unit/' so we have all the tests located under the 'tests/' directory.
* | Merge pull request #1480 from JohnVillalovos/jlvillal/fix_hintNejc Habjan2021-05-291-1/+2
|\ \ | |/ |/| chore: correct a type-hint
| * chore: correct a type-hintJohn L. Villalovos2021-05-281-1/+2
|/
* Merge pull request #1469 from JohnVillalovos/jlvillal/test_directoryNejc Habjan2021-05-2630-5/+5
|\ | | | | chore: rename 'tools/functional/' to 'tests/functional/'
| * chore: rename 'tools/functional/' to 'tests/functional/'John L. Villalovos2021-05-2630-5/+5
|/ | | | | | | | | Rename the 'tools/functional/' directory to 'tests/functional/' This makes more sense as these are functional tests and not tools. This was dicussed in: https://github.com/python-gitlab/python-gitlab/discussions/1468
* Merge pull request #1465 from JohnVillalovos/jlvillal/fix_1452_query_parametersNejc Habjan2021-05-263-1/+140
|\ | | | | Switch mr.merge() to use post_data (was using query_data)
| * chore: add a merge_request() pytest fixture and use itJohn L. Villalovos2021-05-252-82/+105
| | | | | | | | | | Added a pytest.fixture for merge_request(). Use this fixture in tools/functional/api/test_merge_requests.py
| * chore: simplify functional testsJohn L. Villalovos2021-05-251-59/+57
| | | | | | | | | | Add a helper function to have less code duplication in the functional testing.
| * 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
| * chore: add functional test mr.merge() with long commit messageJohn L. Villalovos2021-05-251-0/+59
| | | | | | | | | | | | | | | | | | | | Functional test to show that https://github.com/python-gitlab/python-gitlab/issues/1452 is fixed. Added a functional test to ensure that we can use large commit message (10_000+ bytes) in mr.merge() Related to: #1452
| * chore: add a functional test for issue #1120John L. Villalovos2021-05-251-0/+59
|/ | | | | | | | Going to switch to putting parameters from in the query string to having them in the 'data' body section. Add a functional test to make sure that we don't break anything. https://github.com/python-gitlab/python-gitlab/issues/1120
* Merge pull request #1456 from python-gitlab/feat/billable-membersJohn Villalovos2021-05-254-2/+111
|\ | | | | feat(objects): add support for billable members
| * feat(objects): add support for billable membersNejc Habjan2021-05-254-2/+111
|/
* Merge pull request #1463 from JohnVillalovos/jlvillal/isortNejc Habjan2021-05-2596-143/+96
|\ | | | | chore: add isort as a checker
| * chore: fix import ordering using isortJohn L. Villalovos2021-05-2595-143/+81
| | | | | | | | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/