summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* refactor(build): build project using PEP 621refactor/python-build-pep621Nejc Habjan2022-08-065-76/+67
|
* chore(build): use pypa build and consolidate meta testsNejc Habjan2022-08-057-22/+22
|
* chore: add license badge to readmeNejc Habjan2022-08-041-0/+3
|
* chore: consolidate license and authorsNejc Habjan2022-08-0422-318/+9
|
* chore: release v3.8.0v3.8.0github-actions2022-08-042-1/+13
|
* feat(client): warn user on misconfigured URL in `auth()`Nejc Habjan2022-08-043-2/+27
|
* refactor(client): factor out URL check into a helperNejc Habjan2022-08-041-27/+33
|
* refactor(client): remove handling for incorrect link headerNejc Habjan2022-08-041-7/+2
| | | | | | | | This was a quirk only present in GitLab 13.0 and fixed with 13.1. See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33714 and https://gitlab.com/gitlab-org/gitlab/-/issues/218504 for more context.
* Merge pull request #2221 from python-gitlab/jlvillal/unparseNejc Habjan2022-08-041-1/+1
|\ | | | | chore: use `urlunparse` instead of string replace
| * chore: use `urlunparse` instead of string replaceJohn L. Villalovos2022-08-041-1/+1
|/ | | | | Use the `urlunparse()` function to reconstruct the URL without the query parameters.
* Merge pull request #2219 from python-gitlab/fix/no-duplicate-paramsMax Wittig2022-08-042-2/+25
|\ | | | | fix(client): ensure encoded query params are never duplicated
| * fix(client): ensure encoded query params are never duplicatedNejc Habjan2022-08-041-2/+7
| |
| * test(unit): reproduce duplicate encoded query paramsNejc Habjan2022-08-041-0/+18
| |
* | Merge pull request #2220 from python-gitlab/chore/bump-semantic-releaseMax Wittig2022-08-041-1/+1
|\ \ | |/ |/| chore(ci): bump semantic-release for fixed commit parser
| * chore(ci): bump semantic-release for fixed commit parserNejc Habjan2022-08-041-1/+1
|/
* fix: optionally keep user-provided base URL for pagination (#2149)Omar Mochtar2022-08-032-0/+84
|
* Merge pull request #2211 from python-gitlab/jlvillal/mypy_step_stepNejc Habjan2022-08-018-19/+33
|\ | | | | chore: enable mypy check `disallow_any_generics`
| * chore: enable mypy check `disallow_any_generics`John L. Villalovos2022-08-018-19/+33
| |
* | Merge pull request #2208 from ↵Nejc Habjan2022-08-011-1/+1
|\ \ | | | | | | | | | | | | python-gitlab/renovate/commitizen-tools-commitizen-2.x chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.29.2
| * | chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.29.2renovate[bot]2022-08-011-1/+1
| | |
* | | Merge pull request #2210 from python-gitlab/jlvillal/mypy_step_by_stepNejc Habjan2022-08-014-4/+4
|\ \ \ | | | | | | | | chore: enable mypy check `no_implicit_optional`
| * | | chore: enable mypy check `no_implicit_optional`John L. Villalovos2022-07-314-4/+4
| | |/ | |/|
* | | Merge pull request #2209 from python-gitlab/renovate/flake8-5.xNejc Habjan2022-08-011-1/+1
|\ \ \ | |/ / |/| | chore(deps): update dependency flake8 to v5
| * | chore(deps): update dependency flake8 to v5renovate[bot]2022-08-011-1/+1
| |/
* | chore(deps): update dependency types-requests to v2.28.6renovate[bot]2022-07-312-2/+2
|/
* chore(deps): update dependency commitizen to v2.29.2renovate[bot]2022-07-311-1/+1
|
* Merge pull request #2203 from python-gitlab/jlvillal/project_reprNejc Habjan2022-07-291-1/+1
|\ | | | | chore: change `_repr_attr` for Project to be `path_with_namespace`
| * chore: change `_repr_attr` for Project to be `path_with_namespace`John L. Villalovos2022-07-291-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 #2188 from python-gitlab/jlvillal/fix_functional_ciNejc Habjan2022-07-292-11/+71
|\ | | | | test: attempt to make functional test startup more reliable
| * test: attempt to make functional test startup more reliableJohn L. Villalovos2022-07-292-11/+71
| | | | | | | | | | | | | | | | | | | | | | | | The functional tests have been erratic. Current theory is that we are starting the tests before the GitLab container is fully up and running. * Add checking of the Health Check[1] endpoints. * Add a 20 second delay after we believe it is up and running. * Increase timeout from 300 to 400 seconds [1] https://docs.gitlab.com/ee/user/admin_area/monitoring/health_check.html
* | docs: describe self-revoking personal access tokensNejc Habjan2022-07-292-0/+32
| |
* | Merge pull request #2199 from orf/patch-1Nejc Habjan2022-07-291-3/+7
|\ \ | | | | | | Support downloading archive subpaths
| * | feat: Support downloading archive subpathsTom Forbes2022-07-291-3/+7
| |/
* | Merge pull request #2157 from python-gitlab/jlvillal/mypy_step_by_stepNejc Habjan2022-07-297-13/+47
|\ \ | | | | | | chore: enable mypy check `warn_return_any`
| * | chore: enable mypy check `warn_return_any`John L. Villalovos2022-07-287-13/+47
| |/ | | | | | | Update code so that the `warn_return_any` check passes.
* | Merge pull request #2201 from python-gitlab/jlvillal/encoding_warningNejc Habjan2022-07-294-4/+5
|\ \ | | | | | | chore: make code PEP597 compliant
| * | chore: make code PEP597 compliantJohn L. Villalovos2022-07-284-4/+5
| |/ | | | | | | | | | | Use `encoding="utf-8"` in `open()` and open-like functions. https://peps.python.org/pep-0597/
* | Merge pull request #2194 from python-gitlab/jlvillal/update-gitlabNejc Habjan2022-07-299-54/+47
|\ \ | |/ |/| test(functional): bump GitLab docker image to 15.2.0-ee.0
| * chore(clusters): deprecate clusters supportJohn L. Villalovos2022-07-283-48/+9
| | | | | | | | | | | | | | | | | | | | | | Cluster support was deprecated in GitLab 14.5 [1]. And disabled by default in GitLab 15.0 [2] * Update docs to mark clusters as deprecated * Remove testing of clusters [1] https://docs.gitlab.com/ee/api/project_clusters.html [2] https://gitlab.com/groups/gitlab-org/configure/-/epics/8
| * chore(topics): 'title' is required when creating a topicJohn L. Villalovos2022-07-285-5/+37
| | | | | | | | In GitLab >= 15.0 `title` is required when creating a topic.
| * test(functional): bump GitLab docker image to 15.2.0-ee.0John L. Villalovos2022-07-271-1/+1
| | | | | | | | Use the GitLab docker image 15.2.0-ee.0 in the functional testing.
* | chore: release v3.7.0v3.7.0github-actions2022-07-282-1/+45
| |
* | Merge pull request #2198 from nickbroon/nickbroon-release-sort-orderNejc Habjan2022-07-281-0/+5
|\ \ | | | | | | feat: allow sort/ordering for project releases
| * | feat: allow sort/ordering for project releasesNick Brown2022-07-281-0/+5
| | | | | | | | | | | | See: https://docs.gitlab.com/ee/api/releases/#list-releases
* | | docs(cli): showcase use of token scopesNejc Habjan2022-07-281-1/+48
| | |
* | | test(cli): add tests for token scopesNejc Habjan2022-07-282-0/+46
| | |
* | | fix: support array types for most resourcesNejc Habjan2022-07-2813-14/+61
| | |
* | | feat(cli): add a custom help formatterWaldek Maleska2022-07-283-1/+33
|/ / | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #2195 from python-gitlab/jlvillal/array_testNejc Habjan2022-07-281-0/+13
|\ \ | | | | | | test: add test to show issue fixed
| * | test: add test to show issue fixedJohn L. Villalovos2022-07-271-0/+13
|/ / | | | | | | | | https://github.com/python-gitlab/python-gitlab/issues/1698 has been fixed. Add test to show that.