summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | chore(deps): update dependency mypy to v0.902Renovate Bot2021-06-131-1/+1
|/ /
* | Merge pull request #1505 from JohnVillalovos/jlvillal/mypy-depsNejc Habjan2021-06-131-0/+2
|\ \ | | | | | | chore: add new required type packages for mypy
| * | chore: add new required type packages for mypyJohn L. Villalovos2021-06-081-0/+2
| | | | | | | | | | | | | | | New version of mypy flagged errors for missing types. Install the recommended type-* packages that resolve the issues.
* | | Merge pull request #1511 from JohnVillalovos/jlvillal/testing-type-hintsNejc Habjan2021-06-132-50/+115
|\ \ \ | | | | | | | | chore: add type-hints to gitlab/v4/objects/projects.py
| * | | chore: add type-hints to gitlab/v4/objects/projects.pyJohn L. Villalovos2021-06-122-50/+115
|/ / / | | | | | | | | | Adding type-hints to gitlab/v4/objects/projects.py
* | | chore: release v2.8.0v2.8.0github-actions2021-06-102-1/+37
| | |
* | | Merge pull request #1487 from JohnVillalovos/jlvillal/check_attrsNejc Habjan2021-06-102-0/+12
|\ \ \ | | | | | | | | fix: catch invalid type used to initialize RESTObject
| * | | fix: catch invalid type used to initialize RESTObjectJohn L. Villalovos2021-06-102-0/+12
|/ / / | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1489 from python-gitlab/chore/release-action-gh-tokenNejc Habjan2021-06-091-1/+2
|\ \ \ | | | | | | | | chore(ci): use PAT for release workflow
| * | | chore(ci): use admin PAT for release workflowNejc Habjan2021-06-011-1/+2
| | | |
* | | | 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