python-gitlab 4.4.0__tar.gz → 4.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/CHANGELOG.md +441 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/PKG-INFO +20 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/README.rst +17 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/api-usage.rst +5 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/cli-examples.rst +6 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/faq.rst +20 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/groups.rst +21 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/iterations.rst +10 -0
- python_gitlab-4.6.0/docs/gl_objects/job_token_scope.rst +101 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/personal_access_tokens.rst +2 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/protected_branches.rst +5 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/_backends/protocol.py +2 -4
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/_version.py +1 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/cli.py +33 -5
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/client.py +2 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/mixins.py +22 -14
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/utils.py +3 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/cli.py +32 -11
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/__init__.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/artifacts.py +7 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/audit_events.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/branches.py +10 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/ci_lint.py +4 -4
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/commits.py +6 -6
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/container_registry.py +2 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/deploy_keys.py +3 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/deployments.py +3 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/environments.py +1 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/features.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/files.py +15 -7
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/geo_nodes.py +4 -4
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/groups.py +13 -7
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/integrations.py +3 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/issues.py +6 -4
- python_gitlab-4.6.0/gitlab/v4/objects/iterations.py +53 -0
- python_gitlab-4.6.0/gitlab/v4/objects/job_token_scope.py +77 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/jobs.py +15 -15
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/merge_request_approvals.py +12 -59
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/merge_requests.py +14 -12
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/milestones.py +4 -4
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/namespaces.py +3 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/packages.py +4 -4
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/pipelines.py +6 -5
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/projects.py +22 -18
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/repositories.py +14 -9
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/runners.py +2 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/secure_files.py +2 -1
- python_gitlab-4.6.0/gitlab/v4/objects/service_accounts.py +18 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/sidekiq.py +4 -4
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/snippets.py +3 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/todos.py +2 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/topics.py +2 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/users.py +11 -10
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/variables.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/pyproject.toml +2 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/python_gitlab.egg-info/PKG-INFO +20 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/python_gitlab.egg-info/SOURCES.txt +2 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/python_gitlab.egg-info/requires.txt +2 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/requirements-docker.txt +1 -1
- python_gitlab-4.6.0/requirements-docs.txt +6 -0
- python_gitlab-4.6.0/requirements-lint.txt +13 -0
- python_gitlab-4.6.0/requirements-precommit.txt +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/requirements-test.txt +6 -6
- python_gitlab-4.6.0/requirements.txt +2 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_boards.py +0 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_bulk_imports.py +29 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_current_user.py +1 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_deploy_keys.py +1 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_deploy_tokens.py +6 -6
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_epics.py +0 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_gitlab.py +1 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_groups.py +13 -8
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_import_export.py +9 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_issues.py +1 -8
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_keys.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_lazy_objects.py +5 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_merge_requests.py +33 -29
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_packages.py +1 -0
- python_gitlab-4.6.0/tests/functional/api/test_project_job_token_scope.py +116 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_projects.py +27 -19
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_releases.py +0 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_repository.py +1 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_services.py +1 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_snippets.py +12 -6
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_topics.py +0 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_users.py +32 -27
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_variables.py +0 -3
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/conftest.py +11 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli.py +16 -6
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_repository.py +15 -7
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_resource_access_tokens.py +5 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_users.py +5 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_v4.py +13 -38
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/conftest.py +30 -48
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/.env +1 -1
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/docker.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/set_token.rb +1 -1
- python_gitlab-4.6.0/tests/functional/helpers.py +71 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/smoke/test_dists.py +7 -7
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/meta/test_ensure_type_hints.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/meta/test_imports.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/meta/test_mro.py +4 -6
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_badges.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_bridges.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_deploy_tokens.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_deployments.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_draft_notes.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_environments.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_groups.py +26 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_issues.py +1 -0
- python_gitlab-4.6.0/tests/unit/objects/test_job_token_scope.py +202 -0
- python_gitlab-4.6.0/tests/unit/objects/test_jobs.py +170 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_keys.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_members.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_merge_request_pipelines.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_merge_requests.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_merge_trains.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_packages.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_pipeline_schedules.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_pipelines.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_project_import_export.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_project_merge_request_approvals.py +18 -18
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_project_statistics.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_registry_repositories.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_releases.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_repositories.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_resource_groups.py +3 -2
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_submodules.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_todos.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_topics.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_users.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_cli.py +61 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_gitlab_http_methods.py +1 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tox.ini +14 -3
- python-gitlab-4.4.0/docs/gl_objects/job_token_scope.rst +0 -51
- python-gitlab-4.4.0/gitlab/v4/objects/iterations.py +0 -26
- python-gitlab-4.4.0/gitlab/v4/objects/job_token_scope.py +0 -29
- python-gitlab-4.4.0/requirements-docs.txt +0 -6
- python-gitlab-4.4.0/requirements-lint.txt +0 -13
- python-gitlab-4.4.0/requirements-precommit.txt +0 -1
- python-gitlab-4.4.0/requirements.txt +0 -3
- python-gitlab-4.4.0/tests/functional/helpers.py +0 -55
- python-gitlab-4.4.0/tests/unit/objects/test_job_token_scope.py +0 -63
- python-gitlab-4.4.0/tests/unit/objects/test_jobs.py +0 -96
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/AUTHORS +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/COPYING +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/MANIFEST.in +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/Makefile +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/_static/js/gitter.js +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/api/gitlab.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/api/gitlab.v4.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/api-levels.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/api-objects.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/api-usage-advanced.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/changelog.md +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/cli-objects.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/cli-usage.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/conf.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/ext/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/ext/docstrings.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/ext/manager_tmpl.j2 +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/access_requests.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/appearance.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/applications.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/badges.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/boards.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/branches.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/bulk_imports.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/ci_lint.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/clusters.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/commits.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/deploy_keys.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/deploy_tokens.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/deployments.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/discussions.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/draft_notes.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/emojis.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/environments.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/epics.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/events.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/features.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/geo_nodes.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/group_access_tokens.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/invitations.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/issues.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/keys.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/labels.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/merge_request_approvals.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/merge_requests.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/merge_trains.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/messages.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/milestones.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/namespaces.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/notes.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/notifications.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/packages.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/pagesdomains.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/pipelines_and_jobs.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/project_access_tokens.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/projects.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/protected_environments.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/releases.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/remote_mirrors.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/repositories.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/repository_tags.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/resource_groups.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/runners.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/search.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/secure_files.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/settings.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/sidekiq.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/snippets.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/statistics.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/system_hooks.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/templates.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/todos.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/topics.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/users.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/variables.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/gl_objects/wikis.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/index.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/make.bat +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/docs/release-notes.rst +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/__main__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/_backends/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/_backends/requests_backend.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/base.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/config.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/const.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/exceptions.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/py.typed +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/types.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/access_requests.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/appearance.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/applications.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/award_emojis.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/badges.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/boards.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/broadcast_messages.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/bulk_imports.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/clusters.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/custom_attributes.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/deploy_tokens.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/discussions.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/draft_notes.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/epics.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/events.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/export_import.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/group_access_tokens.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/hooks.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/invitations.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/keys.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/labels.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/ldap.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/members.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/merge_trains.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/notes.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/notification_settings.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/pages.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/personal_access_tokens.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/project_access_tokens.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/push_rules.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/releases.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/resource_groups.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/reviewers.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/settings.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/statistics.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/tags.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/templates.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/triggers.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/gitlab/v4/objects/wikis.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/python_gitlab.egg-info/dependency_links.txt +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/python_gitlab.egg-info/entry_points.txt +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/python_gitlab.egg-info/top_level.txt +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/setup.cfg +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/conftest.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_branches.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_push_rules.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_statistics.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/api/test_wikis.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_artifacts.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_packages.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_projects.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/cli/test_cli_variables.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/ee-test.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/avatar.png +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/create_license.rb +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/docker-compose.yml +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/invalid_auth.cfg +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/functional/fixtures/invalid_version.cfg +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/install/test_install.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/smoke/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/_backends/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/_backends/test_requests_backend.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/base/test_rest_manager.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/base/test_rest_object.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/conftest.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/helpers.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/meta/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/mixins/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/mixins/test_meta_mixins.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/mixins/test_mixin_methods.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/mixins/test_object_mixins_attributes.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/__init__.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/conftest.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_appearance.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_applications.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_audit_events.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_bulk_imports.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_ci_lint.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_commits.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_group_access_tokens.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_hooks.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_invitations.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_iterations.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_job_artifacts.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_personal_access_tokens.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_project_access_tokens.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_projects.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_remote_mirrors.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_resource_iteration_events.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_resource_label_events.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_resource_milestone_events.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_resource_state_events.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_runners.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_secure_files.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_services.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_snippets.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_statistics.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/objects/test_variables.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_config.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_exceptions.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_gitlab.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_gitlab_auth.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_types.py +0 -0
- {python-gitlab-4.4.0 → python_gitlab-4.6.0}/tests/unit/test_utils.py +0 -0
@@ -2,6 +2,447 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
## v4.6.0 (2024-05-28)
|
6
|
+
|
7
|
+
### Chore
|
8
|
+
|
9
|
+
* chore(deps): update python-semantic-release/upload-to-gh-release digest to 673709c ([`1b550ac`](https://github.com/python-gitlab/python-gitlab/commit/1b550ac706c8c31331a7a9dac607aed49f5e1fcf))
|
10
|
+
|
11
|
+
* chore(deps): update all non-major dependencies ([`4c7014c`](https://github.com/python-gitlab/python-gitlab/commit/4c7014c13ed63f994e05b498d63b93dc8ab90c2e))
|
12
|
+
|
13
|
+
* chore: update commit reference in git-blame-ignore-revs ([`d0fd5ad`](https://github.com/python-gitlab/python-gitlab/commit/d0fd5ad5a70e7eb70aedba5a0d3082418c5ffa34))
|
14
|
+
|
15
|
+
* chore(cli): add ability to not add `_id_attr` as an argument
|
16
|
+
|
17
|
+
In some cases we don't want to have `_id_attr` as an argument.
|
18
|
+
|
19
|
+
Add ability to have it not be added as an argument. ([`2037352`](https://github.com/python-gitlab/python-gitlab/commit/20373525c1a1f98c18b953dbef896b2570d3d191))
|
20
|
+
|
21
|
+
* chore: create a CustomAction dataclass ([`61d8679`](https://github.com/python-gitlab/python-gitlab/commit/61d867925772cf38f20360c9b40140ac3203efb9))
|
22
|
+
|
23
|
+
* chore: add an initial .git-blame-ignore-revs
|
24
|
+
|
25
|
+
This adds the `.git-blame-ignore-revs` file which allows ignoring
|
26
|
+
certain commits when doing a `git blame --ignore-revs`
|
27
|
+
|
28
|
+
Ignore the commit that requires keyword arguments for
|
29
|
+
`register_custom_action()`
|
30
|
+
|
31
|
+
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view ([`74db84c`](https://github.com/python-gitlab/python-gitlab/commit/74db84ca878ec7029643ff7b00db55f9ea085e9b))
|
32
|
+
|
33
|
+
* chore: require keyword arguments for register_custom_action
|
34
|
+
|
35
|
+
This makes it more obvious when reading the code what each argument is
|
36
|
+
for. ([`7270523`](https://github.com/python-gitlab/python-gitlab/commit/7270523ad89a463c3542e072df73ba2255a49406))
|
37
|
+
|
38
|
+
* chore: remove typing-extensions from requirements.txt
|
39
|
+
|
40
|
+
We no longer support Python versions before 3.8. So it isn't needed
|
41
|
+
anymore. ([`d569128`](https://github.com/python-gitlab/python-gitlab/commit/d56912835360a1b5a03a20390fb45cb5e8b49ce4))
|
42
|
+
|
43
|
+
* chore(deps): update dependency requests to v2.32.0 [security] ([`1bc788c`](https://github.com/python-gitlab/python-gitlab/commit/1bc788ca979a36eeff2e35241bdefc764cf335ce))
|
44
|
+
|
45
|
+
* chore(deps): update all non-major dependencies ([`ba1eec4`](https://github.com/python-gitlab/python-gitlab/commit/ba1eec49556ee022de471aae8d15060189f816e3))
|
46
|
+
|
47
|
+
* chore(deps): update gitlab/gitlab-ee docker tag to v17 ([`5070d07`](https://github.com/python-gitlab/python-gitlab/commit/5070d07d13b9c87588dbfde3750340e322118779))
|
48
|
+
|
49
|
+
* chore(cli): on the CLI help show the API endpoint of resources
|
50
|
+
|
51
|
+
This makes it easier for people to map CLI command names to the API.
|
52
|
+
|
53
|
+
Looks like this:
|
54
|
+
$ gitlab --help
|
55
|
+
<snip>
|
56
|
+
The GitLab resource to manipulate.
|
57
|
+
application API endpoint: /applications
|
58
|
+
application-appearance
|
59
|
+
API endpoint: /application/appearance
|
60
|
+
application-settings
|
61
|
+
API endpoint: /application/settings
|
62
|
+
application-statistics
|
63
|
+
API endpoint: /application/statistics
|
64
|
+
<snip> ([`f1ef565`](https://github.com/python-gitlab/python-gitlab/commit/f1ef5650c3201f3883eb04ad90a874e8adcbcde2))
|
65
|
+
|
66
|
+
* chore(cli): add some simple help for the standard operations
|
67
|
+
|
68
|
+
Add help for the following standard operations:
|
69
|
+
* list: List the GitLab resources
|
70
|
+
* get: Get a GitLab resource
|
71
|
+
* create: Create a GitLab resource
|
72
|
+
* update: Update a GitLab resource
|
73
|
+
* delete: Delete a GitLab resource
|
74
|
+
|
75
|
+
For example:
|
76
|
+
$ gitlab project-key --help
|
77
|
+
usage: gitlab project-key [-h] {list,get,create,update,delete,enable} ...
|
78
|
+
|
79
|
+
options:
|
80
|
+
-h, --help show this help message and exit
|
81
|
+
|
82
|
+
action:
|
83
|
+
list
|
84
|
+
get
|
85
|
+
create
|
86
|
+
update
|
87
|
+
delete
|
88
|
+
enable
|
89
|
+
Action to execute on the GitLab resource.
|
90
|
+
list List the GitLab resources
|
91
|
+
get Get a GitLab resource
|
92
|
+
create Create a GitLab resource
|
93
|
+
update Update a GitLab resource
|
94
|
+
delete Delete a GitLab resource ([`5a4a940`](https://github.com/python-gitlab/python-gitlab/commit/5a4a940f42e43ed066838503638fe612813e504f))
|
95
|
+
|
96
|
+
* chore: correct type-hint for `job.trace()`
|
97
|
+
|
98
|
+
Closes: #2808 ([`840572e`](https://github.com/python-gitlab/python-gitlab/commit/840572e4fa36581405b604a985d0e130fe43f4ce))
|
99
|
+
|
100
|
+
* chore: add type info for ProjectFile.content
|
101
|
+
|
102
|
+
Closes: #2821 ([`62fa271`](https://github.com/python-gitlab/python-gitlab/commit/62fa2719ea129b3428e5e67d3d3a493f9aead863))
|
103
|
+
|
104
|
+
### Feature
|
105
|
+
|
106
|
+
* feat(api): add additional parameter to project/group iteration search (#2796)
|
107
|
+
|
108
|
+
Co-authored-by: Cristiano Casella <cristiano.casella@seacom.it>
|
109
|
+
Co-authored-by: Nejc Habjan <hab.nejc@gmail.com> ([`623dac9`](https://github.com/python-gitlab/python-gitlab/commit/623dac9c8363c61dbf53f72af58835743e96656b))
|
110
|
+
|
111
|
+
* feat(api): add support for gitlab service account (#2851)
|
112
|
+
|
113
|
+
|
114
|
+
Co-authored-by: Nejc Habjan <hab.nejc@siemens.com> ([`b187dea`](https://github.com/python-gitlab/python-gitlab/commit/b187deadabbfdf0326ecd79a3ee64c9de10c53e0))
|
115
|
+
|
116
|
+
* feat: more usernames support for MR approvals
|
117
|
+
|
118
|
+
I don't think commit a2b8c8ccfb5d went far enough to enable usernames
|
119
|
+
support. We create and edit a lot of approval rules based on an external
|
120
|
+
service (similar to CODE_OWNERS), but only have the usernames available,
|
121
|
+
and currently, have to look up each user to get their user ID to populate
|
122
|
+
user_ids for .set_approvers() calls. Would very much like to skip the
|
123
|
+
lookup and just send the usernames, which this change should allow.
|
124
|
+
|
125
|
+
See: https://docs.gitlab.com/ee/api/merge_request_approvals.html#create-project-level-rule
|
126
|
+
|
127
|
+
Signed-off-by: Jarod Wilson <jarod@redhat.com> ([`12d195a`](https://github.com/python-gitlab/python-gitlab/commit/12d195a35a1bd14947fbd6688a8ad1bd3fc21617))
|
128
|
+
|
129
|
+
### Fix
|
130
|
+
|
131
|
+
* fix(deps): update minimum dependency versions in pyproject.toml
|
132
|
+
|
133
|
+
Update the minimum versions of the dependencies in the pyproject.toml
|
134
|
+
file.
|
135
|
+
|
136
|
+
This is related to PR #2878 ([`37b5a70`](https://github.com/python-gitlab/python-gitlab/commit/37b5a704ef6b94774e54110ba3746a950e733986))
|
137
|
+
|
138
|
+
* fix(cli): don't require `--id` when enabling a deploy key
|
139
|
+
|
140
|
+
No longer require `--id` when doing:
|
141
|
+
gitlab project-key enable
|
142
|
+
|
143
|
+
Now only the --project-id and --key-id are required. ([`98fc578`](https://github.com/python-gitlab/python-gitlab/commit/98fc5789d39b81197351660b7a3f18903c2b91ba))
|
144
|
+
|
145
|
+
* fix: don't raise `RedirectError` for redirected `HEAD` requests ([`8fc13b9`](https://github.com/python-gitlab/python-gitlab/commit/8fc13b91d63d57c704d03b98920522a6469c96d7))
|
146
|
+
|
147
|
+
* fix: handle large number of approval rules
|
148
|
+
|
149
|
+
Use `iterator=True` when going through the list of current approval
|
150
|
+
rules. This allows it to handle more than the default of 20 approval
|
151
|
+
rules.
|
152
|
+
|
153
|
+
Closes: #2825 ([`ef8f0e1`](https://github.com/python-gitlab/python-gitlab/commit/ef8f0e190b1add3bbba9a7b194aba2f3c1a83b2e))
|
154
|
+
|
155
|
+
* fix(projects): fix 'import_project' file argument type for typings
|
156
|
+
|
157
|
+
Signed-off-by: Adrian DC <radian.dc@gmail.com> ([`33fbc14`](https://github.com/python-gitlab/python-gitlab/commit/33fbc14ea8432df7e637462379e567f4d0ad6c18))
|
158
|
+
|
159
|
+
|
160
|
+
## v4.5.0 (2024-05-13)
|
161
|
+
|
162
|
+
### Build
|
163
|
+
|
164
|
+
* build: Add "--no-cache-dir" to pip commands in Dockerfile
|
165
|
+
|
166
|
+
This would not leave cache files in the built docker image.
|
167
|
+
|
168
|
+
Additionally, also only build the wheel in the build phase.
|
169
|
+
|
170
|
+
On my machine, before this PR, size is 74845395; after this PR, size is
|
171
|
+
72617713. ([`4ef94c8`](https://github.com/python-gitlab/python-gitlab/commit/4ef94c8260e958873bb626e86d3241daa22f7ce6))
|
172
|
+
|
173
|
+
### Chore
|
174
|
+
|
175
|
+
* chore(deps): update all non-major dependencies ([`4f338ae`](https://github.com/python-gitlab/python-gitlab/commit/4f338aed9c583a20ff5944e6ccbba5737c18b0f4))
|
176
|
+
|
177
|
+
* chore(deps): update gitlab/gitlab-ee docker tag to v16.11.2-ee.0 ([`9be48f0`](https://github.com/python-gitlab/python-gitlab/commit/9be48f0bcc2d32b5e8489f62f963389d5d54b2f2))
|
178
|
+
|
179
|
+
* chore(deps): update dependency myst-parser to v3 ([`9289189`](https://github.com/python-gitlab/python-gitlab/commit/92891890eb4730bc240213a212d392bcb869b800))
|
180
|
+
|
181
|
+
* chore(deps): update all non-major dependencies ([`65d0e65`](https://github.com/python-gitlab/python-gitlab/commit/65d0e6520dcbcf5a708a87960c65fdcaf7e44bf3))
|
182
|
+
|
183
|
+
* chore(deps): update dependency jinja2 to v3.1.4 [security] ([`8ea10c3`](https://github.com/python-gitlab/python-gitlab/commit/8ea10c360175453c721ad8e27386e642c2b68d88))
|
184
|
+
|
185
|
+
* chore(deps): update all non-major dependencies ([`1f0343c`](https://github.com/python-gitlab/python-gitlab/commit/1f0343c1154ca8ae5b1f61de1db2343a2ad652ec))
|
186
|
+
|
187
|
+
* chore(deps): update gitlab/gitlab-ee docker tag to v16.11.1-ee.0 ([`1ed8d6c`](https://github.com/python-gitlab/python-gitlab/commit/1ed8d6c21d3463b2ad09eb553871042e98090ffd))
|
188
|
+
|
189
|
+
* chore(deps): update all non-major dependencies ([`0e9f4da`](https://github.com/python-gitlab/python-gitlab/commit/0e9f4da30cea507fcf83746008d9de2ee5a3bb9d))
|
190
|
+
|
191
|
+
* chore(deps): update gitlab/gitlab-ee docker tag to v16 ([`ea8c4c2`](https://github.com/python-gitlab/python-gitlab/commit/ea8c4c2bc9f17f510415a697e0fb19cabff4135e))
|
192
|
+
|
193
|
+
* chore(deps): update all non-major dependencies ([`d5b5fb0`](https://github.com/python-gitlab/python-gitlab/commit/d5b5fb00d8947ed9733cbb5a273e2866aecf33bf))
|
194
|
+
|
195
|
+
* chore(deps): update dependency pytest-cov to v5 ([`db32000`](https://github.com/python-gitlab/python-gitlab/commit/db3200089ea83588ea7ad8bd5a7175d81f580630))
|
196
|
+
|
197
|
+
* chore: update `mypy` to 1.9.0 and resolve one issue
|
198
|
+
|
199
|
+
mypy 1.9.0 flagged one issue in the code. Resolve the issue. Current
|
200
|
+
unit tests already check that a `None` value returns `text/plain`. So
|
201
|
+
function is still working as expected. ([`dd00bfc`](https://github.com/python-gitlab/python-gitlab/commit/dd00bfc9c832aba0ed377573fe2e9120b296548d))
|
202
|
+
|
203
|
+
* chore(deps): update dependency black to v24.3.0 [security] ([`f6e8692`](https://github.com/python-gitlab/python-gitlab/commit/f6e8692cfc84b5af2eb6deec4ae1c4935b42e91c))
|
204
|
+
|
205
|
+
* chore(deps): update all non-major dependencies ([`14a3ffe`](https://github.com/python-gitlab/python-gitlab/commit/14a3ffe4cc161be51a39c204350b5cd45c602335))
|
206
|
+
|
207
|
+
* chore(deps): update all non-major dependencies ([`3c4dcca`](https://github.com/python-gitlab/python-gitlab/commit/3c4dccaf51695334a5057b85d5ff4045739d1ad1))
|
208
|
+
|
209
|
+
* chore(deps): update all non-major dependencies ([`04c569a`](https://github.com/python-gitlab/python-gitlab/commit/04c569a2130d053e35c1f2520ef8bab09f2f9651))
|
210
|
+
|
211
|
+
* chore: add tox `labels` to enable running groups of environments
|
212
|
+
|
213
|
+
tox now has a feature of `labels` which allows running groups of
|
214
|
+
environments using the command `tox -m LABEL_NAME`. For example
|
215
|
+
`tox -m lint` which has been setup to run the linters.
|
216
|
+
|
217
|
+
Bumped the minimum required version of tox to be 4.0, which was
|
218
|
+
released over a year ago. ([`d7235c7`](https://github.com/python-gitlab/python-gitlab/commit/d7235c74f8605f4abfb11eb257246864c7dcf709))
|
219
|
+
|
220
|
+
* chore: add py312 & py313 to tox environment list
|
221
|
+
|
222
|
+
Even though there isn't a Python 3.13 at this time, this is done for
|
223
|
+
the future. tox is already configured to just warn about missing
|
224
|
+
Python versions, but not fail if they don't exist. ([`679ddc7`](https://github.com/python-gitlab/python-gitlab/commit/679ddc7587d2add676fd2398cb9673bd1ca272e3))
|
225
|
+
|
226
|
+
* chore(deps): update python-semantic-release/python-semantic-release action to v9 ([`e11d889`](https://github.com/python-gitlab/python-gitlab/commit/e11d889cd19ec1555b2bbee15355a8cdfad61d5f))
|
227
|
+
|
228
|
+
* chore(deps): update all non-major dependencies ([`3c4b27e`](https://github.com/python-gitlab/python-gitlab/commit/3c4b27e64f4b51746b866f240a1291c2637355cc))
|
229
|
+
|
230
|
+
* chore(deps): update dependency furo to v2024 ([`f6fd02d`](https://github.com/python-gitlab/python-gitlab/commit/f6fd02d956529e2c4bce261fe7b3da1442aaea12))
|
231
|
+
|
232
|
+
* chore(deps): update dependency pytest to v8 ([`253babb`](https://github.com/python-gitlab/python-gitlab/commit/253babb9a7f8a7d469440fcfe1b2741ddcd8475e))
|
233
|
+
|
234
|
+
* chore(deps): update dependency pytest-docker to v3 ([`35d2aec`](https://github.com/python-gitlab/python-gitlab/commit/35d2aec04532919d6dd7b7090bc4d5209eddd10d))
|
235
|
+
|
236
|
+
* chore: update version of `black` for `pre-commit`
|
237
|
+
|
238
|
+
The version of `black` needs to be updated to be in sync with what is
|
239
|
+
in `requirements-lint.txt` ([`3501716`](https://github.com/python-gitlab/python-gitlab/commit/35017167a80809a49351f9e95916fafe61c7bfd5))
|
240
|
+
|
241
|
+
* chore(deps): update all non-major dependencies ([`7dc2fa6`](https://github.com/python-gitlab/python-gitlab/commit/7dc2fa6e632ed2c9adeb6ed32c4899ec155f6622))
|
242
|
+
|
243
|
+
* chore(deps): update codecov/codecov-action action to v4 ([`d2be1f7`](https://github.com/python-gitlab/python-gitlab/commit/d2be1f7608acadcc2682afd82d16d3706b7f7461))
|
244
|
+
|
245
|
+
* chore: adapt style for black v24 ([`4e68d32`](https://github.com/python-gitlab/python-gitlab/commit/4e68d32c77ed587ab42d229d9f44c3bc40d1d0e5))
|
246
|
+
|
247
|
+
* chore(deps): update dependency black to v24 ([`f59aee3`](https://github.com/python-gitlab/python-gitlab/commit/f59aee3ddcfaeeb29fcfab4cc6768dff6b5558cb))
|
248
|
+
|
249
|
+
* chore(deps): update all non-major dependencies ([`48726fd`](https://github.com/python-gitlab/python-gitlab/commit/48726fde9b3c2424310ff590b366b9fdefa4a146))
|
250
|
+
|
251
|
+
### Documentation
|
252
|
+
|
253
|
+
* docs: add FAQ about conflicting parameters
|
254
|
+
|
255
|
+
We have received multiple issues lately about this. Add it to the FAQ. ([`683ce72`](https://github.com/python-gitlab/python-gitlab/commit/683ce723352cc09e1a4b65db28be981ae6bb9f71))
|
256
|
+
|
257
|
+
* docs(README): tweak GitLab CI usage docs ([`d9aaa99`](https://github.com/python-gitlab/python-gitlab/commit/d9aaa994568ad4896a1e8a0533ef0d1d2ba06bfa))
|
258
|
+
|
259
|
+
* docs: how to run smoke tests
|
260
|
+
|
261
|
+
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk> ([`2d1f487`](https://github.com/python-gitlab/python-gitlab/commit/2d1f4872390df10174f865f7a935bc73f7865fec))
|
262
|
+
|
263
|
+
* docs(objects): minor rst formatting typo
|
264
|
+
|
265
|
+
To correctly format a code block have to use `::` ([`57dfd17`](https://github.com/python-gitlab/python-gitlab/commit/57dfd1769b4e22b43dc0936aa3600cd7e78ba289))
|
266
|
+
|
267
|
+
* docs: correct rotate token example
|
268
|
+
|
269
|
+
Rotate token returns a dict. Change example to print the entire dict.
|
270
|
+
|
271
|
+
Closes: #2836 ([`c53e695`](https://github.com/python-gitlab/python-gitlab/commit/c53e6954f097ed10d52b40660d2fba73c2e0e300))
|
272
|
+
|
273
|
+
* docs: Note how to use the Docker image from within GitLab CI
|
274
|
+
|
275
|
+
Ref: #2823 ([`6d4bffb`](https://github.com/python-gitlab/python-gitlab/commit/6d4bffb5aaa676d32fc892ef1ac002973bc040cb))
|
276
|
+
|
277
|
+
* docs(artifacts): Fix argument indentation ([`c631eeb`](https://github.com/python-gitlab/python-gitlab/commit/c631eeb55556920f5975b1fa2b1a0354478ce3c0))
|
278
|
+
|
279
|
+
### Feature
|
280
|
+
|
281
|
+
* feat(job_token_scope): support Groups in job token allowlist API (#2816)
|
282
|
+
|
283
|
+
* feat(job_token_scope): support job token access allowlist API
|
284
|
+
|
285
|
+
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
|
286
|
+
l.dwp.gov.uk>
|
287
|
+
Co-authored-by: Nejc Habjan <nejc.habjan@siemens.com> ([`2d1b749`](https://github.com/python-gitlab/python-gitlab/commit/2d1b7499a93db2c9600b383e166f7463a5f22085))
|
288
|
+
|
289
|
+
* feat(cli): allow skipping initial auth calls ([`001e596`](https://github.com/python-gitlab/python-gitlab/commit/001e59675f4a417a869f813d79c298a14268b87d))
|
290
|
+
|
291
|
+
* feat(api): allow updating protected branches (#2771)
|
292
|
+
|
293
|
+
* feat(api): allow updating protected branches
|
294
|
+
|
295
|
+
Closes #2390 ([`a867c48`](https://github.com/python-gitlab/python-gitlab/commit/a867c48baa6f10ffbfb785e624a6e3888a859571))
|
296
|
+
|
297
|
+
### Fix
|
298
|
+
|
299
|
+
* fix: Consider `scope` an ArrayAttribute in PipelineJobManager
|
300
|
+
|
301
|
+
List query params like 'scope' were not being handled correctly for
|
302
|
+
pipeline/jobs endpoint.
|
303
|
+
This change ensures multiple values are appended with '[]', resulting in
|
304
|
+
the correct URL structure.
|
305
|
+
|
306
|
+
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
|
307
|
+
|
308
|
+
---
|
309
|
+
|
310
|
+
Background:
|
311
|
+
If one queries for pipeline jobs with `scope=["failed", "success"]`
|
312
|
+
|
313
|
+
One gets:
|
314
|
+
GET /api/v4/projects/176/pipelines/1113028/jobs?scope=success&scope=failed
|
315
|
+
|
316
|
+
But it is supposed to get:
|
317
|
+
GET /api/v4/projects/176/pipelines/1113028/jobs?scope[]=success&scope[]=failed
|
318
|
+
|
319
|
+
The current version only considers the last element of the list argument.
|
320
|
+
|
321
|
+
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> ([`c5d0404`](https://github.com/python-gitlab/python-gitlab/commit/c5d0404ac9edfbfd328e7b4f07f554366377df3f))
|
322
|
+
|
323
|
+
* fix(test): use different ids for merge request, approval rule, project
|
324
|
+
|
325
|
+
The original bug was that the merge request identifier was used instead of the
|
326
|
+
approval rule identifier. The test didn't notice that because it used `1` for
|
327
|
+
all identifiers. Make these identifiers different so that a mixup will become
|
328
|
+
apparent. ([`c23e6bd`](https://github.com/python-gitlab/python-gitlab/commit/c23e6bd5785205f0f4b4c80321153658fc23fb98))
|
329
|
+
|
330
|
+
* fix(api): fix saving merge request approval rules
|
331
|
+
|
332
|
+
Closes #2548 ([`b8b3849`](https://github.com/python-gitlab/python-gitlab/commit/b8b3849b2d4d3f2d9e81e5cf4f6b53368f7f0127))
|
333
|
+
|
334
|
+
* fix: user.warn() to show correct filename of issue
|
335
|
+
|
336
|
+
Previously would only go to the 2nd level of the stack for determining
|
337
|
+
the offending filename and line number. When it should be showing the
|
338
|
+
first filename outside of the python-gitlab source code. As we want it
|
339
|
+
to show the warning for the user of the libraries code.
|
340
|
+
|
341
|
+
Update test to show it works as expected. ([`529f1fa`](https://github.com/python-gitlab/python-gitlab/commit/529f1faacee46a88cb0a542306309eb835516796))
|
342
|
+
|
343
|
+
* fix(api): update manual job status when playing it ([`9440a32`](https://github.com/python-gitlab/python-gitlab/commit/9440a3255018d6a6e49269caf4c878d80db508a8))
|
344
|
+
|
345
|
+
* fix(cli): allow exclusive arguments as optional (#2770)
|
346
|
+
|
347
|
+
* fix(cli): allow exclusive arguments as optional
|
348
|
+
|
349
|
+
The CLI takes its arguments from the RequiredOptional, which has three fields: required, optional, and exclusive. In practice, the exclusive options are not defined as either required or optional, and would not be allowed in the CLI. This changes that, so that exclusive options are also added to the argument parser.
|
350
|
+
|
351
|
+
* fix(cli): inform argument parser that options are mutually exclusive
|
352
|
+
|
353
|
+
* fix(cli): use correct exclusive options, add unit test
|
354
|
+
|
355
|
+
Closes #2769 ([`7ec3189`](https://github.com/python-gitlab/python-gitlab/commit/7ec3189d6eacdb55925e8be886a44d7ee09eb9ca))
|
356
|
+
|
357
|
+
### Test
|
358
|
+
|
359
|
+
* test: remove approve step
|
360
|
+
|
361
|
+
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk> ([`48a6705`](https://github.com/python-gitlab/python-gitlab/commit/48a6705558c5ab6fb08c62a18de350a5985099f8))
|
362
|
+
|
363
|
+
* test: tidy up functional tests
|
364
|
+
|
365
|
+
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk> ([`06266ea`](https://github.com/python-gitlab/python-gitlab/commit/06266ea5966c601c035ad8ce5840729e5f9baa57))
|
366
|
+
|
367
|
+
* test: update api tests for GL 16.10
|
368
|
+
|
369
|
+
- Make sure we're testing python-gitlab functionality,
|
370
|
+
make sure we're not awaiting on Gitlab Async functions
|
371
|
+
- Decouple and improve test stability
|
372
|
+
|
373
|
+
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk> ([`4bef473`](https://github.com/python-gitlab/python-gitlab/commit/4bef47301342703f87c1ce1d2920d54f9927a66a))
|
374
|
+
|
375
|
+
* test(functional): enable bulk import feature flag before test ([`b81da2e`](https://github.com/python-gitlab/python-gitlab/commit/b81da2e66ce385525730c089dbc2a5a85ba23287))
|
376
|
+
|
377
|
+
* test: don't use weak passwords
|
378
|
+
|
379
|
+
Newer versions of GitLab will refuse to create a user with a weak
|
380
|
+
password. In order for us to move to a newer GitLab version in testing
|
381
|
+
use a stronger password for the tests that create a user. ([`c64d126`](https://github.com/python-gitlab/python-gitlab/commit/c64d126142cc77eae4297b8deec27bb1d68b7a13))
|
382
|
+
|
383
|
+
* test: update tests for gitlab 16.8 functionality
|
384
|
+
|
385
|
+
- use programmatic dates for expires_at in tokens tests
|
386
|
+
- set PAT for 16.8 into tests
|
387
|
+
|
388
|
+
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk> ([`f8283ae`](https://github.com/python-gitlab/python-gitlab/commit/f8283ae69efd86448ae60d79dd8321af3f19ba1b))
|
389
|
+
|
390
|
+
* test(smoke): normalize all dist titles for smoke tests ([`ee013fe`](https://github.com/python-gitlab/python-gitlab/commit/ee013fe1579b001b4b30bae33404e827c7bdf8c1))
|
391
|
+
|
392
|
+
|
393
|
+
## v4.4.0 (2024-01-15)
|
394
|
+
|
395
|
+
### Chore
|
396
|
+
|
397
|
+
* chore(deps): update all non-major dependencies ([`550f935`](https://github.com/python-gitlab/python-gitlab/commit/550f9355d29a502bb022f68dab6c902bf6913552))
|
398
|
+
|
399
|
+
* chore(deps): update pre-commit hook pycqa/flake8 to v7 ([`9a199b6`](https://github.com/python-gitlab/python-gitlab/commit/9a199b6089152e181e71a393925e0ec581bc55ca))
|
400
|
+
|
401
|
+
* chore(deps): update dependency jinja2 to v3.1.3 [security] ([`880913b`](https://github.com/python-gitlab/python-gitlab/commit/880913b67cce711d96e89ce6813e305e4ba10908))
|
402
|
+
|
403
|
+
* chore(deps): update dependency flake8 to v7 ([`20243c5`](https://github.com/python-gitlab/python-gitlab/commit/20243c532a8a6d28eee0caff5b9c30cc7376a162))
|
404
|
+
|
405
|
+
* chore(deps): update all non-major dependencies ([`cbc13a6`](https://github.com/python-gitlab/python-gitlab/commit/cbc13a61e0f15880b49a3d0208cc603d7d0b57e3))
|
406
|
+
|
407
|
+
* chore(ci): align upload and download action versions ([`dcca59d`](https://github.com/python-gitlab/python-gitlab/commit/dcca59d1a5966283c1120cfb639c01a76214d2b2))
|
408
|
+
|
409
|
+
* chore(deps): update actions/upload-artifact action to v4 ([`7114af3`](https://github.com/python-gitlab/python-gitlab/commit/7114af341dd12b7fb63ffc08650c455ead18ab70))
|
410
|
+
|
411
|
+
* chore(ci): add Python 3.13 development CI job
|
412
|
+
|
413
|
+
Add a job to test the development versions of Python 3.13. ([`ff0c11b`](https://github.com/python-gitlab/python-gitlab/commit/ff0c11b7b75677edd85f846a4dbdab08491a6bd7))
|
414
|
+
|
415
|
+
* chore(deps): update all non-major dependencies ([`369a595`](https://github.com/python-gitlab/python-gitlab/commit/369a595a8763109a2af8a95a8e2423ebb30b9320))
|
416
|
+
|
417
|
+
### Feature
|
418
|
+
|
419
|
+
* feat(api): add reviewer_details manager for mergrequest to get reviewers of merge request
|
420
|
+
|
421
|
+
Those changes implements 'GET /projects/:id/merge_requests/:merge_request_iid/reviewers' gitlab API call.
|
422
|
+
Naming for call is not reviewers because reviewers atribute already presen in merge request response ([`adbd90c`](https://github.com/python-gitlab/python-gitlab/commit/adbd90cadffe1d9e9716a6e3826f30664866ad3f))
|
423
|
+
|
424
|
+
* feat(api): support access token rotate API ([`b13971d`](https://github.com/python-gitlab/python-gitlab/commit/b13971d5472cb228f9e6a8f2fa05a7cc94d03ebe))
|
425
|
+
|
426
|
+
* feat(api): support single resource access token get API ([`dae9e52`](https://github.com/python-gitlab/python-gitlab/commit/dae9e522a26041f5b3c6461cc8a5e284f3376a79))
|
427
|
+
|
428
|
+
### Fix
|
429
|
+
|
430
|
+
* fix(cli): support binary files with `@` notation
|
431
|
+
|
432
|
+
Support binary files being used in the CLI with arguments using the
|
433
|
+
`@` notation. For example `--avatar @/path/to/avatar.png`
|
434
|
+
|
435
|
+
Also explicitly catch the common OSError exception, which is the
|
436
|
+
parent exception for things like: FileNotFoundError, PermissionError
|
437
|
+
and more exceptions.
|
438
|
+
|
439
|
+
Remove the bare exception handling. We would rather have the full
|
440
|
+
traceback of any exceptions that we don't know about and add them
|
441
|
+
later if needed.
|
442
|
+
|
443
|
+
Closes: #2752 ([`57749d4`](https://github.com/python-gitlab/python-gitlab/commit/57749d46de1d975aacb82758c268fc26e5e6ed8b))
|
444
|
+
|
445
|
+
|
5
446
|
## v4.3.0 (2023-12-28)
|
6
447
|
|
7
448
|
### Chore
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: python-gitlab
|
3
|
-
Version: 4.
|
3
|
+
Version: 4.6.0
|
4
4
|
Summary: A python wrapper for the GitLab API
|
5
5
|
Author-email: Gauvain Pocentek <gauvain@pocentek.net>
|
6
6
|
Maintainer-email: John Villalovos <john@sodarock.com>, Max Wittig <max.wittig@siemens.com>, Nejc Habjan <nejc.habjan@siemens.com>, Roger Meier <r.meier@siemens.com>
|
@@ -28,8 +28,8 @@ Requires-Python: >=3.8.0
|
|
28
28
|
Description-Content-Type: text/x-rst
|
29
29
|
License-File: COPYING
|
30
30
|
License-File: AUTHORS
|
31
|
-
Requires-Dist: requests>=2.
|
32
|
-
Requires-Dist: requests-toolbelt>=0.
|
31
|
+
Requires-Dist: requests>=2.32.0
|
32
|
+
Requires-Dist: requests-toolbelt>=1.0.0
|
33
33
|
Provides-Extra: autocompletion
|
34
34
|
Requires-Dist: argcomplete<3,>=1.10.0; extra == "autocompletion"
|
35
35
|
Provides-Extra: yaml
|
@@ -149,6 +149,23 @@ You can also mount your own config file:
|
|
149
149
|
|
150
150
|
$ docker run -it --rm -v /path/to/python-gitlab.cfg:/etc/python-gitlab.cfg registry.gitlab.com/python-gitlab/python-gitlab:latest <command> ...
|
151
151
|
|
152
|
+
Usage inside GitLab CI
|
153
|
+
~~~~~~~~~~~~~~~~~~~~~~
|
154
|
+
|
155
|
+
If you want to use the Docker image directly inside your GitLab CI as an ``image``, you will need to override
|
156
|
+
the ``entrypoint``, `as noted in the official GitLab documentation <https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#override-the-entrypoint-of-an-image>`__:
|
157
|
+
|
158
|
+
.. code-block:: yaml
|
159
|
+
|
160
|
+
Job Name:
|
161
|
+
image:
|
162
|
+
name: registry.gitlab.com/python-gitlab/python-gitlab:latest
|
163
|
+
entrypoint: [""]
|
164
|
+
before_script:
|
165
|
+
gitlab --version
|
166
|
+
script:
|
167
|
+
gitlab <command>
|
168
|
+
|
152
169
|
Building the image
|
153
170
|
~~~~~~~~~~~~~~~~~~
|
154
171
|
|
@@ -112,6 +112,23 @@ You can also mount your own config file:
|
|
112
112
|
|
113
113
|
$ docker run -it --rm -v /path/to/python-gitlab.cfg:/etc/python-gitlab.cfg registry.gitlab.com/python-gitlab/python-gitlab:latest <command> ...
|
114
114
|
|
115
|
+
Usage inside GitLab CI
|
116
|
+
~~~~~~~~~~~~~~~~~~~~~~
|
117
|
+
|
118
|
+
If you want to use the Docker image directly inside your GitLab CI as an ``image``, you will need to override
|
119
|
+
the ``entrypoint``, `as noted in the official GitLab documentation <https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#override-the-entrypoint-of-an-image>`__:
|
120
|
+
|
121
|
+
.. code-block:: yaml
|
122
|
+
|
123
|
+
Job Name:
|
124
|
+
image:
|
125
|
+
name: registry.gitlab.com/python-gitlab/python-gitlab:latest
|
126
|
+
entrypoint: [""]
|
127
|
+
before_script:
|
128
|
+
gitlab --version
|
129
|
+
script:
|
130
|
+
gitlab <command>
|
131
|
+
|
115
132
|
Building the image
|
116
133
|
~~~~~~~~~~~~~~~~~~
|
117
134
|
|
@@ -162,6 +162,11 @@ with the GitLab server error message:
|
|
162
162
|
...
|
163
163
|
GitlabListError: 400: sort does not have a valid value
|
164
164
|
|
165
|
+
.. _conflicting_parameters:
|
166
|
+
|
167
|
+
Conflicting Parameters
|
168
|
+
======================
|
169
|
+
|
165
170
|
You can use the ``query_parameters`` argument to send arguments that would
|
166
171
|
conflict with python or python-gitlab when using them as kwargs:
|
167
172
|
|
@@ -9,9 +9,11 @@ CLI examples
|
|
9
9
|
CI Lint
|
10
10
|
-------
|
11
11
|
|
12
|
+
**ci-lint has been Removed in Gitlab 16, use project-ci-lint instead**
|
13
|
+
|
12
14
|
Lint a CI YAML configuration from a string:
|
13
15
|
|
14
|
-
.. note::
|
16
|
+
.. note::
|
15
17
|
|
16
18
|
To see output, you will need to use the ``-v``/``--verbose`` flag.
|
17
19
|
|
@@ -39,6 +41,9 @@ Validate a CI YAML configuration from a file (lints and exits with non-zero on f
|
|
39
41
|
|
40
42
|
$ gitlab ci-lint validate --content @.gitlab-ci.yml
|
41
43
|
|
44
|
+
Project CI Lint
|
45
|
+
---------------
|
46
|
+
|
42
47
|
Lint a project's CI YAML configuration:
|
43
48
|
|
44
49
|
.. code-block:: console
|
@@ -78,3 +78,23 @@ access an attribute that is shadowed by python-gitlab's own methods or managers.
|
|
78
78
|
|
79
79
|
You can use the object's ``attributes`` dictionary to access it directly instead.
|
80
80
|
See the :ref:`objects` section for more details on how attributes are exposed.
|
81
|
+
|
82
|
+
.. _conflicting_parameters_faq:
|
83
|
+
|
84
|
+
I cannot use the parameter ``path`` (or some other parameter) as it conflicts with the library
|
85
|
+
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
86
|
+
|
87
|
+
``path`` is used by the python-gitlab library and cannot be used as a parameter
|
88
|
+
if wanting to send it to the GitLab instance. You can use the
|
89
|
+
``query_parameters`` argument to send arguments that would conflict with python
|
90
|
+
or python-gitlab when using them as kwargs:
|
91
|
+
|
92
|
+
.. code-block:: python
|
93
|
+
|
94
|
+
## invalid, as ``path`` is interpreted by python-gitlab as the Path or full
|
95
|
+
## URL to query ('/projects' or 'http://whatever/v4/api/projects')
|
96
|
+
project.commits.list(path='some_file_path', iterator=True)
|
97
|
+
|
98
|
+
project.commits.list(query_parameters={'path': 'some_file_path'}, iterator=True) # OK
|
99
|
+
|
100
|
+
See :ref:`Conflicting Parameters <conflicting_parameters>` for more information.
|
@@ -458,3 +458,24 @@ Edit group push rules::
|
|
458
458
|
Delete group push rules::
|
459
459
|
|
460
460
|
pr.delete()
|
461
|
+
|
462
|
+
Group Service Account
|
463
|
+
=====================
|
464
|
+
|
465
|
+
Reference
|
466
|
+
---------
|
467
|
+
|
468
|
+
* v4 API:
|
469
|
+
|
470
|
+
+ :class:`gitlab.v4.objects.GroupServiceAccount`
|
471
|
+
+ :class:`gitlab.v4.objects.GroupServiceAccountManager`
|
472
|
+
+ :attr:`gitlab.v4.objects.Group.serviceaccounts`
|
473
|
+
|
474
|
+
* GitLab API: https://docs.gitlab.com/ee/api/groups.html#service-accounts
|
475
|
+
|
476
|
+
Examples
|
477
|
+
---------
|
478
|
+
|
479
|
+
Create group service account (only allowed at top level group)::
|
480
|
+
|
481
|
+
group.serviceaccount.create({'name': 'group-service-account', 'username': 'group-service-account'})
|
@@ -31,3 +31,13 @@ List iterations for a project's ancestor groups::
|
|
31
31
|
List iterations for a group::
|
32
32
|
|
33
33
|
iterations = group.iterations.list()
|
34
|
+
|
35
|
+
Unavailable filters or keyword conflicts::
|
36
|
+
|
37
|
+
In case you are trying to pass a parameter that collides with a python
|
38
|
+
keyword (i.e. `in`) or with python-gitlab's internal arguments, you'll have
|
39
|
+
to use the `query_parameters` argument:
|
40
|
+
|
41
|
+
```
|
42
|
+
group.iterations.list(query_parameters={"in": "title"})
|
43
|
+
```
|