python-gitea 0.10.0__tar.gz → 0.11.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_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/support_floor_update.yml +1 -1
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.pre-commit-config.yaml +1 -1
- {python_gitea-0.10.0 → python_gitea-0.11.0}/PKG-INFO +4 -2
- {python_gitea-0.10.0 → python_gitea-0.11.0}/README.md +3 -1
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/dev/architecture.md +39 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/user-guide/cli.md +442 -16
- python_gitea-0.11.0/docs/user-guide/python-api.md +417 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/mkdocs.yml +4 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/pyproject.toml +3 -1
- python_gitea-0.11.0/src/gitea/_lazy.py +90 -0
- python_gitea-0.11.0/src/gitea/actions/__init__.py +37 -0
- python_gitea-0.11.0/src/gitea/actions/actions.py +575 -0
- python_gitea-0.11.0/src/gitea/actions/artifact.py +205 -0
- python_gitea-0.11.0/src/gitea/actions/async_actions.py +566 -0
- python_gitea-0.11.0/src/gitea/actions/async_artifact.py +210 -0
- python_gitea-0.11.0/src/gitea/actions/async_run_management.py +259 -0
- python_gitea-0.11.0/src/gitea/actions/async_runner.py +346 -0
- python_gitea-0.11.0/src/gitea/actions/async_secret.py +226 -0
- python_gitea-0.11.0/src/gitea/actions/async_variable.py +343 -0
- python_gitea-0.11.0/src/gitea/actions/base.py +905 -0
- python_gitea-0.11.0/src/gitea/actions/run_management.py +248 -0
- python_gitea-0.11.0/src/gitea/actions/runner.py +333 -0
- python_gitea-0.11.0/src/gitea/actions/scope.py +134 -0
- python_gitea-0.11.0/src/gitea/actions/secret.py +221 -0
- python_gitea-0.11.0/src/gitea/actions/variable.py +336 -0
- python_gitea-0.11.0/src/gitea/cli/actions/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/artifact/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/artifact/delete.py +88 -0
- python_gitea-0.11.0/src/gitea/cli/actions/artifact/download.py +145 -0
- python_gitea-0.11.0/src/gitea/cli/actions/artifact/get.py +88 -0
- python_gitea-0.11.0/src/gitea/cli/actions/artifact/list.py +101 -0
- python_gitea-0.11.0/src/gitea/cli/actions/job/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/job/get.py +86 -0
- python_gitea-0.11.0/src/gitea/cli/actions/job/list.py +106 -0
- python_gitea-0.11.0/src/gitea/cli/actions/job/logs.py +120 -0
- python_gitea-0.11.0/src/gitea/cli/actions/job/rerun.py +94 -0
- python_gitea-0.11.0/src/gitea/cli/actions/main.py +269 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/approve.py +89 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/cancel.py +96 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/delete.py +90 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/force_cancel.py +93 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/get.py +86 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/jobs.py +97 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/list.py +147 -0
- python_gitea-0.11.0/src/gitea/cli/actions/run/rerun.py +103 -0
- python_gitea-0.11.0/src/gitea/cli/actions/runner/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/runner/delete.py +90 -0
- python_gitea-0.11.0/src/gitea/cli/actions/runner/get.py +92 -0
- python_gitea-0.11.0/src/gitea/cli/actions/runner/list.py +102 -0
- python_gitea-0.11.0/src/gitea/cli/actions/runner/registration_token.py +92 -0
- python_gitea-0.11.0/src/gitea/cli/actions/runner/state.py +45 -0
- python_gitea-0.11.0/src/gitea/cli/actions/runner/update.py +97 -0
- python_gitea-0.11.0/src/gitea/cli/actions/secret/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/secret/delete.py +86 -0
- python_gitea-0.11.0/src/gitea/cli/actions/secret/list.py +101 -0
- python_gitea-0.11.0/src/gitea/cli/actions/secret/set.py +159 -0
- python_gitea-0.11.0/src/gitea/cli/actions/variable/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/variable/create.py +99 -0
- python_gitea-0.11.0/src/gitea/cli/actions/variable/delete.py +86 -0
- python_gitea-0.11.0/src/gitea/cli/actions/variable/get.py +91 -0
- python_gitea-0.11.0/src/gitea/cli/actions/variable/list.py +94 -0
- python_gitea-0.11.0/src/gitea/cli/actions/variable/update.py +106 -0
- python_gitea-0.11.0/src/gitea/cli/actions/workflow/__init__.py +1 -0
- python_gitea-0.11.0/src/gitea/cli/actions/workflow/dispatch.py +169 -0
- python_gitea-0.11.0/src/gitea/cli/actions/workflow/get.py +83 -0
- python_gitea-0.11.0/src/gitea/cli/actions/workflow/list.py +80 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/main.py +2 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/issue/add.py +7 -1
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/issue/move.py +23 -12
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/issue/remove.py +32 -13
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/main.py +20 -3
- python_gitea-0.11.0/src/gitea/cli/utils/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/cli/utils/issue.py +1276 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/utils/options.py +65 -1
- python_gitea-0.11.0/src/gitea/cli/watch/advance.py +239 -0
- python_gitea-0.11.0/src/gitea/cli/watch/list.py +197 -0
- python_gitea-0.11.0/src/gitea/cli/watch/main.py +35 -0
- python_gitea-0.10.0/src/gitea/cli/watch/list.py → python_gitea-0.11.0/src/gitea/cli/watch/scopes.py +41 -177
- python_gitea-0.11.0/src/gitea/client/__init__.py +23 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/client/async_gitea.py +2 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/client/gitea.py +2 -0
- python_gitea-0.11.0/src/gitea/comment/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/config/__init__.py +24 -0
- python_gitea-0.11.0/src/gitea/issue/__init__.py +46 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/issue/project_column.py +109 -26
- python_gitea-0.11.0/src/gitea/label/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/milestone/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/notification/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/organization/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/project/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/pull_request/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/repository/__init__.py +23 -0
- python_gitea-0.11.0/src/gitea/utils/response.py +166 -0
- python_gitea-0.11.0/tests/actions/__init__.py +1 -0
- python_gitea-0.11.0/tests/actions/test_actions_base.py +646 -0
- python_gitea-0.11.0/tests/actions/test_actions_imports.py +118 -0
- python_gitea-0.11.0/tests/actions/test_actions_requests.py +863 -0
- python_gitea-0.11.0/tests/actions/test_actions_scope.py +141 -0
- python_gitea-0.11.0/tests/cli/actions/__init__.py +1 -0
- python_gitea-0.11.0/tests/cli/actions/invoking.py +149 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_artifact.py +291 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_job_get.py +48 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_job_list.py +86 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_job_logs.py +122 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_main.py +70 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_run_get.py +48 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_run_jobs.py +53 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_run_list.py +163 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_run_management.py +147 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_runner.py +156 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_secret.py +188 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_variable.py +173 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_workflow_dispatch.py +179 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_workflow_get.py +48 -0
- python_gitea-0.11.0/tests/cli/actions/test_cli_actions_workflow_list.py +79 -0
- python_gitea-0.11.0/tests/cli/project/test_cli_project.py +1946 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/test_cli_contract.py +207 -1
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/test_cli_main.py +123 -3
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/utils/test_cli_utils_options.py +54 -1
- python_gitea-0.11.0/tests/cli/watch/support.py +150 -0
- python_gitea-0.11.0/tests/cli/watch/test_cli_watch_advance.py +424 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/watch/test_cli_watch_list.py +110 -187
- python_gitea-0.11.0/tests/cli/watch/test_cli_watch_scopes.py +93 -0
- python_gitea-0.11.0/tests/test_lazy_reexports.py +358 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/transport.py +83 -5
- python_gitea-0.11.0/tests/utils/test_utils_response.py +381 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/uv.lock +19 -19
- python_gitea-0.10.0/docs/user-guide/python-api.md +0 -233
- python_gitea-0.10.0/src/gitea/cli/utils/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/cli/utils/issue.py +0 -253
- python_gitea-0.10.0/src/gitea/cli/watch/main.py +0 -21
- python_gitea-0.10.0/src/gitea/client/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/comment/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/config/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/issue/__init__.py +0 -9
- python_gitea-0.10.0/src/gitea/label/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/milestone/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/notification/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/organization/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/project/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/pull_request/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/repository/__init__.py +0 -8
- python_gitea-0.10.0/src/gitea/utils/response.py +0 -69
- python_gitea-0.10.0/tests/cli/project/test_cli_project.py +0 -796
- python_gitea-0.10.0/tests/utils/test_utils_response.py +0 -132
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.coderabbit.yaml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/ISSUE_TEMPLATE/bug-report.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/pull_request_template.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/ci.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/codeql.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/documentation.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/draft_release.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/publish.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/publish_testpypi.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/release.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/scheduled_release.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.github/workflows/semantic_pull_request.yml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.gitignore +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.markdownlint.yaml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.prettierrc +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.pypirc +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/.typos.toml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/CITATION.cff +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/CODE_OF_CONDUCT.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/CONTRIBUTING.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/LICENSE +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/SECURITY.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/SUPPORT.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/cliff.toml +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/contributing.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/dev/troubleshooting.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/gen_ref_pages.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/index.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/javascripts/mathjax.js +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/security.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/style/api.css +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/user-guide/configuration.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/user-guide/installation.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/docs/user-guide/quickstart.md +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/renovate.json +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/scripts/release_version.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/__main__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/comment/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/comment/add.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/comment/delete.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/comment/edit.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/comment/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/comment/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/config/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/config/add.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/config/delete.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/config/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/config/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/config/update.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/close.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/dependency/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/dependency/add.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/dependency/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/dependency/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/dependency/remove.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/edit.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/get.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/issue/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/label/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/label/create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/label/delete.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/label/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/label/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/label/update.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/milestone/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/milestone/create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/milestone/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/milestone/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/notification/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/notification/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/notification/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/notification/read.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/organization/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/organization/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/organization/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/output.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/column/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/column/create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/column/issues.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/column/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/delete.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/edit.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/get.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/issue/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/issues.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/project/show.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/pull_request/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/pull_request/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/pull_request/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/repository/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/repository/list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/repository/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/user/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/user/get.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/user/main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/user/update_settings.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/utils/api.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/utils/auth.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/utils/convert.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/utils/errors.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/cli/watch/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/client/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/comment/async_comment.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/comment/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/comment/comment.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/config/manager.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/config/model.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/issue/async_issue.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/issue/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/issue/issue.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/label/async_label.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/label/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/label/label.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/milestone/async_milestone.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/milestone/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/milestone/milestone.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/notification/async_notification.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/notification/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/notification/notification.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/organization/async_organization.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/organization/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/organization/organization.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/project/async_project.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/project/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/project/project.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/pull_request/async_pull_request.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/pull_request/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/pull_request/pull_request.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/repository/async_repository.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/repository/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/repository/repository.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/resource/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/resource/async_resource.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/resource/resource.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/user/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/user/async_user.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/user/base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/user/user.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/utils/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/utils/fields.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/utils/log.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/utils/pagination.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/version.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/watch/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/watch/changes.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/src/gitea/watch/state.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/board.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/comment/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/comment/test_cli_comment_add.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/comment/test_cli_comment_delete.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/comment/test_cli_comment_edit.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/comment/test_cli_comment_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/comment/test_cli_comment_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/config/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/config/test_cli_config_add.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/config/test_cli_config_delete.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/config/test_cli_config_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/config/test_cli_config_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/config/test_cli_config_update.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/envelope.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/dependency/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/dependency/test_cli_issue_dependency.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/test_cli_issue_close.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/test_cli_issue_comment.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/test_cli_issue_create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/test_cli_issue_edit.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/test_cli_issue_get.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/test_cli_issue_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/issue/test_cli_issue_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/label/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/label/test_cli_label_create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/label/test_cli_label_delete.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/label/test_cli_label_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/label/test_cli_label_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/label/test_cli_label_update.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/milestone/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/milestone/test_cli_milestone_create.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/milestone/test_cli_milestone_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/milestone/test_cli_milestone_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/notification/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/notification/test_cli_notification.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/organization/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/organization/test_cli_organization_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/organization/test_cli_organization_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/project/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/project/test_cli_project_column_issues.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/project/test_cli_project_show.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/pull_request/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/pull_request/test_cli_pull_request_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/pull_request/test_cli_pull_request_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/rendering.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/repository/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/repository/test_cli_repository_list.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/repository/test_cli_repository_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/test_cli_output.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/tree.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/user/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/user/test_cli_user_get.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/user/test_cli_user_update_settings.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/utils/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/utils/test_cli_utils_api.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/utils/test_cli_utils_auth.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/utils/test_cli_utils_convert.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/utils/test_cli_utils_errors.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/utils/test_cli_utils_issue.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/cli/watch/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/client/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/client/test_client_async_gitea.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/client/test_client_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/client/test_client_gitea.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/comment/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/comment/test_comment_async_comment.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/comment/test_comment_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/comment/test_comment_comment.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/config/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/config/test_config_manager.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/config/test_config_model.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/conftest.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/issue/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/issue/test_issue_async_issue.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/issue/test_issue_async_project_column.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/issue/test_issue_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/issue/test_issue_dependencies.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/issue/test_issue_issue.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/issue/test_issue_project_column.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/label/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/label/test_label_async_label.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/label/test_label_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/label/test_label_label.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/milestone/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/milestone/test_milestone_async_milestone.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/milestone/test_milestone_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/milestone/test_milestone_milestone.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/notification/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/notification/test_notification_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/notification/test_notification_notification.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/organization/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/organization/test_organization_async_organization.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/organization/test_organization_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/organization/test_organization_organization.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/project/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/project/test_project_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/project/test_project_project.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/project/test_project_requests.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/pull_request/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/pull_request/test_pull_request_async_pull_request.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/pull_request/test_pull_request_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/pull_request/test_pull_request_pull_request.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/repository/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/repository/test_repository_async_repository.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/repository/test_repository_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/repository/test_repository_repository.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/resource/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/resource/test_resource_async_resource.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/resource/test_resource_resource.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/smoke_test.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/test_import.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/test_main.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/test_release_version.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/test_version.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/user/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/user/test_user_async_user.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/user/test_user_base.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/user/test_user_user.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/utils/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/utils/test_utils_fields.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/utils/test_utils_log.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/utils/test_utils_pagination.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/watch/__init__.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/watch/test_watch_changes.py +0 -0
- {python_gitea-0.10.0 → python_gitea-0.11.0}/tests/watch/test_watch_state.py +0 -0
|
@@ -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@c00466ca1b1d902260e56e087c072cbb41ac038b # v0.2.5
|
|
26
26
|
with:
|
|
27
27
|
mode: update
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: python-gitea
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
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
|
|
@@ -36,6 +36,7 @@ Description-Content-Type: text/markdown
|
|
|
36
36
|
[](https://github.com/isaac-cf-wong/python-gitea/blob/main/LICENSE)
|
|
37
37
|
[](https://github.com/PyCQA/bandit)
|
|
38
38
|
[](https://doi.org/10.5281/zenodo.18211496)
|
|
39
|
+
[](https://scientific-python.org/specs/spec-0000/)
|
|
39
40
|
|
|
40
41
|
A Python package for interacting with the Gitea API. It provides a simple,
|
|
41
42
|
intuitive interface to access Gitea repositories, users, organizations, issues,
|
|
@@ -45,7 +46,8 @@ data retrieval, and management tasks.
|
|
|
45
46
|
## Features
|
|
46
47
|
|
|
47
48
|
- **Full API Coverage**: Repositories, users, organizations, issues, pull
|
|
48
|
-
requests, comments, labels, milestones, notifications, and
|
|
49
|
+
requests, comments, labels, milestones, notifications, projects, and Actions
|
|
50
|
+
workflows, runs, and job logs.
|
|
49
51
|
- **Easy Authentication**: Token-based authentication, with multiple saved
|
|
50
52
|
accounts and a default-account fallback.
|
|
51
53
|
- **Asynchronous Support**: Built with `async`/`await` for non-blocking
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
[](https://github.com/isaac-cf-wong/python-gitea/blob/main/LICENSE)
|
|
10
10
|
[](https://github.com/PyCQA/bandit)
|
|
11
11
|
[](https://doi.org/10.5281/zenodo.18211496)
|
|
12
|
+
[](https://scientific-python.org/specs/spec-0000/)
|
|
12
13
|
|
|
13
14
|
A Python package for interacting with the Gitea API. It provides a simple,
|
|
14
15
|
intuitive interface to access Gitea repositories, users, organizations, issues,
|
|
@@ -18,7 +19,8 @@ data retrieval, and management tasks.
|
|
|
18
19
|
## Features
|
|
19
20
|
|
|
20
21
|
- **Full API Coverage**: Repositories, users, organizations, issues, pull
|
|
21
|
-
requests, comments, labels, milestones, notifications, and
|
|
22
|
+
requests, comments, labels, milestones, notifications, projects, and Actions
|
|
23
|
+
workflows, runs, and job logs.
|
|
22
24
|
- **Easy Authentication**: Token-based authentication, with multiple saved
|
|
23
25
|
accounts and a default-account fallback.
|
|
24
26
|
- **Asynchronous Support**: Built with `async`/`await` for non-blocking
|
|
@@ -35,6 +35,15 @@ src/gitea/
|
|
|
35
35
|
│ └── manager.py # ConfigManager (load/save/CRUD accounts)
|
|
36
36
|
├── resource/ # Resource base class
|
|
37
37
|
│ └── resource.py # Shared request helpers for resources
|
|
38
|
+
├── actions/ # Actions resource (sync + async), composed per family
|
|
39
|
+
│ ├── base.py # Every Actions path and query parameter
|
|
40
|
+
│ ├── scope.py # Which scope a set of coordinates addresses
|
|
41
|
+
│ ├── actions.py # Workflows, runs, jobs; composes the families below
|
|
42
|
+
│ ├── run_management.py # Cancel, approve, rerun, delete a run
|
|
43
|
+
│ ├── artifact.py # The files a run produced, archive included
|
|
44
|
+
│ ├── secret.py # Write-only secrets of a scope
|
|
45
|
+
│ ├── variable.py # Their readable counterpart
|
|
46
|
+
│ └── runner.py # Runners of a scope, and the registration token
|
|
38
47
|
├── issue/ # Issue resource (sync + async)
|
|
39
48
|
├── pull_request/ # Pull request resource (sync + async)
|
|
40
49
|
├── repository/ # Repository resource (sync + async)
|
|
@@ -48,6 +57,7 @@ src/gitea/
|
|
|
48
57
|
├── cli/ # Typer CLI application
|
|
49
58
|
│ ├── main.py # gitea-cli entry point, command registration
|
|
50
59
|
│ ├── config/ # config commands
|
|
60
|
+
│ ├── actions/ # actions workflow, run, job, artifact, secret, variable, runner commands
|
|
51
61
|
│ ├── issue/ # issue + issue dependency commands
|
|
52
62
|
│ ├── pull_request/ # pull-request commands
|
|
53
63
|
│ ├── comment/ # comment commands
|
|
@@ -80,6 +90,7 @@ Each client exposes one attribute per resource:
|
|
|
80
90
|
|
|
81
91
|
```python
|
|
82
92
|
with Gitea(token="...", base_url="...") as client:
|
|
93
|
+
client.actions # Actions
|
|
83
94
|
client.issue # Issue
|
|
84
95
|
client.pull_request # PullRequest
|
|
85
96
|
client.repository # Repository
|
|
@@ -107,6 +118,34 @@ it, so the resource methods stay one-to-one with the API. For example,
|
|
|
107
118
|
`gitea.issue.project_column` resolves the board column an issue's card sits in,
|
|
108
119
|
which Gitea only reveals through the project's column listings.
|
|
109
120
|
|
|
121
|
+
`actions` is the one resource split further, into a module per family - runs,
|
|
122
|
+
artifacts, secrets, variables, runners - which `Actions` and `AsyncActions`
|
|
123
|
+
compose. Gitea's Actions API is large enough that one class per client would be
|
|
124
|
+
a file nobody reads end to end, and the families differ from each other in ways
|
|
125
|
+
worth writing down beside their own methods: which listings answer with an
|
|
126
|
+
object and which with a bare array, which endpoints answer with a file rather
|
|
127
|
+
than a document, and which scopes each family exists at. The path building for
|
|
128
|
+
all of them stays in one `base.py`, so every URL the resource can address is in
|
|
129
|
+
one place.
|
|
130
|
+
|
|
131
|
+
That package's `__init__.py` re-exports nothing, unlike its neighbours'. With
|
|
132
|
+
thirteen modules an eager re-export would make `import gitea.actions.scope`
|
|
133
|
+
execute all of them, and would put each in an import cycle: importing a
|
|
134
|
+
submodule imports its package, so a package that imports its submodules is one
|
|
135
|
+
they import back. `tests/actions/test_actions_imports.py` pins both properties.
|
|
136
|
+
|
|
137
|
+
The neighbours keep their re-exports and avoid the same two costs by resolving
|
|
138
|
+
them on first read instead, through a module-level `__getattr__` (PEP 562) that
|
|
139
|
+
`gitea._lazy.lazy_reexports` builds from a table of name against origin module.
|
|
140
|
+
`from gitea.issue import Issue` works exactly as it did, while
|
|
141
|
+
`import gitea.issue.base` no longer executes either client - and the package no
|
|
142
|
+
longer imports the submodules that import it back, which is where 44 of the
|
|
143
|
+
import cycles in this tree came from. Each such package keeps a `TYPE_CHECKING`
|
|
144
|
+
block naming the same imports, so editors and type checkers still resolve the
|
|
145
|
+
names statically; that block does not execute, so it reintroduces no cycle.
|
|
146
|
+
`tests/test_lazy_reexports.py` pins the public names, the laziness, and the
|
|
147
|
+
absence of any module-level import cycle anywhere in `gitea`.
|
|
148
|
+
|
|
110
149
|
## CLI Layer
|
|
111
150
|
|
|
112
151
|
The CLI is a single Typer application registered in `cli/main.py`. Each resource
|