summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * feat: add support for deployment approval endpointJohn L. Villalovos2022-08-254-3/+199
| | | | | | | | | | | | | | Add support for the deployment approval endpoint[1] [1] https://docs.gitlab.com/ee/api/deployments.html#approve-or-reject-a-blocked-deployment Closes: #2253
* | chore: release v3.9.0v3.9.0github-actions2022-08-282-1/+5
|/
* Merge pull request #2255 from python-gitlab/jlvillal/noopNejc Habjan2022-08-251-1/+6
|\ | | | | chore: fix issue if only run test_gitlab.py func test
| * chore: Only check for our UserWarningJohn L. Villalovos2022-08-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GitHub CI is showing a ResourceWarning, causing our test to fail. Update test to only look for our UserWarning which should not appear. What was seen when debugging the GitHub CI: {message: ResourceWarning( "unclosed <socket.socket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('127.0.0.1', 50862), raddr=('127.0.0.1', 8080)>" ), category: 'ResourceWarning', filename: '/home/runner/work/python-gitlab/python-gitlab/.tox/api_func_v4/lib/python3.10/site-packages/urllib3/poolmanager.py', lineno: 271, line: None }
| * chore: fix issue if only run test_gitlab.py func testJohn L. Villalovos2022-08-241-0/+1
|/ | | | | | | Make it so can run just the test_gitlab.py functional test. For example: $ tox -e api_func_v4 -- -k test_gitlab.py
* chore(ci): make pytest annotations workNejc Habjan2022-08-223-4/+14
|
* chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.32.1renovate[bot]2022-08-211-1/+1
|
* chore(deps): update dependency commitizen to v2.32.1renovate[bot]2022-08-211-1/+1
|
* chore(deps): update dependency types-requests to v2.28.9renovate[bot]2022-08-212-2/+2
|
* feat: add support for merge_base APINejc Habjan2022-08-194-1/+47
|
* Merge pull request #2241 from python-gitlab/renovate/pycqa-flake8-5.xNejc Habjan2022-08-151-1/+1
|\ | | | | chore(deps): update pre-commit hook pycqa/flake8 to v5
| * chore(deps): update pre-commit hook pycqa/flake8 to v5renovate[bot]2022-08-151-1/+1
| |
* | Merge pull request #2239 from ↵Nejc Habjan2022-08-151-1/+1
|\ \ | | | | | | | | | | | | python-gitlab/renovate/commitizen-tools-commitizen-2.x chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.31.0
| * | chore(deps): update pre-commit hook commitizen-tools/commitizen to v2.31.0renovate[bot]2022-08-151-1/+1
| | |
* | | Merge pull request #2238 from python-gitlab/renovate/commitizen-2.xNejc Habjan2022-08-151-1/+1
|\ \ \ | | | | | | | | chore(deps): update dependency commitizen to v2.31.0
| * | | chore(deps): update dependency commitizen to v2.31.0renovate[bot]2022-08-151-1/+1
| |/ /
* | | chore(deps): update dependency types-setuptools to v64renovate[bot]2022-08-142-2/+2
| |/ |/|
* | chore(deps): update dependency types-requests to v2.28.8renovate[bot]2022-08-142-2/+2
|/
* chore: release v3.8.1v3.8.1github-actions2022-08-102-1/+5
|
* Merge pull request #2233 from python-gitlab/fix/do-not-require-web-urlMax Wittig2022-08-101-1/+3
|\
| * fix(client): do not assume user attrs returned for auth()Nejc Habjan2022-08-101-1/+3
|/ | | | This is mostly relevant for people mocking the API in tests.
* chore(deps): update dependency commitizen to v2.29.5renovate[bot]2022-08-071-1/+1
|
* chore(deps): update dependency flake8 to v5.0.4renovate[bot]2022-08-071-1/+1
|
* Merge pull request #2153 from python-gitlab/renovate/sphinx-5.xNejc Habjan2022-08-071-1/+1
|\ | | | | chore(deps): update dependency sphinx to v5
| * chore(deps): update dependency sphinx to v5renovate[bot]2022-08-071-1/+1
|/
* Merge pull request #2212 from python-gitlab/jlvillal/configNejc Habjan2022-08-071-25/+21
|\ | | | | chore: remove broad Exception catching from `config.py`
| * chore: remove broad Exception catching from `config.py`John L. Villalovos2022-08-051-25/+21
|/ | | | | | Change "except Exception:" catching to more granular exceptions. A step in enabling the "broad-except" check in pylint.
* 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
|/