cgitize 6.0.0__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.0 → cgitize-6.0.2}/.github/workflows/ci.yml +34 -29
- {cgitize-6.0.0 → cgitize-6.0.2}/DEVELOPMENT.md +2 -1
- {cgitize-6.0.0 → cgitize-6.0.2}/Makefile +19 -0
- {cgitize-6.0.0/cgitize.egg-info → cgitize-6.0.2}/PKG-INFO +2 -2
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/utils.py +1 -1
- {cgitize-6.0.0 → cgitize-6.0.2/cgitize.egg-info}/PKG-INFO +2 -2
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize.egg-info/SOURCES.txt +1 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize.egg-info/requires.txt +1 -1
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/Dockerfile +1 -1
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/README.md +1 -3
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/Dockerfile +10 -1
- {cgitize-6.0.0 → cgitize-6.0.2}/docker-compose.yml +0 -2
- {cgitize-6.0.0 → cgitize-6.0.2}/pyproject.toml +1 -1
- cgitize-6.0.2/requirements.txt +23 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/docker/docker-compose.yml +0 -1
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/docker/git_server/Dockerfile +1 -1
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/docker/test.sh +5 -11
- cgitize-6.0.0/requirements.txt +0 -23
- {cgitize-6.0.0 → cgitize-6.0.2}/.dockerignore +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/.gitattributes +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/.gitignore +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/.pylintrc +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/.python-version +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/LICENSE.txt +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/README.md +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/__init__.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/bitbucket.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/cgit.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/config.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/git.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/github.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/gitlab.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/main.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/repo.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize/version.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize.egg-info/dependency_links.txt +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize.egg-info/entry_points.txt +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/cgitize.egg-info/top_level.txt +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/cgitize.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/cmd.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/etc/cgit/common +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/etc/cgitrc +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/etc/nginx/conf.d/default.conf +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/about-formatting.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/html-converters/.gitattributes +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/html-converters/md2html +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/get_output_dir.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docker/in_cron.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docs/api.md +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/docs/auth.md +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/examples/cgitize.toml +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/examples/docker/cgitize.toml +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/prelude.mk +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/setup.cfg +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/__init__.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/docker/.dockerignore +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/docker/cgitize/.gitignore +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/docker/cgitize/etc/cgitize.toml +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/docker/git_server/setup_repo.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/example/test.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/integration/local/test.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/set_credentials.sh +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/unit/__init__.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/unit/test_bitbucket.py +0 -0
- {cgitize-6.0.0 → cgitize-6.0.2}/test/unit/test_github.py +0 -0
- {cgitize-6.0.0 → 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:
|
|
@@ -12,7 +11,7 @@ jobs:
|
|
|
12
11
|
runs-on: ubuntu-latest
|
|
13
12
|
strategy:
|
|
14
13
|
matrix:
|
|
15
|
-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
|
|
14
|
+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
|
|
16
15
|
name: 'Test / ${{ matrix.python-version }}'
|
|
17
16
|
env:
|
|
18
17
|
CGITIZE_GITHUB_USERNAME: cgitize-test
|
|
@@ -23,11 +22,11 @@ jobs:
|
|
|
23
22
|
CGITIZE_GITLAB_TOKEN: '${{ secrets.CGITIZE_GITLAB_TOKEN}}'
|
|
24
23
|
steps:
|
|
25
24
|
- name: Checkout
|
|
26
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@v6
|
|
27
26
|
with:
|
|
28
27
|
fetch-depth: 0
|
|
29
28
|
- name: Set up Python
|
|
30
|
-
uses: actions/setup-python@
|
|
29
|
+
uses: actions/setup-python@v6
|
|
31
30
|
with:
|
|
32
31
|
python-version: '${{ matrix.python-version }}'
|
|
33
32
|
cache: pip
|
|
@@ -43,7 +42,7 @@ jobs:
|
|
|
43
42
|
name: 'Test / Docker'
|
|
44
43
|
steps:
|
|
45
44
|
- name: Checkout
|
|
46
|
-
uses: actions/checkout@
|
|
45
|
+
uses: actions/checkout@v6
|
|
47
46
|
- name: Integration test (Docker)
|
|
48
47
|
run: sudo make test/docker
|
|
49
48
|
|
|
@@ -60,15 +59,15 @@ jobs:
|
|
|
60
59
|
CGITIZE_GITLAB_TOKEN: '${{ secrets.CGITIZE_GITLAB_TOKEN}}'
|
|
61
60
|
steps:
|
|
62
61
|
- name: Checkout
|
|
63
|
-
uses: actions/checkout@
|
|
62
|
+
uses: actions/checkout@v6
|
|
64
63
|
- name: Set up Python
|
|
65
|
-
uses: actions/setup-python@
|
|
64
|
+
uses: actions/setup-python@v6
|
|
66
65
|
with:
|
|
67
66
|
cache: pip
|
|
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
|
-
uses: actions/checkout@
|
|
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:
|
|
@@ -135,11 +140,11 @@ jobs:
|
|
|
135
140
|
name: 'Publish / PyPI'
|
|
136
141
|
steps:
|
|
137
142
|
- name: Checkout
|
|
138
|
-
uses: actions/checkout@
|
|
143
|
+
uses: actions/checkout@v6
|
|
139
144
|
with:
|
|
140
145
|
fetch-depth: 0
|
|
141
146
|
- name: Set up Python
|
|
142
|
-
uses: actions/setup-python@
|
|
147
|
+
uses: actions/setup-python@v6
|
|
143
148
|
- name: Verify package can be installed
|
|
144
149
|
run: pip install -q .
|
|
145
150
|
- name: Install package builder
|
|
@@ -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__
|
|
@@ -49,7 +49,8 @@ another user, it could get used instead).
|
|
|
49
49
|
Upgrading dependencies
|
|
50
50
|
----------------------
|
|
51
51
|
|
|
52
|
-
* Upgrade virtual environment packages: `make venv/upgrade
|
|
52
|
+
* Upgrade virtual environment packages: `make venv/upgrade`.
|
|
53
|
+
`make maintenance` does that and pushes a commit to the upstream.
|
|
53
54
|
* Upgrade base Docker images.
|
|
54
55
|
* Find the current base images using `git grep -P 'FROM \w+:'`
|
|
55
56
|
* Upgrade the [cmark-gfm] version used in the [cgitize-frontend Docker image].
|
|
@@ -23,6 +23,25 @@ venv/upgrade: venv/reset
|
|
|
23
23
|
&& pip uninstall -q --yes '$(call escape,$(PROJECT))' \
|
|
24
24
|
&& pip freeze > requirements.txt
|
|
25
25
|
|
|
26
|
+
.PHONY: maintenance
|
|
27
|
+
maintenance:
|
|
28
|
+
$(MAKE) venv/upgrade
|
|
29
|
+
|
|
30
|
+
@git_status="$$( git status --porcelain=v1 )" && \
|
|
31
|
+
if [ -z "$$git_status" ]; then \
|
|
32
|
+
true; \
|
|
33
|
+
elif [ "$$git_status" = ' M requirements.txt' ]; then \
|
|
34
|
+
git commit -am 'requirements.txt: bump dependencies' && \
|
|
35
|
+
git push -q; \
|
|
36
|
+
else \
|
|
37
|
+
echo; \
|
|
38
|
+
echo '-----------------------------------------------------------------'; \
|
|
39
|
+
echo 'Error: unrecognized modifications in the repository:'; \
|
|
40
|
+
echo "$$git_status"; \
|
|
41
|
+
echo '-----------------------------------------------------------------'; \
|
|
42
|
+
exit 1; \
|
|
43
|
+
fi
|
|
44
|
+
|
|
26
45
|
.PHONY: python
|
|
27
46
|
python:
|
|
28
47
|
$(venv_activate) && python
|
|
@@ -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
|
|
@@ -17,7 +17,7 @@ def setup_logging(verbose=False):
|
|
|
17
17
|
level = logging.DEBUG if verbose else logging.INFO
|
|
18
18
|
logging.basicConfig(
|
|
19
19
|
level=level,
|
|
20
|
-
datefmt='%Y-%m-%d %H:%M:%S',
|
|
20
|
+
datefmt='%Y-%m-%d %H:%M:%S%z',
|
|
21
21
|
format='%(asctime)s | %(levelname)s | %(message)s',
|
|
22
22
|
# Log to stdout, because that's where subprocess's output goes (so that
|
|
23
23
|
# the don't get interleaved).
|
|
@@ -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
|
|
@@ -41,8 +41,6 @@ Compose
|
|
|
41
41
|
|
|
42
42
|
Here's an example docker-compose.yml file:
|
|
43
43
|
|
|
44
|
-
version: '3'
|
|
45
|
-
|
|
46
44
|
services:
|
|
47
45
|
cgitize:
|
|
48
46
|
environment:
|
|
@@ -68,6 +66,6 @@ In this configuration, cgitize pulls repositories defined in example.toml every
|
|
|
68
66
|
|
|
69
67
|
To launch containers, run:
|
|
70
68
|
|
|
71
|
-
docker
|
|
69
|
+
docker compose up -d
|
|
72
70
|
|
|
73
71
|
To inspect the repositories, visit http://localhost:80/.
|
|
@@ -8,9 +8,18 @@ ADD ["https://github.com/github/cmark-gfm/archive/refs/tags/$CMARK_GFM_VERSION.z
|
|
|
8
8
|
|
|
9
9
|
RUN apk add -q --no-cache cmake g++ make python3 && \
|
|
10
10
|
ln -sf /usr/bin/python3 /usr/bin/python
|
|
11
|
+
|
|
11
12
|
RUN unzip -q -- "$CMARK_GFM_VERSION.zip" && \
|
|
12
13
|
cd -- "cmark-gfm-$CMARK_GFM_VERSION" && \
|
|
13
|
-
|
|
14
|
+
mkdir build && \
|
|
15
|
+
cd build && \
|
|
16
|
+
cmake \
|
|
17
|
+
-DCMAKE_BUILD_TYPE=Release \
|
|
18
|
+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
|
|
19
|
+
-DCMAKE_INSTALL_PREFIX=/cmark-gfm \
|
|
20
|
+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
|
21
|
+
.. && \
|
|
22
|
+
make -j && \
|
|
14
23
|
make test && \
|
|
15
24
|
make install > /dev/null
|
|
16
25
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
atlassian-python-api==4.0.7
|
|
2
|
+
beautifulsoup4==4.14.3
|
|
3
|
+
certifi==2026.2.25
|
|
4
|
+
cffi==2.0.0
|
|
5
|
+
charset-normalizer==3.4.6
|
|
6
|
+
cryptography==46.0.6
|
|
7
|
+
Deprecated==1.3.1
|
|
8
|
+
idna==3.11
|
|
9
|
+
jmespath==1.1.0
|
|
10
|
+
oauthlib==3.3.1
|
|
11
|
+
pycparser==3.0
|
|
12
|
+
PyGithub==2.9.0
|
|
13
|
+
PyJWT==2.12.1
|
|
14
|
+
PyNaCl==1.6.2
|
|
15
|
+
python-gitlab==6.5.0
|
|
16
|
+
requests==2.33.0
|
|
17
|
+
requests-oauthlib==2.0.0
|
|
18
|
+
requests-toolbelt==1.0.0
|
|
19
|
+
soupsieve==2.8.3
|
|
20
|
+
tomli==2.4.1
|
|
21
|
+
typing_extensions==4.15.0
|
|
22
|
+
urllib3==2.6.3
|
|
23
|
+
wrapt==2.1.2
|
|
@@ -17,12 +17,6 @@ readonly client_key_password='password'
|
|
|
17
17
|
readonly output_dir="$script_dir/cgitize/output"
|
|
18
18
|
readonly frontend_host=localhost
|
|
19
19
|
|
|
20
|
-
if command -v docker-compose > /dev/null 2>&1; then
|
|
21
|
-
readonly docker_compose=docker-compose
|
|
22
|
-
else
|
|
23
|
-
readonly docker_compose='docker compose'
|
|
24
|
-
fi
|
|
25
|
-
|
|
26
20
|
dump() {
|
|
27
21
|
local prefix="${FUNCNAME[0]}"
|
|
28
22
|
[ "${#FUNCNAME[@]}" -gt 1 ] && prefix="${FUNCNAME[1]}"
|
|
@@ -165,12 +159,12 @@ docker_build() {
|
|
|
165
159
|
echo Building Docker images
|
|
166
160
|
echo ----------------------------------------------------------------------
|
|
167
161
|
|
|
168
|
-
|
|
162
|
+
docker compose --progress plain build
|
|
169
163
|
}
|
|
170
164
|
|
|
171
165
|
docker_cleanup() {
|
|
172
166
|
dump 'cleaning up Docker data'
|
|
173
|
-
|
|
167
|
+
docker compose down --rmi all --volumes
|
|
174
168
|
# Use `docker system prune` as well?
|
|
175
169
|
}
|
|
176
170
|
|
|
@@ -186,7 +180,7 @@ run_git_server() {
|
|
|
186
180
|
echo Running the Git server
|
|
187
181
|
echo ----------------------------------------------------------------------
|
|
188
182
|
|
|
189
|
-
|
|
183
|
+
docker compose up -d git_server
|
|
190
184
|
}
|
|
191
185
|
|
|
192
186
|
run_cgitize() {
|
|
@@ -200,7 +194,7 @@ run_cgitize() {
|
|
|
200
194
|
return 1
|
|
201
195
|
fi
|
|
202
196
|
dump "SSH_AUTH_SOCK: $SSH_AUTH_SOCK"
|
|
203
|
-
|
|
197
|
+
docker compose run --rm cgitize
|
|
204
198
|
}
|
|
205
199
|
|
|
206
200
|
run_frontend() {
|
|
@@ -209,7 +203,7 @@ run_frontend() {
|
|
|
209
203
|
echo Running the frontend
|
|
210
204
|
echo ----------------------------------------------------------------------
|
|
211
205
|
|
|
212
|
-
|
|
206
|
+
docker compose up -d frontend
|
|
213
207
|
sleep 2
|
|
214
208
|
}
|
|
215
209
|
|
cgitize-6.0.0/requirements.txt
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
atlassian-python-api==4.0.4
|
|
2
|
-
beautifulsoup4==4.13.4
|
|
3
|
-
certifi==2025.7.14
|
|
4
|
-
cffi==1.17.1
|
|
5
|
-
charset-normalizer==3.4.2
|
|
6
|
-
cryptography==45.0.5
|
|
7
|
-
Deprecated==1.2.18
|
|
8
|
-
idna==3.10
|
|
9
|
-
jmespath==1.0.1
|
|
10
|
-
oauthlib==3.3.1
|
|
11
|
-
pycparser==2.22
|
|
12
|
-
PyGithub==2.6.1
|
|
13
|
-
PyJWT==2.10.1
|
|
14
|
-
PyNaCl==1.5.0
|
|
15
|
-
python-gitlab==6.1.0
|
|
16
|
-
requests==2.32.4
|
|
17
|
-
requests-oauthlib==2.0.0
|
|
18
|
-
requests-toolbelt==1.0.0
|
|
19
|
-
soupsieve==2.7
|
|
20
|
-
tomli==1.2.3
|
|
21
|
-
typing_extensions==4.14.1
|
|
22
|
-
urllib3==2.5.0
|
|
23
|
-
wrapt==1.17.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
|
{cgitize-6.0.0 → cgitize-6.0.2}/docker/frontend/usr/lib/cgit/filters/html-converters/.gitattributes
RENAMED
|
File without changes
|
{cgitize-6.0.0 → 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
|