cgitize 6.0.1__tar.gz → 6.0.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.
- cgitize-6.0.2/.github/dependabot.yml +20 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/.github/workflows/ci.yml +25 -20
- {cgitize-6.0.1/cgitize.egg-info → cgitize-6.0.2}/PKG-INFO +2 -2
- {cgitize-6.0.1 → cgitize-6.0.2/cgitize.egg-info}/PKG-INFO +2 -2
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize.egg-info/requires.txt +1 -1
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/Dockerfile +1 -1
- {cgitize-6.0.1 → cgitize-6.0.2}/pyproject.toml +1 -1
- {cgitize-6.0.1 → cgitize-6.0.2}/requirements.txt +11 -11
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/docker/git_server/Dockerfile +1 -1
- cgitize-6.0.1/.github/dependabot.yml +0 -6
- {cgitize-6.0.1 → cgitize-6.0.2}/.dockerignore +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/.gitattributes +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/.gitignore +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/.pylintrc +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/.python-version +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/DEVELOPMENT.md +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/LICENSE.txt +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/Makefile +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/README.md +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/__init__.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/bitbucket.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/cgit.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/config.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/git.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/github.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/gitlab.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/main.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/repo.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/utils.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize/version.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize.egg-info/SOURCES.txt +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize.egg-info/dependency_links.txt +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize.egg-info/entry_points.txt +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/cgitize.egg-info/top_level.txt +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/README.md +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/cgitize.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/Dockerfile +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/cmd.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/etc/cgit/common +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/etc/cgitrc +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/etc/nginx/conf.d/default.conf +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/about-formatting.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/html-converters/.gitattributes +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/html-converters/md2html +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/get_output_dir.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker/in_cron.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docker-compose.yml +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docs/api.md +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/docs/auth.md +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/examples/cgitize.toml +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/examples/docker/cgitize.toml +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/prelude.mk +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/setup.cfg +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/__init__.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/docker/.dockerignore +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/docker/cgitize/.gitignore +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/docker/cgitize/etc/cgitize.toml +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/docker/docker-compose.yml +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/docker/git_server/setup_repo.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/docker/test.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/example/test.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/integration/local/test.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/set_credentials.sh +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/unit/__init__.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/unit/test_bitbucket.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/unit/test_github.py +0 -0
- {cgitize-6.0.1 → cgitize-6.0.2}/test/unit/test_gitlab.py +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: docker
|
|
4
|
+
directories:
|
|
5
|
+
- '**/*'
|
|
6
|
+
schedule:
|
|
7
|
+
interval: weekly
|
|
8
|
+
- package-ecosystem: docker-compose
|
|
9
|
+
directories:
|
|
10
|
+
- '**/*'
|
|
11
|
+
schedule:
|
|
12
|
+
interval: weekly
|
|
13
|
+
- package-ecosystem: github-actions
|
|
14
|
+
directory: /
|
|
15
|
+
schedule:
|
|
16
|
+
interval: weekly
|
|
17
|
+
- package-ecosystem: pip
|
|
18
|
+
directory: /
|
|
19
|
+
schedule:
|
|
20
|
+
interval: weekly
|
|
@@ -4,7 +4,6 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
paths-ignore:
|
|
6
6
|
- '*.md'
|
|
7
|
-
pull_request:
|
|
8
7
|
workflow_dispatch:
|
|
9
8
|
|
|
10
9
|
jobs:
|
|
@@ -68,7 +67,7 @@ jobs:
|
|
|
68
67
|
- name: Install dependencies
|
|
69
68
|
run: pip install -q -r requirements.txt
|
|
70
69
|
- name: Set up ssh-agent
|
|
71
|
-
uses: webfactory/ssh-agent@v0.
|
|
70
|
+
uses: webfactory/ssh-agent@v0.10.0
|
|
72
71
|
with:
|
|
73
72
|
ssh-private-key: '${{ secrets.SSH_KEY }}'
|
|
74
73
|
- name: Integration test (example config)
|
|
@@ -84,14 +83,13 @@ jobs:
|
|
|
84
83
|
- {service: backend, file: docker/Dockerfile, image: cgitize}
|
|
85
84
|
- {service: frontend, context: docker/frontend, image: cgitize-frontend}
|
|
86
85
|
name: 'Publish / Docker Hub / ${{ matrix.service }}'
|
|
87
|
-
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
|
|
88
86
|
steps:
|
|
89
87
|
- name: Checkout
|
|
90
88
|
uses: actions/checkout@v6
|
|
91
89
|
# https://github.com/docker/metadata-action#semver
|
|
92
90
|
- id: meta
|
|
93
91
|
name: Docker Hub metadata
|
|
94
|
-
uses: docker/metadata-action@
|
|
92
|
+
uses: docker/metadata-action@v6
|
|
95
93
|
with:
|
|
96
94
|
images: '${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.image }}'
|
|
97
95
|
flavor: |
|
|
@@ -102,31 +100,38 @@ jobs:
|
|
|
102
100
|
type=semver,pattern={{major}}.{{minor}}
|
|
103
101
|
type=semver,pattern={{major}}
|
|
104
102
|
- name: Set up QEMU
|
|
105
|
-
uses: docker/setup-qemu-action@
|
|
103
|
+
uses: docker/setup-qemu-action@v4
|
|
106
104
|
- name: Set up Docker Buildx
|
|
107
|
-
uses: docker/setup-buildx-action@
|
|
108
|
-
- name:
|
|
109
|
-
|
|
110
|
-
with:
|
|
111
|
-
username: '${{ secrets.DOCKERHUB_USERNAME }}'
|
|
112
|
-
password: '${{ secrets.DOCKERHUB_TOKEN }}'
|
|
113
|
-
- id: platforms
|
|
114
|
-
name: Which platforms?
|
|
105
|
+
uses: docker/setup-buildx-action@v4
|
|
106
|
+
- name: Push? Which platforms?
|
|
107
|
+
id: params
|
|
115
108
|
# Building for ARM for every commit in master is too time-consuming.
|
|
116
109
|
run: |
|
|
117
|
-
if
|
|
110
|
+
if ${{ github.ref == 'refs/heads/master' }}; then
|
|
111
|
+
echo 'push=true' >> "$GITHUB_OUTPUT"
|
|
118
112
|
echo 'platforms=amd64' >> "$GITHUB_OUTPUT"
|
|
119
|
-
|
|
113
|
+
elif ${{ startsWith(github.ref, 'refs/tags/') }}; then
|
|
114
|
+
echo 'push=true' >> "$GITHUB_OUTPUT"
|
|
120
115
|
echo 'platforms=amd64,armhf,arm64' >> "$GITHUB_OUTPUT"
|
|
116
|
+
else
|
|
117
|
+
echo 'push=false' >> "$GITHUB_OUTPUT"
|
|
118
|
+
echo 'platforms=amd64' >> "$GITHUB_OUTPUT"
|
|
121
119
|
fi
|
|
120
|
+
- name: Login to Docker Hub
|
|
121
|
+
# https://github.com/orgs/community/discussions/163013
|
|
122
|
+
if: steps.params.outputs.push == 'true'
|
|
123
|
+
uses: docker/login-action@v4
|
|
124
|
+
with:
|
|
125
|
+
username: '${{ secrets.DOCKERHUB_USERNAME }}'
|
|
126
|
+
password: '${{ secrets.DOCKERHUB_TOKEN }}'
|
|
122
127
|
- name: Build and publish
|
|
123
|
-
uses: docker/build-push-action@
|
|
128
|
+
uses: docker/build-push-action@v7
|
|
124
129
|
with:
|
|
125
130
|
context: '${{ matrix.context }}'
|
|
126
131
|
file: '${{ matrix.file }}'
|
|
127
132
|
labels: '${{ steps.meta.outputs.labels }}'
|
|
128
|
-
platforms: '${{ steps.
|
|
129
|
-
push:
|
|
133
|
+
platforms: '${{ steps.params.outputs.platforms }}'
|
|
134
|
+
push: '${{ steps.params.outputs.push }}'
|
|
130
135
|
tags: '${{ steps.meta.outputs.tags }}'
|
|
131
136
|
|
|
132
137
|
publish_pypi:
|
|
@@ -147,13 +152,13 @@ jobs:
|
|
|
147
152
|
- name: Build package
|
|
148
153
|
run: python -m build
|
|
149
154
|
- name: Publish as artifact
|
|
150
|
-
uses: actions/upload-artifact@
|
|
155
|
+
uses: actions/upload-artifact@v7
|
|
151
156
|
with:
|
|
152
157
|
name: dist
|
|
153
158
|
path: dist
|
|
154
159
|
if-no-files-found: error
|
|
155
160
|
- name: Publish to PyPI
|
|
156
|
-
if:
|
|
161
|
+
if: startsWith(github.ref, 'refs/tags/')
|
|
157
162
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
158
163
|
with:
|
|
159
164
|
user: __token__
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cgitize
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.2
|
|
4
4
|
Summary: Self-host your repositories using cgit
|
|
5
5
|
Author-email: Egor Tensin <egor@tensin.name>
|
|
6
6
|
License: MIT
|
|
@@ -17,7 +17,7 @@ Requires-Dist: atlassian-python-api~=4.0
|
|
|
17
17
|
Requires-Dist: importlib-metadata~=4.0; python_version < "3.8"
|
|
18
18
|
Requires-Dist: PyGithub~=2.0
|
|
19
19
|
Requires-Dist: python-gitlab~=6.0
|
|
20
|
-
Requires-Dist: tomli
|
|
20
|
+
Requires-Dist: tomli<3,>=1
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
|
23
23
|
cgitize
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cgitize
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.2
|
|
4
4
|
Summary: Self-host your repositories using cgit
|
|
5
5
|
Author-email: Egor Tensin <egor@tensin.name>
|
|
6
6
|
License: MIT
|
|
@@ -17,7 +17,7 @@ Requires-Dist: atlassian-python-api~=4.0
|
|
|
17
17
|
Requires-Dist: importlib-metadata~=4.0; python_version < "3.8"
|
|
18
18
|
Requires-Dist: PyGithub~=2.0
|
|
19
19
|
Requires-Dist: python-gitlab~=6.0
|
|
20
|
-
Requires-Dist: tomli
|
|
20
|
+
Requires-Dist: tomli<3,>=1
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
|
23
23
|
cgitize
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
atlassian-python-api==4.0.7
|
|
2
2
|
beautifulsoup4==4.14.3
|
|
3
|
-
certifi==2026.
|
|
3
|
+
certifi==2026.2.25
|
|
4
4
|
cffi==2.0.0
|
|
5
|
-
charset-normalizer==3.4.
|
|
6
|
-
cryptography==46.0.
|
|
5
|
+
charset-normalizer==3.4.6
|
|
6
|
+
cryptography==46.0.6
|
|
7
7
|
Deprecated==1.3.1
|
|
8
8
|
idna==3.11
|
|
9
|
-
jmespath==1.0
|
|
9
|
+
jmespath==1.1.0
|
|
10
10
|
oauthlib==3.3.1
|
|
11
|
-
pycparser==
|
|
12
|
-
PyGithub==2.
|
|
13
|
-
PyJWT==2.
|
|
11
|
+
pycparser==3.0
|
|
12
|
+
PyGithub==2.9.0
|
|
13
|
+
PyJWT==2.12.1
|
|
14
14
|
PyNaCl==1.6.2
|
|
15
15
|
python-gitlab==6.5.0
|
|
16
|
-
requests==2.
|
|
16
|
+
requests==2.33.0
|
|
17
17
|
requests-oauthlib==2.0.0
|
|
18
18
|
requests-toolbelt==1.0.0
|
|
19
|
-
soupsieve==2.8.
|
|
20
|
-
tomli==
|
|
19
|
+
soupsieve==2.8.3
|
|
20
|
+
tomli==2.4.1
|
|
21
21
|
typing_extensions==4.15.0
|
|
22
22
|
urllib3==2.6.3
|
|
23
|
-
wrapt==2.
|
|
23
|
+
wrapt==2.1.2
|
|
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
|
{cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/html-converters/.gitattributes
RENAMED
|
File without changes
|
{cgitize-6.0.1 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/html-converters/md2html
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|