Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore: consolidate license and authors | Nejc Habjan | 2022-08-04 | 2 | -35/+0 |
| | |||||
* | Merge pull request #2211 from python-gitlab/jlvillal/mypy_step_step | Nejc Habjan | 2022-08-01 | 4 | -9/+21 |
|\ | | | | | chore: enable mypy check `disallow_any_generics` | ||||
| * | chore: enable mypy check `disallow_any_generics` | John L. Villalovos | 2022-08-01 | 4 | -9/+21 |
| | | |||||
* | | chore: enable mypy check `no_implicit_optional` | John L. Villalovos | 2022-07-31 | 3 | -3/+3 |
|/ | |||||
* | chore: change `_repr_attr` for Project to be `path_with_namespace` | John L. Villalovos | 2022-07-29 | 1 | -1/+1 |
| | | | | | | | Previously `_repr_attr` was `path` but that only gives the basename of the path. So https://gitlab.com/gitlab-org/gitlab would only show "gitlab". Using `path_with_namespace` it will now show "gitlab-org/gitlab" | ||||
* | Merge pull request #2199 from orf/patch-1 | Nejc Habjan | 2022-07-29 | 1 | -3/+7 |
|\ | | | | | Support downloading archive subpaths | ||||
| * | feat: Support downloading archive subpaths | Tom Forbes | 2022-07-29 | 1 | -3/+7 |
| | | |||||
* | | Merge pull request #2194 from python-gitlab/jlvillal/update-gitlab | Nejc Habjan | 2022-07-29 | 1 | -1/+4 |
|\ \ | |/ |/| | test(functional): bump GitLab docker image to 15.2.0-ee.0 | ||||
| * | chore(topics): 'title' is required when creating a topic | John L. Villalovos | 2022-07-28 | 1 | -1/+4 |
| | | | | | | | | In GitLab >= 15.0 `title` is required when creating a topic. | ||||
* | | Merge pull request #2198 from nickbroon/nickbroon-release-sort-order | Nejc Habjan | 2022-07-28 | 1 | -0/+5 |
|\ \ | | | | | | | feat: allow sort/ordering for project releases | ||||
| * | | feat: allow sort/ordering for project releases | Nick Brown | 2022-07-28 | 1 | -0/+5 |
| |/ | | | | | | | See: https://docs.gitlab.com/ee/api/releases/#list-releases | ||||
* | | fix: support array types for most resources | Nejc Habjan | 2022-07-28 | 13 | -14/+61 |
| | | |||||
* | | feat(cli): add a custom help formatter | Waldek Maleska | 2022-07-28 | 1 | -1/+3 |
|/ | | | | | | | | | | Add a custom argparse help formatter that overrides the output format to list items vertically. The formatter is derived from argparse.HelpFormatter with minimal changes. Co-authored-by: John Villalovos <john@sodarock.com> Co-authored-by: Nejc Habjan <nejc.habjan@siemens.com> | ||||
* | feat: add support for iterations API | Nejc Habjan | 2022-07-27 | 4 | -0/+31 |
| | |||||
* | feat(groups): add support for shared projects API | Nejc Habjan | 2022-07-26 | 2 | -1/+27 |
| | |||||
* | feat(issues): add support for issue reorder API | Nejc Habjan | 2022-07-24 | 1 | -1/+33 |
| | |||||
* | feat(namespaces): add support for namespace existence API | Nejc Habjan | 2022-07-24 | 1 | -1/+26 |
| | |||||
* | feat: add support for group and project invitations API | Nejc Habjan | 2022-07-23 | 4 | -0/+94 |
| | |||||
* | feat(projects): add support for project restore API | Nejc Habjan | 2022-07-23 | 1 | -0/+15 |
| | |||||
* | refactor: migrate services to integrations | Nejc Habjan | 2022-07-23 | 3 | -9/+27 |
| | |||||
* | fix(runners): fix listing for /runners/all | Nejc Habjan | 2022-07-23 | 1 | -1/+15 |
| | |||||
* | fix: add `get_all` param (and `--get-all`) to allow passing `all` to API | Nejc Habjan | 2022-07-21 | 1 | -1/+12 |
| | |||||
* | feat: add support for filtering jobs by scope | Nick Brown | 2022-07-21 | 1 | -0/+1 |
| | | | | | See: 'scope' here: https://docs.gitlab.com/ee/api/jobs.html#list-project-jobs | ||||
* | feat(api): add support for instance-level registry repositories | Nejc Habjan | 2022-07-20 | 1 | -1/+23 |
| | |||||
* | feat(groups): add support for group-level registry repositories | Nejc Habjan | 2022-07-20 | 2 | -0/+9 |
| | |||||
* | Merge pull request #2146 from python-gitlab/jlvillal/mypy_strict_step_by_step | Nejc Habjan | 2022-07-20 | 1 | -5/+13 |
|\ | | | | | chore: enable mypy check `strict_equality` | ||||
| * | chore: enable mypy check `strict_equality` | John L. Villalovos | 2022-07-19 | 1 | -5/+13 |
| | | | | | | | | Enable the `mypy` `strict_equality` check. | ||||
* | | fix: Enable epic notes | John Gunnison | 2022-07-19 | 1 | -0/+2 |
|/ | | | | Add the notes attribute to GroupEpic | ||||
* | feat: Add 'merge_pipelines_enabled' project attribute | Nick Brown | 2022-07-11 | 1 | -0/+2 |
| | | | | | | | | Boolean. Enable or disable merge pipelines. See: https://docs.gitlab.com/ee/api/projects.html#edit-project https://docs.gitlab.com/ee/ci/pipelines/merged_results_pipelines.html | ||||
* | feat: support validating CI lint results | Nejc Habjan | 2022-07-09 | 2 | -1/+44 |
| | |||||
* | fix(cli): remove irrelevant MR approval rule list filters | Nejc Habjan | 2022-07-09 | 1 | -1/+0 |
| | |||||
* | feat(cli): add support for global CI lint | Nejc Habjan | 2022-07-05 | 2 | -4/+21 |
| | |||||
* | chore(ci_lint): add create attributes | Nejc Habjan | 2022-07-05 | 1 | -0/+4 |
| | |||||
* | refactor(objects): move ci lint to separate file | Nejc Habjan | 2022-07-05 | 3 | -16/+24 |
| | |||||
* | feat(objects): add Project CI Lint support | John L. Villalovos | 2022-07-04 | 1 | -0/+23 |
| | | | | | | Add support for validating a project's CI configuration [1] [1] https://docs.gitlab.com/ee/api/lint.html | ||||
* | feat: add support for group push rules | O'Keefe, Gerard (Gerry) | 2022-07-04 | 2 | -2/+57 |
| | | | | | | Add the GroupPushRules and GroupPushRulesManager classes. Closes: #1259 | ||||
* | feat(api): add support for `get` for a MR approval rule | John L. Villalovos | 2022-06-27 | 1 | -4/+10 |
| | | | | | | | | | In GitLab 14.10 they added support to get a single merge request approval rule [1] Add support for it to ProjectMergeRequestApprovalRuleManager [1] https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-a-single-merge-request-level-rule | ||||
* | refactor: avoid possible breaking change in iterator (#2107) | John Villalovos | 2022-06-27 | 7 | -24/+58 |
| | | | | | | | | Commit b6447211754e126f64e12fc735ad74fe557b7fb4 inadvertently introduced a possible breaking change as it added a new argument `iterator` and added it in between existing (potentially positional) arguments. This moves the `iterator` argument to the end of the argument list and requires it to be a keyword-only argument. | ||||
* | test(pylint): enable pylint "unused-argument" check | John L. Villalovos | 2022-06-26 | 7 | -18/+18 |
| | | | | | | | | | | Enable the pylint "unused-argument" check and resolve issues it found. * Quite a few functions were accepting `**kwargs` but not then passing them on through to the next level. Now pass `**kwargs` to next level. * Other functions had no reason to accept `**kwargs`, so remove it * And a few other fixes. | ||||
* | feat(downloads): allow streaming downloads access to response iterator (#1956) | Tom Catshoek | 2022-06-26 | 8 | -32/+99 |
| | | | | | | | | | | | | | | | * feat(downloads): allow streaming downloads access to response iterator Allow access to the underlying response iterator when downloading in streaming mode by specifying `iterator=True`. Update type annotations to support this change. * docs(api-docs): add iterator example to artifact download Document the usage of the `iterator=True` option when downloading artifacts * test(packages): add tests for streaming downloads | ||||
* | refactor: remove no-op id argument in GetWithoutIdMixin | Nejc Habjan | 2022-06-25 | 10 | -84/+50 |
| | |||||
* | feat(users): add approve and reject methods to User | Ben Gamari | 2022-06-25 | 1 | -0/+36 |
| | | | | | | As requested in #1604. Co-authored-by: John Villalovos <john@sodarock.com> | ||||
* | feat: Add support for Protected Environments | calve | 2022-06-22 | 2 | -1/+34 |
| | | | | | | | | - https://docs.gitlab.com/ee/api/protected_environments.html - https://github.com/python-gitlab/python-gitlab/issues/1130 no write operation are implemented yet as I have no use case right now and am not sure how it should be done | ||||
* | Merge pull request #2066 from python-gitlab/jlvillal/approval_rule_id | Nejc Habjan | 2022-06-20 | 1 | -2/+1 |
|\ | | | | | fix(cli): project-merge-request-approval-rule | ||||
| * | fix(cli): project-merge-request-approval-rule | John L. Villalovos | 2022-06-18 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the CLI the command: gitlab project-merge-request-approval-rule list --mr-iid 1 --project-id foo/bar Would raise an exception. This was due to the fact that `_id_attr` and `_repr_attr` were set for keys which are not returned in the response. Add a unit test which shows the `repr` function now works. Before it did not. This is an EE feature so we can't functional test it. Closes: #2065 | ||||
* | | feat(users): add ban and unban methods | Antoine Auger | 2022-06-13 | 1 | -0/+42 |
|/ | |||||
* | chore(cli): rename "object" to "GitLab resource" | John L. Villalovos | 2022-06-05 | 1 | -1/+3 |
| | | | | | Make the parser name more user friendly by renaming from generic "object" to "GitLab resource" | ||||
* | Merge pull request #2051 from python-gitlab/jlvillal/more_more_pylint | Nejc Habjan | 2022-06-05 | 5 | -8/+13 |
|\ | | | | | chore: enable more pylint checks | ||||
| * | chore: enable pylint check: "no-self-use" | John L. Villalovos | 2022-06-04 | 1 | -4/+6 |
| | | | | | | | | Enable the pylint check "no-self-use" and fix the errors detected. | ||||
| * | chore: enable pylint check: "no-else-return" | John L. Villalovos | 2022-06-04 | 1 | -2/+1 |
| | | | | | | | | Enable the pylint check "no-else-return" and fix the errors detected. |