python-gitea 0.1.0__tar.gz → 0.1.1__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.1.1/.github/workflows/create_tag.yml +122 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.github/workflows/publish.yml +6 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.github/workflows/release.yml +0 -9
- {python_gitea-0.1.0 → python_gitea-0.1.1}/PKG-INFO +1 -1
- python_gitea-0.1.0/.github/workflows/create_tag.yml +0 -51
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.github/dependabot.yml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.github/workflows/CI.yml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.github/workflows/documentation.yml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.github/workflows/draft_release.yml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.github/workflows/publish_testpypi.yml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.gitignore +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.ignore_words.txt +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.markdownlint.yaml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.pre-commit-config.yaml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/.pypirc +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/CITATION.cff +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/CODE_OF_CONDUCT.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/CONTRIBUTING.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/LICENSE +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/README.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/SECURITY.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/SUPPORT.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/cliff.toml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/commitlint.config.js +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/cspell.json +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/docs/dev/troubleshooting.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/docs/gen_ref_pages.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/docs/index.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/docs/javascripts/mathjax.js +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/docs/style/api.css +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/docs/user_guide/installation.md +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/mkdocs.yml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/package.json +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/pyproject.toml +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/__main__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/main.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/delete_user_level_runner.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/get_registration_token.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/get_user.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/get_user_level_runners.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/get_workflow_jobs.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/get_workflow_runs.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/user/main.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/cli/utils.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/client/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/client/async_gitea.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/client/base.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/client/gitea.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/resource/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/resource/async_resource.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/resource/resource.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/user/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/user/async_user.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/user/base.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/user/user.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/utils/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/utils/log.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/src/gitea/version.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/test_cli_main.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/test_cli_utils.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_delete_user_level_runner.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_get_registration_token.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_get_user.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_get_user_level_runners.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_get_workflow_jobs.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_get_workflow_runs.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_main.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/client/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/client/test_client_async_gitea.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/client/test_client_base.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/client/test_client_gitea.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/conftest.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/resource/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/resource/test_resource_async_resource.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/resource/test_resource_resource.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/test_import.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/test_main.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/test_version.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/user/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/user/test_user_async_user.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/user/test_user_base.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/user/test_user_user.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/utils/__init__.py +0 -0
- {python_gitea-0.1.0 → python_gitea-0.1.1}/tests/utils/test_utils_log.py +0 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
name: Create Tag
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: "0 0 * * 2"
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
ci:
|
|
13
|
+
uses: ./.github/workflows/CI.yml
|
|
14
|
+
permissions:
|
|
15
|
+
security-events: write
|
|
16
|
+
|
|
17
|
+
create_tag:
|
|
18
|
+
needs: ci
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
outputs:
|
|
21
|
+
new_tag: ${{ steps.tag_version.outputs.new_tag }}
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v6
|
|
24
|
+
with:
|
|
25
|
+
fetch-depth: 0
|
|
26
|
+
|
|
27
|
+
- name: Bump version and push tag
|
|
28
|
+
id: tag_version
|
|
29
|
+
uses: mathieudutour/github-tag-action@v6.2
|
|
30
|
+
with:
|
|
31
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
+
release_branches: main
|
|
33
|
+
default_bump: patch
|
|
34
|
+
tag_prefix: v
|
|
35
|
+
|
|
36
|
+
- name: Output tag information
|
|
37
|
+
run: |
|
|
38
|
+
echo "### Tag Created :rocket:" >> $GITHUB_STEP_SUMMARY
|
|
39
|
+
echo "- **New tag**: ${{ steps.tag_version.outputs.new_tag }}" >> $GITHUB_STEP_SUMMARY
|
|
40
|
+
echo "- **Previous tag**: ${{ steps.tag_version.outputs.previous_tag }}" >> $GITHUB_STEP_SUMMARY
|
|
41
|
+
echo "- **Changelog**: ${{ steps.tag_version.outputs.changelog }}" >> $GITHUB_STEP_SUMMARY
|
|
42
|
+
|
|
43
|
+
release:
|
|
44
|
+
needs: create_tag
|
|
45
|
+
if: needs.create_tag.outputs.new_tag != '' && needs.create_tag.outputs.new_tag != 'undefined'
|
|
46
|
+
uses: ./.github/workflows/release.yml
|
|
47
|
+
permissions:
|
|
48
|
+
contents: write
|
|
49
|
+
id-token: write
|
|
50
|
+
attestations: write
|
|
51
|
+
with:
|
|
52
|
+
tag_name: ${{ needs.create_tag.outputs.new_tag }}
|
|
53
|
+
|
|
54
|
+
build:
|
|
55
|
+
needs:
|
|
56
|
+
- create_tag
|
|
57
|
+
- release
|
|
58
|
+
if: needs.create_tag.outputs.new_tag != '' && needs.create_tag.outputs.new_tag != 'undefined'
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
steps:
|
|
61
|
+
- uses: actions/checkout@v6
|
|
62
|
+
with:
|
|
63
|
+
ref: ${{ needs.create_tag.outputs.new_tag }}
|
|
64
|
+
fetch-depth: 0
|
|
65
|
+
|
|
66
|
+
- name: Output build information
|
|
67
|
+
run: |
|
|
68
|
+
echo "### Publishing Build :package:" >> $GITHUB_STEP_SUMMARY
|
|
69
|
+
echo "- **Version tag**: ${{ needs.create_tag.outputs.new_tag }}" >> $GITHUB_STEP_SUMMARY
|
|
70
|
+
|
|
71
|
+
- name: Set up Python
|
|
72
|
+
uses: actions/setup-python@v6
|
|
73
|
+
with:
|
|
74
|
+
python-version: "3.10"
|
|
75
|
+
|
|
76
|
+
- name: Cache pip dependencies
|
|
77
|
+
uses: actions/cache@v5
|
|
78
|
+
with:
|
|
79
|
+
path: ~/.cache/pip
|
|
80
|
+
key: ${{ runner.os }}-pip-3.10-${{ hashFiles('**/pyproject.toml') }}
|
|
81
|
+
restore-keys: |
|
|
82
|
+
${{ runner.os }}-pip-3.10-
|
|
83
|
+
${{ runner.os }}-pip-
|
|
84
|
+
|
|
85
|
+
- name: Install build dependencies
|
|
86
|
+
run: |
|
|
87
|
+
python -m pip install --upgrade pip
|
|
88
|
+
pip install build
|
|
89
|
+
|
|
90
|
+
- name: Build distribution
|
|
91
|
+
run: python -m build
|
|
92
|
+
|
|
93
|
+
- name: Upload build artifacts
|
|
94
|
+
uses: actions/upload-artifact@v6
|
|
95
|
+
with:
|
|
96
|
+
name: python-package-distributions
|
|
97
|
+
path: dist/
|
|
98
|
+
|
|
99
|
+
publish-to-pypi:
|
|
100
|
+
needs: build
|
|
101
|
+
runs-on: ubuntu-latest
|
|
102
|
+
environment: pypi
|
|
103
|
+
permissions:
|
|
104
|
+
id-token: write
|
|
105
|
+
attestations: write
|
|
106
|
+
|
|
107
|
+
steps:
|
|
108
|
+
- name: Download build artifacts
|
|
109
|
+
uses: actions/download-artifact@v7
|
|
110
|
+
with:
|
|
111
|
+
name: python-package-distributions
|
|
112
|
+
path: dist/
|
|
113
|
+
|
|
114
|
+
- name: Generate attestation
|
|
115
|
+
uses: actions/attest-build-provenance@v1
|
|
116
|
+
with:
|
|
117
|
+
subject-path: dist/*
|
|
118
|
+
|
|
119
|
+
- name: Publish to PyPI
|
|
120
|
+
uses: pypa/gh-action-pypi-publish@v1.13.0
|
|
121
|
+
with:
|
|
122
|
+
packages-dir: dist/
|
|
@@ -62,6 +62,7 @@ jobs:
|
|
|
62
62
|
environment: pypi
|
|
63
63
|
permissions:
|
|
64
64
|
id-token: write
|
|
65
|
+
attestations: write
|
|
65
66
|
|
|
66
67
|
steps:
|
|
67
68
|
- name: Download build artifacts
|
|
@@ -70,6 +71,11 @@ jobs:
|
|
|
70
71
|
name: python-package-distributions
|
|
71
72
|
path: dist/
|
|
72
73
|
|
|
74
|
+
- name: Generate attestation
|
|
75
|
+
uses: actions/attest-build-provenance@v1
|
|
76
|
+
with:
|
|
77
|
+
subject-path: dist/*
|
|
78
|
+
|
|
73
79
|
- name: Publish to PyPI
|
|
74
80
|
uses: pypa/gh-action-pypi-publish@v1.13.0
|
|
75
81
|
with:
|
|
@@ -51,12 +51,3 @@ jobs:
|
|
|
51
51
|
body: ${{ steps.changelog.outputs.content }}
|
|
52
52
|
draft: false
|
|
53
53
|
prerelease: ${{ contains(inputs.tag_name || github.event.inputs.tag_name, 'alpha') || contains(inputs.tag_name || github.event.inputs.tag_name, 'beta') }}
|
|
54
|
-
|
|
55
|
-
publish:
|
|
56
|
-
needs: release
|
|
57
|
-
uses: ./.github/workflows/publish.yml
|
|
58
|
-
permissions:
|
|
59
|
-
contents: write
|
|
60
|
-
id-token: write
|
|
61
|
-
with:
|
|
62
|
-
tag_name: ${{ inputs.tag_name || github.event.inputs.tag_name }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-gitea
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
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
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
name: Create Tag
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
schedule:
|
|
5
|
-
- cron: "0 0 * * 2"
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: write
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
ci:
|
|
13
|
-
uses: ./.github/workflows/CI.yml
|
|
14
|
-
permissions:
|
|
15
|
-
security-events: write
|
|
16
|
-
|
|
17
|
-
create_tag:
|
|
18
|
-
needs: ci
|
|
19
|
-
runs-on: ubuntu-latest
|
|
20
|
-
outputs:
|
|
21
|
-
new_tag: ${{ steps.tag_version.outputs.new_tag }}
|
|
22
|
-
steps:
|
|
23
|
-
- uses: actions/checkout@v6
|
|
24
|
-
with:
|
|
25
|
-
fetch-depth: 0
|
|
26
|
-
|
|
27
|
-
- name: Bump version and push tag
|
|
28
|
-
id: tag_version
|
|
29
|
-
uses: mathieudutour/github-tag-action@v6.2
|
|
30
|
-
with:
|
|
31
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
32
|
-
release_branches: main
|
|
33
|
-
default_bump: patch
|
|
34
|
-
tag_prefix: v
|
|
35
|
-
|
|
36
|
-
- name: Output tag information
|
|
37
|
-
run: |
|
|
38
|
-
echo "### Tag Created :rocket:" >> $GITHUB_STEP_SUMMARY
|
|
39
|
-
echo "- **New tag**: ${{ steps.tag_version.outputs.new_tag }}" >> $GITHUB_STEP_SUMMARY
|
|
40
|
-
echo "- **Previous tag**: ${{ steps.tag_version.outputs.previous_tag }}" >> $GITHUB_STEP_SUMMARY
|
|
41
|
-
echo "- **Changelog**: ${{ steps.tag_version.outputs.changelog }}" >> $GITHUB_STEP_SUMMARY
|
|
42
|
-
|
|
43
|
-
release:
|
|
44
|
-
needs: create_tag
|
|
45
|
-
if: needs.create_tag.outputs.new_tag != '' && needs.create_tag.outputs.new_tag != 'undefined'
|
|
46
|
-
uses: ./.github/workflows/release.yml
|
|
47
|
-
permissions:
|
|
48
|
-
contents: write
|
|
49
|
-
id-token: write
|
|
50
|
-
with:
|
|
51
|
-
tag_name: ${{ needs.create_tag.outputs.new_tag }}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_delete_user_level_runner.py
RENAMED
|
File without changes
|
{python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_get_registration_token.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_gitea-0.1.0 → python_gitea-0.1.1}/tests/cli/user/test_cli_user_get_user_level_runners.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|