Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
bbb7df5
fix(cli): make 'timeout' type explicit
thomasgl-orange Jan 25, 2022
d493a5e
fix(cli): make 'per_page' and 'page' type explicit
thomasgl-orange Jan 25, 2022
3fb4486
Merge pull request #1862 from thomasgl-orange/cli-fix-timeout
max-wittig Jan 27, 2022
59c08f9
chore: release v3.1.1
actions-user Jan 28, 2022
2b6edb9
chore(ci): do not run release workflow in forks
nejch Jan 28, 2022
7a13b9b
docs: revert "chore: add temporary banner for v3" (#1864)
wadimklincov Jan 29, 2022
a57334f
chore: create new ArrayAttribute class
JohnVillalovos Jan 30, 2022
7646360
Merge pull request #1866 from python-gitlab/jlvillal/arrays_2
nejch Jan 31, 2022
0841a2a
fix: remove custom `delete` method for labels
JohnVillalovos Feb 1, 2022
0ab0fc1
Merge pull request #1868 from python-gitlab/jlvillal/delete_label
nejch Feb 1, 2022
c8c2fa7
feat(objects): add a complete artifacts manager
nejch Feb 1, 2022
8ce0336
test(objects): add tests for project artifacts
nejch Feb 1, 2022
700d25d
style(objects): add spacing to docstrings
nejch Feb 2, 2022
64d01ef
docs(artifacts): deprecate artifacts() and artifact() methods
nejch Feb 2, 2022
7cf35b2
chore: require kwargs for `utils.copy_dict()`
JohnVillalovos Feb 3, 2022
2adf31d
Merge pull request #1871 from python-gitlab/jlvillal/copy_dict
nejch Feb 3, 2022
e30f39d
fix(services): use slug for id_attr instead of custom methods
nejch Feb 2, 2022
2fea2e6
test(services): add functional tests for services
nejch Feb 3, 2022
b7a1266
docs: add transient errors retry info
emirot Feb 4, 2022
bb1f054
docs: add retry_transient infos
emirot Feb 4, 2022
9897c98
Merge pull request #1876 from emirot/patch-1
nejch Feb 4, 2022
e825653
chore: correct type-hints for per_page attrbute
JohnVillalovos Feb 5, 2022
5e19694
Merge pull request #1880 from python-gitlab/jlvillal/easy
nejch Feb 5, 2022
5b7d00d
test(functional): fix GitLab configuration to support pagination
JohnVillalovos Feb 5, 2022
4cb7d92
Merge pull request #1881 from python-gitlab/jlvillal/easy2
nejch Feb 5, 2022
6ca9aa2
chore: create a custom `warnings.warn` wrapper
JohnVillalovos Feb 6, 2022
5beda3b
Merge pull request #1882 from python-gitlab/jlvillal/custom_warn
nejch Feb 6, 2022
0717517
feat(mixins): allow deleting resources without IDs
nejch Feb 9, 2022
14b88a1
test(runners): add test for deleting runners by auth token
nejch Feb 10, 2022
c01c034
feat(artifacts): add support for project artifacts delete API
nejch Feb 10, 2022
5e711fd
docs: add delete methods for runners and project artifacts
nejch Feb 10, 2022
0eb4f7f
test(unit): clean up MR approvals fixtures
nejch Feb 10, 2022
85a734f
feat(merge_request_approvals): add support for deleting MR approval r…
nejch Feb 10, 2022
4060146
fix: support RateLimit-Reset header
JohnVillalovos Feb 17, 2022
bd1ecdd
docs: enable gitter chat directly in docs
nejch Feb 16, 2022
a14baac
chore: release v3.2.0
actions-user Feb 28, 2022
3010b40
docs(chore): include docs .js files in sdist
derekschrock Mar 3, 2022
95dad55
chore(deps): update dependency requests to v2.27.1
renovate-bot Mar 7, 2022
37a7c40
chore(deps): update typing dependencies
renovate-bot Mar 7, 2022
33646c1
chore(deps): update dependency mypy to v0.931
renovate-bot Mar 7, 2022
9c202dd
chore(deps): update dependency pytest-console-scripts to v1.3
renovate-bot Mar 7, 2022
7333cbb
chore(deps): update actions/checkout action to v3
renovate-bot Mar 7, 2022
425d161
chore(deps): update dependency sphinx to v4.4.0
renovate-bot Mar 7, 2022
a97e0cf
feat(object): add pipeline test report summary support
kinbald Mar 7, 2022
d78afb3
docs: add pipeline test report summary support
kinbald Mar 7, 2022
3f84f1b
chore(deps): update black to v22
renovate-bot Mar 7, 2022
5440780
chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-comm…
renovate-bot Mar 8, 2022
7f845f7
chore(deps): update actions/setup-python action to v3
renovate-bot Mar 7, 2022
d841185
chore(deps): update actions/stale action to v5
renovate-bot Mar 7, 2022
18a0eae
chore(deps): update actions/upload-artifact action to v3
renovate-bot Mar 7, 2022
ae8d70d
chore(deps): update dependency pytest to v7
renovate-bot Mar 8, 2022
b37fc41
chore(deps): update dependency types-setuptools to v57.4.10
renovate-bot Mar 8, 2022
2828b10
docs: fix typo and incorrect style
kinbald Mar 9, 2022
93d4403
style: reformat for black v22
nejch Mar 10, 2022
7966584
Merge pull request #1915 from kinbald/test-report-summary
nejch Mar 10, 2022
71ebee4
Merge pull request #1919 from python-gitlab/renovate/alessandrojcm-co…
nejch Mar 10, 2022
a4e76eb
Merge pull request #1917 from python-gitlab/renovate/major-black
nejch Mar 10, 2022
363bc87
Merge pull request #1905 from derekschrock/docs-static
nejch Mar 10, 2022
114958e
Merge pull request #1895 from python-gitlab/jlvillal/rate-limit
nejch Mar 10, 2022
dd11084
chore(deps): update dependency mypy to v0.940
renovate-bot Mar 11, 2022
8cd668e
chore(deps): update dependency types-requests to v2.27.12
renovate-bot Mar 13, 2022
27c7e33
chore(deps): update dependency pytest to v7.1.0
renovate-bot Mar 13, 2022
3a9d4f1
chore(deps): update dependency mypy to v0.941
renovate-bot Mar 14, 2022
21e7c37
chore(deps): update typing dependencies
renovate-bot Mar 17, 2022
e31f2ef
chore(deps): update dependency pytest to v7.1.1
renovate-bot Mar 17, 2022
da392e3
chore(deps): update dependency pytest-console-scripts to v1.3.1
renovate-bot Mar 18, 2022
8ba0f8c
chore(deps): update dependency mypy to v0.942
renovate-bot Mar 24, 2022
5fa403b
chore(deps): update dependency pylint to v2.13.0
renovate-bot Mar 25, 2022
9fe60f7
chore(deps): update pre-commit hook pycqa/pylint to v2.13.0
renovate-bot Mar 25, 2022
eefd724
chore(deps): update dependency pylint to v2.13.1
renovate-bot Mar 26, 2022
be6b54c
chore(deps): update dependency types-requests to v2.27.14
renovate-bot Mar 19, 2022
1d0c6d4
chore(deps): update pre-commit hook pycqa/pylint to v2.13.1
renovate-bot Mar 26, 2022
2e8ecf5
chore(deps): update dependency types-requests to v2.27.15
renovate-bot Mar 27, 2022
59ae16c
Merge pull request #1947 from python-gitlab/renovate/typing-dependencies
nejch Mar 27, 2022
10f15a6
chore(deps): update dependency pylint to v2.13.2
renovate-bot Mar 27, 2022
14d367d
chore(deps): update pre-commit hook pycqa/pylint to v2.13.2
renovate-bot Mar 27, 2022
36ab769
chore(deps): update dependency sphinx to v4.5.0
renovate-bot Mar 27, 2022
121d70a
chore: release v3.3.0
actions-user Mar 28, 2022
8d48224
chore(deps): update black to v22.3.0
renovate-bot Mar 28, 2022
f942e65
Merge pull request #1952 from python-gitlab/renovate/black
nejch Mar 29, 2022
0ae3d20
chore(deps): update dependency pylint to v2.13.3
renovate-bot Mar 29, 2022
8f0a3af
chore(deps): update pre-commit hook pycqa/pylint to v2.13.3
renovate-bot Mar 29, 2022
5498f9e
Merge pull request #1953 from python-gitlab/renovate/pylint-2.x
nejch Mar 29, 2022
eee173e
Merge pull request #1954 from python-gitlab/renovate/pycqa-pylint-2.x
nejch Mar 29, 2022
e1ad93d
docs(api-docs): docs fix for application scopes
wacuuu Mar 28, 2022
8e241e4
Merge pull request #1951 from wacuuu/main
nejch Mar 30, 2022
a9a9392
chore(deps): update dependency pylint to v2.13.4
renovate-bot Mar 31, 2022
9d0b252
chore(deps): update pre-commit hook pycqa/pylint to v2.13.4
renovate-bot Mar 31, 2022
400d8e5
Merge pull request #1958 from python-gitlab/renovate/pylint-2.x
nejch Mar 31, 2022
8db6841
Merge pull request #1959 from python-gitlab/renovate/pycqa-pylint-2.x
nejch Mar 31, 2022
d1d96bd
feat(api): re-add topic delete endpoint
nejch Apr 1, 2022
d508b18
chore(deps): upgrade gitlab-ce to 14.9.2-ce.0
nejch Apr 1, 2022
ad799fc
chore(deps): update dependency types-requests to v2.27.16
renovate-bot Apr 1, 2022
6f93c05
feat(user): support getting user SSH key by id
nejch Apr 1, 2022
19ab07d
Merge pull request #1961 from python-gitlab/renovate/typing-dependencies
nejch Apr 1, 2022
fcd37fe
feat(objects): support getting project/group deploy tokens by id
nejch Apr 4, 2022
3b49e4d
fix: also retry HTTP-based transient errors
mitar Oct 20, 2021
c3ef1b5
fix: add 52x range to retry transient failures and tests
Mar 2, 2022
5cbbf26
chore(client): remove duplicate code
nejch Apr 4, 2022
0353bd4
Merge pull request #1904 from Sineaggi/retry-additional-http-transien…
nejch Apr 4, 2022
149d244
fix(cli): add missing filters for project commit list
nejch Apr 4, 2022
3431887
fix: avoid passing redundant arguments to API
nejch Apr 4, 2022
6551353
chore(deps): update dependency types-setuptools to v57.4.12
renovate-bot Apr 5, 2022
3be5ac2
Merge pull request #1967 from python-gitlab/renovate/typing-dependencies
nejch Apr 5, 2022
292e91b
chore(deps): update codecov/codecov-action action to v3
renovate-bot Apr 5, 2022
de8cfd9
Merge pull request #1968 from python-gitlab/renovate/codecov-codecov-…
nejch Apr 5, 2022
3b0806e
Merge pull request #1964 from python-gitlab/fix/missing-commit-list-f…
max-wittig Apr 6, 2022
17d5c6c
chore(deps): update pre-commit hook pycqa/pylint to v2.13.5
renovate-bot Apr 6, 2022
5709675
chore(deps): update dependency pylint to v2.13.5
renovate-bot Apr 6, 2022
5370979
Merge pull request #1971 from python-gitlab/renovate/pycqa-pylint-2.x
nejch Apr 7, 2022
1339d64
feat: emit a warning when using a `list()` method returns max
JohnVillalovos Apr 12, 2022
4d6f125
Merge pull request #1875 from python-gitlab/jlvillal/list_warning
nejch Apr 13, 2022
68bf5d8
Merge pull request #1962 from python-gitlab/feat/user-ssh-key
max-wittig Apr 13, 2022
69ace2d
Merge pull request #1963 from python-gitlab/feat/deploy-token-get
max-wittig Apr 13, 2022
7beb20f
fix: add ChunkedEncodingError to list of retryable exceptions
Apr 11, 2022
07a16af
Merge pull request #1974 from Sineaggi/add-chunked-to-list-of-retryab…
nejch Apr 14, 2022
ba7692a
Merge pull request #1965 from python-gitlab/fix/redundant-args-api
max-wittig Apr 14, 2022
d27cc6a
chore(deps): update typing dependencies
renovate-bot Apr 16, 2022
5fb2234
chore(deps): update dependency pylint to v2.13.7
renovate-bot Apr 20, 2022
1396221
chore(deps): update pre-commit hook pycqa/pylint to v2.13.7
renovate-bot Apr 20, 2022
396e30c
Merge pull request #1979 from python-gitlab/renovate/pylint-2.x
nejch Apr 20, 2022
0305979
Merge pull request #1980 from python-gitlab/renovate/pycqa-pylint-2.x
nejch Apr 20, 2022
c12466a
chore(deps): update typing dependencies
renovate-bot Apr 21, 2022
cf2953e
Merge pull request #1981 from python-gitlab/renovate/typing-dependencies
nejch Apr 21, 2022
fd3fa23
chore(deps): update dependency pytest to v7.1.2
renovate-bot Apr 23, 2022
4a6bd90
Merge pull request #1983 from python-gitlab/renovate/pytest-7.x
nejch Apr 25, 2022
0fb0955
chore(deps): update dependency types-requests to v2.27.21
renovate-bot Apr 27, 2022
ab8352e
Merge pull request #1986 from python-gitlab/renovate/typing-dependencies
nejch Apr 27, 2022
22263e2
chore(deps): update dependency types-requests to v2.27.22
renovate-bot Apr 27, 2022
241e626
chore(deps): update dependency mypy to v0.950
renovate-bot Apr 27, 2022
0c0035e
Merge pull request #1988 from python-gitlab/renovate/mypy-0.x
nejch Apr 27, 2022
e638be1
chore: release v3.4.0
actions-user Apr 28, 2022
a6fed8b
chore(deps): update dependency types-requests to v2.27.23
renovate-bot Apr 28, 2022
f88e3a6
chore(deps): update dependency types-requests to v2.27.24
renovate-bot Apr 28, 2022
79b903d
Merge pull request #1994 from python-gitlab/renovate/typing-dependencies
nejch Apr 28, 2022
882fe7a
chore(renovate): set schedule to reduce noise
nejch Apr 28, 2022
b8d15fe
chore(ci): replace commitlint with commitizen
nejch Apr 30, 2022
d6ea47a
chore(deps): update dependency types-requests to v2.27.25
renovate-bot May 2, 2022
04e0d24
Merge pull request #2001 from python-gitlab/renovate/typing-dependencies
nejch May 2, 2022
e660fa8
docs(merge_requests): add new possible merge request state and link t…
cduelo May 4, 2022
ef207da
Merge pull request #2005 from carlosduelo/patch-1
nejch May 4, 2022
989a12b
chore: exclude `build/` directory from mypy check
JohnVillalovos May 5, 2022
ba8c052
chore: add `cz` to default tox environment list and skip_missing_inte…
JohnVillalovos May 5, 2022
5cb2859
Merge pull request #2009 from python-gitlab/jlvillal/tox-env
nejch May 5, 2022
d169983
Merge pull request #2008 from python-gitlab/jlvillal/mypy-tox
nejch May 5, 2022
d597506
docs: add missing Admin access const value
Hnasar May 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions 6 .commitlintrc.json

This file was deleted.

10 changes: 5 additions & 5 deletions 10 .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
sphinx:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -34,17 +34,17 @@ jobs:
TOXENV: docs
run: tox
- name: Archive generated docs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: html-docs
path: build/sphinx/html/

twine-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
Expand Down
14 changes: 5 additions & 9 deletions 14 .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,16 @@ env:
PY_COLORS: 1

jobs:
commitlint:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v4

linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
- run: pip install --upgrade tox
- name: Run commitizen
run: tox -e cz
- name: Run black code formatter (https://black.readthedocs.io/en/stable/)
run: tox -e black -- --check
- name: Run flake8 (https://flake8.pycqa.org/en/latest/)
Expand Down
4 changes: 2 additions & 2 deletions 4 .github/workflows/pre_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
pre_commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- run: pip install --upgrade -r requirements.txt -r requirements-lint.txt pre-commit
- name: Run pre-commit install
run: pre-commit install
Expand Down
3 changes: 2 additions & 1 deletion 3 .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ on:

jobs:
release:
if: github.repository == 'python-gitlab/python-gitlab'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion 2 .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v5
with:
any-of-labels: 'need info,Waiting for response'
stale-issue-message: >
Expand Down
18 changes: 9 additions & 9 deletions 18 .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,27 @@ jobs:
version: "3.10"
toxenv: py310,smoke
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python.version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python.version }}
- name: Install dependencies
run: pip3 install tox pytest-github-actions-annotate-failures
- name: Run tests
env:
TOXENV: ${{ matrix.python.toxenv }}
run: tox
run: tox --skip-missing-interpreters false

functional:
runs-on: ubuntu-20.04
strategy:
matrix:
toxenv: [py_func_v4, cli_func_v4]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -75,7 +75,7 @@ jobs:
TOXENV: ${{ matrix.toxenv }}
run: tox -- --override-ini='log_cli=True'
- name: Upload codecov coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: ${{ matrix.toxenv }}
Expand All @@ -84,9 +84,9 @@ jobs:
coverage:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -97,7 +97,7 @@ jobs:
TOXENV: cover
run: tox
- name: Upload codecov coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: unit
Expand Down
1 change: 0 additions & 1 deletion 1 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ docs/_build
venv/

# Include tracked hidden files and directories in search and diff tools
!.commitlintrc.json
!.dockerignore
!.env
!.github/
Expand Down
21 changes: 10 additions & 11 deletions 21 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ default_language_version:

repos:
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v6.0.0
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.24.0
hooks:
- id: commitlint
additional_dependencies: ['@commitlint/config-conventional']
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
Expand All @@ -21,13 +20,13 @@ repos:
hooks:
- id: isort
- repo: https://github.com/pycqa/pylint
rev: v2.12.2
rev: v2.13.7
hooks:
- id: pylint
additional_dependencies:
- argcomplete==2.0.0
- pytest==6.2.5
- requests==2.27.0
- pytest==7.1.2
- requests==2.27.1
- requests-toolbelt==0.9.1
files: 'gitlab/'
- repo: https://github.com/pre-commit/mirrors-mypy
Expand All @@ -36,6 +35,6 @@ repos:
- id: mypy
args: []
additional_dependencies:
- types-PyYAML==6.0.1
- types-requests==2.26.3
- types-setuptools==57.4.5
- types-PyYAML==6.0.7
- types-requests==2.27.25
- types-setuptools==57.4.14
3 changes: 2 additions & 1 deletion 3 .renovaterc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": [
"config:base",
":enablePreCommit"
":enablePreCommit",
"schedule:weekly"
],
"pip_requirements": {
"fileMatch": ["^requirements(-[\\w]*)?\\.txt$"]
Expand Down
59 changes: 59 additions & 0 deletions 59 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,65 @@

<!--next-version-placeholder-->

## v3.4.0 (2022-04-28)
### Feature
* Emit a warning when using a `list()` method returns max ([`1339d64`](https://github.com/python-gitlab/python-gitlab/commit/1339d645ce58a2e1198b898b9549ba5917b1ff12))
* **objects:** Support getting project/group deploy tokens by id ([`fcd37fe`](https://github.com/python-gitlab/python-gitlab/commit/fcd37feff132bd5b225cde9d5f9c88e62b3f1fd6))
* **user:** Support getting user SSH key by id ([`6f93c05`](https://github.com/python-gitlab/python-gitlab/commit/6f93c0520f738950a7c67dbeca8d1ac8257e2661))
* **api:** Re-add topic delete endpoint ([`d1d96bd`](https://github.com/python-gitlab/python-gitlab/commit/d1d96bda5f1c6991c8ea61dca8f261e5b74b5ab6))

### Fix
* Add ChunkedEncodingError to list of retryable exceptions ([`7beb20f`](https://github.com/python-gitlab/python-gitlab/commit/7beb20ff7b7b85fb92fc6b647d9c1bdb7568f27c))
* Avoid passing redundant arguments to API ([`3431887`](https://github.com/python-gitlab/python-gitlab/commit/34318871347b9c563d01a13796431c83b3b1d58c))
* **cli:** Add missing filters for project commit list ([`149d244`](https://github.com/python-gitlab/python-gitlab/commit/149d2446fcc79b31d3acde6e6d51adaf37cbb5d3))
* Add 52x range to retry transient failures and tests ([`c3ef1b5`](https://github.com/python-gitlab/python-gitlab/commit/c3ef1b5c1eaf1348a18d753dbf7bda3c129e3262))
* Also retry HTTP-based transient errors ([`3b49e4d`](https://github.com/python-gitlab/python-gitlab/commit/3b49e4d61e6f360f1c787aa048edf584aec55278))

### Documentation
* **api-docs:** Docs fix for application scopes ([`e1ad93d`](https://github.com/python-gitlab/python-gitlab/commit/e1ad93df90e80643866611fe52bd5c59428e7a88))

## v3.3.0 (2022-03-28)
### Feature
* **object:** Add pipeline test report summary support ([`a97e0cf`](https://github.com/python-gitlab/python-gitlab/commit/a97e0cf81b5394b3a2b73d927b4efe675bc85208))

### Fix
* Support RateLimit-Reset header ([`4060146`](https://github.com/python-gitlab/python-gitlab/commit/40601463c78a6f5d45081700164899b2559b7e55))

### Documentation
* Fix typo and incorrect style ([`2828b10`](https://github.com/python-gitlab/python-gitlab/commit/2828b10505611194bebda59a0e9eb41faf24b77b))
* Add pipeline test report summary support ([`d78afb3`](https://github.com/python-gitlab/python-gitlab/commit/d78afb36e26f41d727dee7b0952d53166e0df850))
* **chore:** Include docs .js files in sdist ([`3010b40`](https://github.com/python-gitlab/python-gitlab/commit/3010b407bc9baabc6cef071507e8fa47c0f1624d))

## v3.2.0 (2022-02-28)
### Feature
* **merge_request_approvals:** Add support for deleting MR approval rules ([`85a734f`](https://github.com/python-gitlab/python-gitlab/commit/85a734fec3111a4a5c4f0ddd7cb36eead96215e9))
* **artifacts:** Add support for project artifacts delete API ([`c01c034`](https://github.com/python-gitlab/python-gitlab/commit/c01c034169789e1d20fd27a0f39f4c3c3628a2bb))
* **mixins:** Allow deleting resources without IDs ([`0717517`](https://github.com/python-gitlab/python-gitlab/commit/0717517212b616cfd52cfd38dd5c587ff8f9c47c))
* **objects:** Add a complete artifacts manager ([`c8c2fa7`](https://github.com/python-gitlab/python-gitlab/commit/c8c2fa763558c4d9906e68031a6602e007fec930))

### Fix
* **services:** Use slug for id_attr instead of custom methods ([`e30f39d`](https://github.com/python-gitlab/python-gitlab/commit/e30f39dff5726266222b0f56c94f4ccfe38ba527))
* Remove custom `delete` method for labels ([`0841a2a`](https://github.com/python-gitlab/python-gitlab/commit/0841a2a686c6808e2f3f90960e529b26c26b268f))

### Documentation
* Enable gitter chat directly in docs ([`bd1ecdd`](https://github.com/python-gitlab/python-gitlab/commit/bd1ecdd5ad654b01b34e7a7a96821cc280b3ca67))
* Add delete methods for runners and project artifacts ([`5e711fd`](https://github.com/python-gitlab/python-gitlab/commit/5e711fdb747fb3dcde1f5879c64dfd37bf25f3c0))
* Add retry_transient infos ([`bb1f054`](https://github.com/python-gitlab/python-gitlab/commit/bb1f05402887c78f9898fbd5bd66e149eff134d9))
* Add transient errors retry info ([`b7a1266`](https://github.com/python-gitlab/python-gitlab/commit/b7a126661175a3b9b73dbb4cb88709868d6d871c))
* **artifacts:** Deprecate artifacts() and artifact() methods ([`64d01ef`](https://github.com/python-gitlab/python-gitlab/commit/64d01ef23b1269b705350106d8ddc2962a780dce))
* Revert "chore: add temporary banner for v3" ([#1864](https://github.com/python-gitlab/python-gitlab/issues/1864)) ([`7a13b9b`](https://github.com/python-gitlab/python-gitlab/commit/7a13b9bfa4aead6c731f9a92e0946dba7577c61b))

## v3.1.1 (2022-01-28)
### Fix
* **cli:** Make 'per_page' and 'page' type explicit ([`d493a5e`](https://github.com/python-gitlab/python-gitlab/commit/d493a5e8685018daa69c92e5942cbe763e5dac62))
* **cli:** Make 'timeout' type explicit ([`bbb7df5`](https://github.com/python-gitlab/python-gitlab/commit/bbb7df526f4375c438be97d8cfa0d9ea9d604e7d))
* **cli:** Allow custom methods in managers ([`8dfed0c`](https://github.com/python-gitlab/python-gitlab/commit/8dfed0c362af2c5e936011fd0b488b8b05e8a8a0))
* **objects:** Make resource access tokens and repos available in CLI ([`e0a3a41`](https://github.com/python-gitlab/python-gitlab/commit/e0a3a41ce60503a25fa5c26cf125364db481b207))

### Documentation
* Enhance release docs for CI_JOB_TOKEN usage ([`5d973de`](https://github.com/python-gitlab/python-gitlab/commit/5d973de8a5edd08f38031cf9be2636b0e12f008d))
* **changelog:** Add missing changelog items ([`01755fb`](https://github.com/python-gitlab/python-gitlab/commit/01755fb56a5330aa6fa4525086e49990e57ce50b))

## v3.1.0 (2022-01-14)
### Feature
* add support for Group Access Token API ([`c01b7c4`](https://github.com/python-gitlab/python-gitlab/commit/c01b7c494192c5462ec673848287ef2a5c9bd737))
Expand Down
2 changes: 1 addition & 1 deletion 2 MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include COPYING AUTHORS CHANGELOG.md requirements*.txt
include tox.ini
recursive-include tests *
recursive-include docs *j2 *.md *.py *.rst api/*.rst Makefile make.bat
recursive-include docs *j2 *.js *.md *.py *.rst api/*.rst Makefile make.bat
10 changes: 8 additions & 2 deletions 10 README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,14 @@ https://github.com/python-gitlab/python-gitlab/issues.
Gitter Community Chat
---------------------

There is a `gitter <https://gitter.im/python-gitlab/Lobby>`_ community chat
available at https://gitter.im/python-gitlab/Lobby
We have a `gitter <https://gitter.im/python-gitlab/Lobby>`_ community chat
available at https://gitter.im/python-gitlab/Lobby, which you can also
directly access via the Open Chat button below.

If you have a simple question, the community might be able to help already,
without you opening an issue. If you regularly use python-gitlab, we also
encourage you to join and participate. You might discover new ideas and
use cases yourself!

Documentation
-------------
Expand Down
3 changes: 3 additions & 0 deletions 3 docs/_static/js/gitter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
((window.gitter = {}).chat = {}).options = {
room: 'python-gitlab/Lobby'
};
5 changes: 3 additions & 2 deletions 5 docs/api-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,9 @@ GitLab server can sometimes return a transient HTTP error.
python-gitlab can automatically retry in such case, when
``retry_transient_errors`` argument is set to ``True``. When enabled,
HTTP error codes 500 (Internal Server Error), 502 (502 Bad Gateway),
503 (Service Unavailable), and 504 (Gateway Timeout) are retried. By
default an exception is raised for these errors.
503 (Service Unavailable), and 504 (Gateway Timeout) are retried. It will retry until reaching
the `max_retries` value. By default, `retry_transient_errors` is set to `False` and an exception
is raised for these errors.

.. code-block:: python

Expand Down
15 changes: 10 additions & 5 deletions 15 docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"announcement": "⚠ python-gitlab 3.0.0 has been released with several "
"<a href='changelog.html#breaking'>breaking changes</a>.",
}
# html_theme_options = {}

# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
Expand All @@ -148,7 +145,15 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ['_static']
html_static_path = ["_static"]

html_js_files = [
"js/gitter.js",
(
"https://sidecar.gitter.im/dist/sidecar.v1.js",
{"async": "async", "defer": "defer"},
),
]

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
2 changes: 1 addition & 1 deletion 2 docs/gl_objects/applications.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ List all OAuth applications::

Create an application::

gl.applications.create({'name': 'your_app', 'redirect_uri': 'http://application.url', 'scopes': ['api']})
gl.applications.create({'name': 'your_app', 'redirect_uri': 'http://application.url', 'scopes': 'read_user openid profile email'})

Delete an applications::

Expand Down
8 changes: 8 additions & 0 deletions 8 docs/gl_objects/deploy_tokens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ List the deploy tokens for a project::

deploy_tokens = project.deploytokens.list()

Get a deploy token for a project by id::

deploy_token = project.deploytokens.get(deploy_token_id)

Create a new deploy token to access registry images of a project:

In addition to required parameters ``name`` and ``scopes``, this method accepts
Expand Down Expand Up @@ -107,6 +111,10 @@ List the deploy tokens for a group::

deploy_tokens = group.deploytokens.list()

Get a deploy token for a group by id::

deploy_token = group.deploytokens.get(deploy_token_id)

Create a new deploy token to access all repositories of all projects in a group:

In addition to required parameters ``name`` and ``scopes``, this method accepts
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.