python-gitea 0.11.0__tar.gz → 0.11.2__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_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/codeql.yml +3 -3
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/support_floor_update.yml +1 -1
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.pre-commit-config.yaml +3 -3
- {python_gitea-0.11.0 → python_gitea-0.11.2}/PKG-INFO +1 -1
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/dev/architecture.md +11 -11
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/user-guide/python-api.md +6 -8
- {python_gitea-0.11.0 → python_gitea-0.11.2}/pyproject.toml +2 -2
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/resource/async_resource.py +2 -2
- python_gitea-0.11.2/src/gitea/resource/protocol.py +62 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/resource/resource.py +2 -2
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/utils/test_cli_utils_options.py +22 -4
- {python_gitea-0.11.0 → python_gitea-0.11.2}/uv.lock +303 -318
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.coderabbit.yaml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/ISSUE_TEMPLATE/bug-report.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/pull_request_template.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/ci.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/documentation.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/draft_release.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/publish.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/publish_testpypi.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/release.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/scheduled_release.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.github/workflows/semantic_pull_request.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.gitignore +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.markdownlint.yaml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.prettierrc +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.pypirc +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/.typos.toml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/CITATION.cff +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/CODE_OF_CONDUCT.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/CONTRIBUTING.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/LICENSE +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/README.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/SECURITY.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/SUPPORT.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/cliff.toml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/contributing.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/dev/troubleshooting.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/gen_ref_pages.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/index.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/javascripts/mathjax.js +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/security.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/style/api.css +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/user-guide/cli.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/user-guide/configuration.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/user-guide/installation.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/docs/user-guide/quickstart.md +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/mkdocs.yml +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/renovate.json +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/scripts/release_version.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/__main__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/_lazy.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/actions.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/artifact.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/async_actions.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/async_artifact.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/async_run_management.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/async_runner.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/async_secret.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/async_variable.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/run_management.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/runner.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/scope.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/secret.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/actions/variable.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/artifact/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/artifact/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/artifact/download.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/artifact/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/artifact/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/job/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/job/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/job/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/job/logs.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/job/rerun.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/approve.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/cancel.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/force_cancel.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/jobs.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/run/rerun.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/runner/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/runner/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/runner/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/runner/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/runner/registration_token.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/runner/state.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/runner/update.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/secret/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/secret/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/secret/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/secret/set.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/variable/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/variable/create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/variable/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/variable/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/variable/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/variable/update.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/workflow/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/workflow/dispatch.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/workflow/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/actions/workflow/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/comment/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/comment/add.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/comment/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/comment/edit.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/comment/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/comment/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/config/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/config/add.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/config/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/config/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/config/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/config/update.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/close.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/dependency/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/dependency/add.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/dependency/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/dependency/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/dependency/remove.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/edit.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/issue/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/label/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/label/create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/label/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/label/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/label/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/label/update.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/milestone/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/milestone/create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/milestone/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/milestone/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/notification/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/notification/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/notification/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/notification/read.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/organization/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/organization/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/organization/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/output.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/column/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/column/create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/column/issues.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/column/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/edit.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/issue/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/issue/add.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/issue/move.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/issue/remove.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/issues.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/project/show.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/pull_request/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/pull_request/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/pull_request/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/repository/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/repository/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/repository/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/user/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/user/get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/user/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/user/update_settings.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/utils/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/utils/api.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/utils/auth.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/utils/convert.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/utils/errors.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/utils/issue.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/utils/options.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/watch/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/watch/advance.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/watch/list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/watch/main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/cli/watch/scopes.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/client/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/client/async_gitea.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/client/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/client/gitea.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/comment/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/comment/async_comment.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/comment/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/comment/comment.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/config/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/config/manager.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/config/model.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/issue/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/issue/async_issue.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/issue/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/issue/issue.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/issue/project_column.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/label/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/label/async_label.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/label/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/label/label.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/milestone/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/milestone/async_milestone.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/milestone/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/milestone/milestone.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/notification/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/notification/async_notification.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/notification/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/notification/notification.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/organization/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/organization/async_organization.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/organization/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/organization/organization.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/project/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/project/async_project.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/project/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/project/project.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/pull_request/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/pull_request/async_pull_request.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/pull_request/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/pull_request/pull_request.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/repository/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/repository/async_repository.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/repository/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/repository/repository.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/resource/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/user/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/user/async_user.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/user/base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/user/user.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/utils/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/utils/fields.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/utils/log.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/utils/pagination.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/utils/response.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/version.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/watch/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/watch/changes.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/src/gitea/watch/state.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/actions/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/actions/test_actions_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/actions/test_actions_imports.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/actions/test_actions_requests.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/actions/test_actions_scope.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/board.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/invoking.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_artifact.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_job_get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_job_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_job_logs.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_run_get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_run_jobs.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_run_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_run_management.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_runner.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_secret.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_variable.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_workflow_dispatch.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_workflow_get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/actions/test_cli_actions_workflow_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/comment/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/comment/test_cli_comment_add.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/comment/test_cli_comment_delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/comment/test_cli_comment_edit.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/comment/test_cli_comment_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/comment/test_cli_comment_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/config/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/config/test_cli_config_add.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/config/test_cli_config_delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/config/test_cli_config_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/config/test_cli_config_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/config/test_cli_config_update.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/envelope.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/dependency/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/dependency/test_cli_issue_dependency.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/test_cli_issue_close.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/test_cli_issue_comment.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/test_cli_issue_create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/test_cli_issue_edit.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/test_cli_issue_get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/test_cli_issue_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/issue/test_cli_issue_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/label/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/label/test_cli_label_create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/label/test_cli_label_delete.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/label/test_cli_label_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/label/test_cli_label_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/label/test_cli_label_update.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/milestone/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/milestone/test_cli_milestone_create.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/milestone/test_cli_milestone_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/milestone/test_cli_milestone_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/notification/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/notification/test_cli_notification.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/organization/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/organization/test_cli_organization_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/organization/test_cli_organization_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/project/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/project/test_cli_project.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/project/test_cli_project_column_issues.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/project/test_cli_project_show.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/pull_request/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/pull_request/test_cli_pull_request_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/pull_request/test_cli_pull_request_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/rendering.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/repository/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/repository/test_cli_repository_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/repository/test_cli_repository_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/test_cli_contract.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/test_cli_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/test_cli_output.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/tree.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/user/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/user/test_cli_user_get.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/user/test_cli_user_update_settings.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/utils/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/utils/test_cli_utils_api.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/utils/test_cli_utils_auth.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/utils/test_cli_utils_convert.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/utils/test_cli_utils_errors.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/utils/test_cli_utils_issue.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/watch/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/watch/support.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/watch/test_cli_watch_advance.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/watch/test_cli_watch_list.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/cli/watch/test_cli_watch_scopes.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/client/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/client/test_client_async_gitea.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/client/test_client_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/client/test_client_gitea.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/comment/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/comment/test_comment_async_comment.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/comment/test_comment_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/comment/test_comment_comment.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/config/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/config/test_config_manager.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/config/test_config_model.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/conftest.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/issue/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/issue/test_issue_async_issue.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/issue/test_issue_async_project_column.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/issue/test_issue_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/issue/test_issue_dependencies.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/issue/test_issue_issue.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/issue/test_issue_project_column.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/label/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/label/test_label_async_label.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/label/test_label_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/label/test_label_label.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/milestone/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/milestone/test_milestone_async_milestone.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/milestone/test_milestone_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/milestone/test_milestone_milestone.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/notification/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/notification/test_notification_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/notification/test_notification_notification.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/organization/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/organization/test_organization_async_organization.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/organization/test_organization_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/organization/test_organization_organization.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/project/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/project/test_project_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/project/test_project_project.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/project/test_project_requests.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/pull_request/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/pull_request/test_pull_request_async_pull_request.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/pull_request/test_pull_request_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/pull_request/test_pull_request_pull_request.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/repository/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/repository/test_repository_async_repository.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/repository/test_repository_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/repository/test_repository_repository.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/resource/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/resource/test_resource_async_resource.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/resource/test_resource_resource.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/smoke_test.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/test_import.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/test_lazy_reexports.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/test_main.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/test_release_version.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/test_version.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/transport.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/user/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/user/test_user_async_user.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/user/test_user_base.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/user/test_user_user.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/utils/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/utils/test_utils_fields.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/utils/test_utils_log.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/utils/test_utils_pagination.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/utils/test_utils_response.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/watch/__init__.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/watch/test_watch_changes.py +0 -0
- {python_gitea-0.11.0 → python_gitea-0.11.2}/tests/watch/test_watch_state.py +0 -0
|
@@ -22,13 +22,13 @@ jobs:
|
|
|
22
22
|
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
|
|
23
23
|
|
|
24
24
|
- name: Initialize CodeQL
|
|
25
|
-
uses: github/codeql-action/init@
|
|
25
|
+
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4
|
|
26
26
|
with:
|
|
27
27
|
languages: python
|
|
28
28
|
queries: security-and-quality
|
|
29
29
|
|
|
30
30
|
- name: Autobuild
|
|
31
|
-
uses: github/codeql-action/autobuild@
|
|
31
|
+
uses: github/codeql-action/autobuild@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4
|
|
32
32
|
|
|
33
33
|
- name: Perform CodeQL Analysis
|
|
34
|
-
uses: github/codeql-action/analyze@
|
|
34
|
+
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
- name: Apply support policy (spec0, from pyproject tool table)
|
|
24
24
|
id: policy
|
|
25
|
-
uses: isaac-cf-wong/dependency-support-policy-action@
|
|
25
|
+
uses: isaac-cf-wong/dependency-support-policy-action@0555ece55dc2e9ac071a9f0f66345ef3d3594620 # v0.2.6
|
|
26
26
|
with:
|
|
27
27
|
mode: update
|
|
28
28
|
|
|
@@ -16,7 +16,7 @@ repos:
|
|
|
16
16
|
- id: check-json
|
|
17
17
|
|
|
18
18
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
19
|
-
rev: v0.16.
|
|
19
|
+
rev: v0.16.5
|
|
20
20
|
hooks:
|
|
21
21
|
- id: ruff
|
|
22
22
|
args: [--fix, --config=pyproject.toml]
|
|
@@ -28,7 +28,7 @@ repos:
|
|
|
28
28
|
- id: taplo-format
|
|
29
29
|
|
|
30
30
|
- repo: https://github.com/crate-ci/typos
|
|
31
|
-
rev: v1.
|
|
31
|
+
rev: v1.50.0
|
|
32
32
|
hooks:
|
|
33
33
|
- id: typos
|
|
34
34
|
args: []
|
|
@@ -52,7 +52,7 @@ repos:
|
|
|
52
52
|
- id: actionlint
|
|
53
53
|
|
|
54
54
|
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
55
|
-
rev: 0.12.
|
|
55
|
+
rev: 0.12.7
|
|
56
56
|
hooks:
|
|
57
57
|
# Update the uv lockfile
|
|
58
58
|
- id: uv-lock
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: python-gitea
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.2
|
|
4
4
|
Summary: A Python package for interacting with the Gitea API, offering a simple interface to access repositories, users, organizations, issues, and more for automation and data management.
|
|
5
5
|
Project-URL: Documentation, https://isaac-cf-wong.github.io/python-gitea
|
|
6
6
|
Project-URL: Source, https://github.com/isaac-cf-wong/python-gitea
|
|
@@ -90,17 +90,17 @@ Each client exposes one attribute per resource:
|
|
|
90
90
|
|
|
91
91
|
```python
|
|
92
92
|
with Gitea(token="...", base_url="...") as client:
|
|
93
|
-
client.actions
|
|
94
|
-
client.issue
|
|
95
|
-
client.pull_request
|
|
96
|
-
client.repository
|
|
97
|
-
client.user
|
|
98
|
-
client.comment
|
|
99
|
-
client.label
|
|
100
|
-
client.milestone
|
|
101
|
-
client.notification
|
|
102
|
-
client.project
|
|
103
|
-
client.organization
|
|
93
|
+
client.actions # Actions
|
|
94
|
+
client.issue # Issue
|
|
95
|
+
client.pull_request # PullRequest
|
|
96
|
+
client.repository # Repository
|
|
97
|
+
client.user # User
|
|
98
|
+
client.comment # Comment
|
|
99
|
+
client.label # Label
|
|
100
|
+
client.milestone # Milestone
|
|
101
|
+
client.notification # Notification
|
|
102
|
+
client.project # Project
|
|
103
|
+
client.organization # Organization
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
## Resource Layer
|
|
@@ -202,9 +202,7 @@ variable listings are the exception: those two really do answer with a bare
|
|
|
202
202
|
array, so they hand back a list and fall back to the empty one.
|
|
203
203
|
|
|
204
204
|
```python
|
|
205
|
-
runs, _ = client.actions.list_workflow_runs(
|
|
206
|
-
owner="my-org", repository="my-repo", status="failure", limit=10
|
|
207
|
-
)
|
|
205
|
+
runs, _ = client.actions.list_workflow_runs(owner="my-org", repository="my-repo", status="failure", limit=10)
|
|
208
206
|
print(runs["total_count"])
|
|
209
207
|
for run in runs["workflow_runs"]:
|
|
210
208
|
print(run["run_number"], run["status"], run["conclusion"])
|
|
@@ -337,11 +335,11 @@ downstream can come to depend on a name the API does not use.
|
|
|
337
335
|
|
|
338
336
|
```python
|
|
339
337
|
column = columns[0]
|
|
340
|
-
column["name"]
|
|
341
|
-
column.get("name")
|
|
342
|
-
"name" in column
|
|
343
|
-
list(column)
|
|
344
|
-
json.dumps(column)
|
|
338
|
+
column["name"] # 'Working' - reads the title
|
|
339
|
+
column.get("name") # 'Working'
|
|
340
|
+
"name" in column # True
|
|
341
|
+
list(column) # ['id', 'title', 'default', 'sorting', ...] - no 'name'
|
|
342
|
+
json.dumps(column) # {"id": 117, "title": "Working", ...} - no 'name'
|
|
345
343
|
```
|
|
346
344
|
|
|
347
345
|
Only reading is widened. `column["name"] = x` writes a field called `name`, as
|
|
@@ -29,13 +29,13 @@ dependencies = [
|
|
|
29
29
|
|
|
30
30
|
[dependency-groups]
|
|
31
31
|
dev = [
|
|
32
|
-
"ruff>=0.16.
|
|
32
|
+
"ruff>=0.16.5",
|
|
33
33
|
# The mutation runner, in the environment `uv run` resolves, so that
|
|
34
34
|
# `uv run mutmut run` reaches the same interpreter as `uv run pytest` and finds
|
|
35
35
|
# the pytest plugins the suite's own options need. Run from a tool environment
|
|
36
36
|
# of its own it cannot read `--cov`, and the run dies at collection.
|
|
37
37
|
"mutmut>=3.7.0",
|
|
38
|
-
"prek>=0.
|
|
38
|
+
"prek>=0.5.0",
|
|
39
39
|
"pytest-github-actions-annotate-failures>=0.4.2",
|
|
40
40
|
"pytest-cov>=7.1.0",
|
|
41
41
|
"pytest-mock>=3.15.1",
|
|
@@ -7,13 +7,13 @@ from typing import TYPE_CHECKING, Any
|
|
|
7
7
|
from aiohttp import ClientResponse
|
|
8
8
|
|
|
9
9
|
if TYPE_CHECKING:
|
|
10
|
-
from gitea.
|
|
10
|
+
from gitea.resource.protocol import AsyncClientProtocol
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class AsyncResource:
|
|
14
14
|
"""Base class for asynchronous Gitea API resources."""
|
|
15
15
|
|
|
16
|
-
def __init__(self, client:
|
|
16
|
+
def __init__(self, client: AsyncClientProtocol) -> None:
|
|
17
17
|
"""Initialize the Resource with a AsyncGitea client.
|
|
18
18
|
|
|
19
19
|
Args:
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"""What a resource needs of the client that owns it.
|
|
2
|
+
|
|
3
|
+
`Resource` and `AsyncResource` reach for exactly one thing on their client:
|
|
4
|
+
`_request`. Naming that as a protocol here, rather than importing the concrete
|
|
5
|
+
`Gitea` and `AsyncGitea`, is what keeps the dependency running one way. The
|
|
6
|
+
clients build the resources, so a resource that imported its client back -
|
|
7
|
+
even under `TYPE_CHECKING` - would close a cycle across most of the package.
|
|
8
|
+
|
|
9
|
+
Neither protocol is `runtime_checkable`, and nothing here is meant to be
|
|
10
|
+
subclassed: `Gitea` and `AsyncGitea` satisfy these structurally, by having the
|
|
11
|
+
method, and a test double satisfies them the same way.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
from typing import TYPE_CHECKING, Any, Protocol
|
|
17
|
+
|
|
18
|
+
if TYPE_CHECKING:
|
|
19
|
+
from aiohttp import ClientResponse
|
|
20
|
+
from requests import Response
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class ClientProtocol(Protocol):
|
|
24
|
+
"""The part of a synchronous client that a `Resource` uses."""
|
|
25
|
+
|
|
26
|
+
def _request(
|
|
27
|
+
self, method: str, endpoint: str, headers: dict | None = None, timeout: int = 30, **kwargs: Any
|
|
28
|
+
) -> Response:
|
|
29
|
+
"""Make an HTTP request to the Gitea API.
|
|
30
|
+
|
|
31
|
+
Args:
|
|
32
|
+
method: The HTTP method (GET, POST, etc.).
|
|
33
|
+
endpoint: The API endpoint.
|
|
34
|
+
headers: Additional headers for the request.
|
|
35
|
+
timeout: Timeout for the request in seconds.
|
|
36
|
+
**kwargs: Additional arguments for the request.
|
|
37
|
+
|
|
38
|
+
Returns:
|
|
39
|
+
The HTTP response object.
|
|
40
|
+
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class AsyncClientProtocol(Protocol):
|
|
45
|
+
"""The part of an asynchronous client that an `AsyncResource` uses."""
|
|
46
|
+
|
|
47
|
+
async def _request(
|
|
48
|
+
self, method: str, endpoint: str, headers: dict | None = None, timeout: int = 30, **kwargs: Any
|
|
49
|
+
) -> ClientResponse:
|
|
50
|
+
"""Make an asynchronous HTTP request to the Gitea API.
|
|
51
|
+
|
|
52
|
+
Args:
|
|
53
|
+
method: The HTTP method (GET, POST, etc.).
|
|
54
|
+
endpoint: The API endpoint.
|
|
55
|
+
headers: Optional headers to include in the request.
|
|
56
|
+
timeout: Request timeout in seconds.
|
|
57
|
+
**kwargs: Additional arguments for the request.
|
|
58
|
+
|
|
59
|
+
Returns:
|
|
60
|
+
The aiohttp ClientResponse object.
|
|
61
|
+
|
|
62
|
+
"""
|
|
@@ -7,13 +7,13 @@ from typing import TYPE_CHECKING, Any
|
|
|
7
7
|
from requests import Response
|
|
8
8
|
|
|
9
9
|
if TYPE_CHECKING:
|
|
10
|
-
from gitea.
|
|
10
|
+
from gitea.resource.protocol import ClientProtocol
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class Resource:
|
|
14
14
|
"""Base class for Gitea API resources."""
|
|
15
15
|
|
|
16
|
-
def __init__(self, client:
|
|
16
|
+
def __init__(self, client: ClientProtocol) -> None:
|
|
17
17
|
"""Initialize the Resource with a Gitea client.
|
|
18
18
|
|
|
19
19
|
Args:
|
|
@@ -10,6 +10,24 @@ from gitea.cli.utils.errors import CommandError
|
|
|
10
10
|
from gitea.cli.utils.options import reporting_scope_errors, require_repository, resolve_issue_id
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
def _raise(error: BaseException) -> None:
|
|
14
|
+
"""Raise `error` from inside a `with` block.
|
|
15
|
+
|
|
16
|
+
Raising through a call rather than a bare `raise` statement keeps the
|
|
17
|
+
statements after the block reachable - to a reader and to static analysis
|
|
18
|
+
alike, which otherwise reads a block ending in `raise` as one control never
|
|
19
|
+
leaves, and the assertions after it as dead code.
|
|
20
|
+
|
|
21
|
+
Args:
|
|
22
|
+
error: The exception the block under test should meet.
|
|
23
|
+
|
|
24
|
+
Raises:
|
|
25
|
+
BaseException: Always; whatever it was handed.
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
raise error
|
|
29
|
+
|
|
30
|
+
|
|
13
31
|
class TestRequireRepository:
|
|
14
32
|
"""Test cases for `require_repository`."""
|
|
15
33
|
|
|
@@ -132,7 +150,7 @@ class TestReportingScopeErrors:
|
|
|
132
150
|
part in it.
|
|
133
151
|
"""
|
|
134
152
|
with pytest.raises(CommandError) as excinfo, reporting_scope_errors("gitea-cli actions secret list"):
|
|
135
|
-
|
|
153
|
+
_raise(ValueError("Gitea has no Actions endpoint here for the authenticated account."))
|
|
136
154
|
|
|
137
155
|
message = str(excinfo.value)
|
|
138
156
|
assert "gitea-cli actions secret list" in message
|
|
@@ -144,7 +162,7 @@ class TestReportingScopeErrors:
|
|
|
144
162
|
pytest.raises(CommandError, match="offered for a repository or an organization"),
|
|
145
163
|
reporting_scope_errors("gitea-cli actions secret list"),
|
|
146
164
|
):
|
|
147
|
-
|
|
165
|
+
_raise(ValueError("this one is offered for a repository or an organization"))
|
|
148
166
|
|
|
149
167
|
def test_other_failures_are_left_to_be_reported_as_failures(self):
|
|
150
168
|
"""Only a `ValueError` is converted; a real fault should still raise as itself.
|
|
@@ -154,13 +172,13 @@ class TestReportingScopeErrors:
|
|
|
154
172
|
wanted.
|
|
155
173
|
"""
|
|
156
174
|
with pytest.raises(RuntimeError), reporting_scope_errors("gitea-cli actions secret list"):
|
|
157
|
-
|
|
175
|
+
_raise(RuntimeError("something is actually broken"))
|
|
158
176
|
|
|
159
177
|
def test_the_refusal_keeps_its_cause(self):
|
|
160
178
|
"""The original error should be chained, so a debugger can still reach it."""
|
|
161
179
|
original = ValueError("no such scope")
|
|
162
180
|
|
|
163
181
|
with pytest.raises(CommandError) as excinfo, reporting_scope_errors("gitea-cli actions runner list"):
|
|
164
|
-
|
|
182
|
+
_raise(original)
|
|
165
183
|
|
|
166
184
|
assert excinfo.value.__cause__ is original
|