cgitize 8.0.4__tar.gz → 8.0.5__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-8.0.4 → cgitize-8.0.5}/PKG-INFO +3 -9
- {cgitize-8.0.4 → cgitize-8.0.5}/README.md +2 -8
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/PKG-INFO +3 -9
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/SOURCES.txt +0 -1
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/scm_file_list.json +0 -1
- cgitize-8.0.5/cgitize.egg-info/scm_version.json +8 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/README.md +21 -19
- {cgitize-8.0.4 → cgitize-8.0.5}/pyproject.toml +13 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/requirements.txt +2 -2
- cgitize-8.0.4/.pylintrc +0 -14
- cgitize-8.0.4/cgitize.egg-info/scm_version.json +0 -8
- {cgitize-8.0.4 → cgitize-8.0.5}/.dockerignore +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/.git-blame-ignore-revs +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/.gitattributes +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/.github/dependabot.yml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/.github/workflows/ci.yml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/.github/workflows/maintenance.yml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/.gitignore +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/.python-version +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/DEVELOPMENT.md +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/LICENSE.txt +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/Makefile +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/__init__.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/bitbucket.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/cgit.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/config.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/git.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/github.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/gitlab.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/header.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/main.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/repo.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/url.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/utils.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/version.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/dependency_links.txt +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/entry_points.txt +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/requires.txt +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/top_level.txt +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/Dockerfile +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/cgitize.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/Dockerfile +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/cmd.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/etc/cgit/common +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/etc/cgitrc +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/etc/nginx/conf.d/default.conf +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/usr/lib/cgit/filters/about-formatting.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/usr/lib/cgit/filters/html-converters/.gitattributes +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/usr/lib/cgit/filters/html-converters/md2html +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/get_output_dir.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker/in_cron.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docker-compose.yml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docs/api.md +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/docs/auth.md +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/examples/cgitize.toml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/examples/docker/cgitize.toml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/prelude.mk +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/setup.cfg +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/__init__.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/.dockerignore +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/cgitize/.gitignore +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/cgitize/etc/cgitize.toml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/docker-compose.yml +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/git_server/Dockerfile +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/git_server/setup_repo.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/test.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/example/test.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/local/test.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/set_credentials.sh +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/unit/__init__.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/unit/test_bitbucket.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/unit/test_github.py +0 -0
- {cgitize-8.0.4 → cgitize-8.0.5}/test/unit/test_gitlab.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cgitize
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.5
|
|
4
4
|
Summary: Self-host your repositories using cgit
|
|
5
5
|
Author-email: Egor Tensin <egor@tensin.name>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -37,7 +37,8 @@ Example output can be found at https://git.tensin.name/.
|
|
|
37
37
|
Installation
|
|
38
38
|
------------
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
* Python: [PyPI](https://pypi.org/project/cgitize/)
|
|
41
|
+
* Docker: see [docker/README.md](docker/README.md).
|
|
41
42
|
|
|
42
43
|
Usage
|
|
43
44
|
-----
|
|
@@ -55,13 +56,6 @@ access tokens/application passwords).
|
|
|
55
56
|
|
|
56
57
|
[examples/cgitize.toml]: examples/cgitize.toml
|
|
57
58
|
|
|
58
|
-
### Docker
|
|
59
|
-
|
|
60
|
-
You can run `cgitize` in a Docker container.
|
|
61
|
-
A separate image includes a web server with a configured cgit installation.
|
|
62
|
-
|
|
63
|
-
Please see [docker/README.md](docker/README.md) for details.
|
|
64
|
-
|
|
65
59
|
Mirror maintenance
|
|
66
60
|
------------------
|
|
67
61
|
|
|
@@ -16,7 +16,8 @@ Example output can be found at https://git.tensin.name/.
|
|
|
16
16
|
Installation
|
|
17
17
|
------------
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
* Python: [PyPI](https://pypi.org/project/cgitize/)
|
|
20
|
+
* Docker: see [docker/README.md](docker/README.md).
|
|
20
21
|
|
|
21
22
|
Usage
|
|
22
23
|
-----
|
|
@@ -34,13 +35,6 @@ access tokens/application passwords).
|
|
|
34
35
|
|
|
35
36
|
[examples/cgitize.toml]: examples/cgitize.toml
|
|
36
37
|
|
|
37
|
-
### Docker
|
|
38
|
-
|
|
39
|
-
You can run `cgitize` in a Docker container.
|
|
40
|
-
A separate image includes a web server with a configured cgit installation.
|
|
41
|
-
|
|
42
|
-
Please see [docker/README.md](docker/README.md) for details.
|
|
43
|
-
|
|
44
38
|
Mirror maintenance
|
|
45
39
|
------------------
|
|
46
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cgitize
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.5
|
|
4
4
|
Summary: Self-host your repositories using cgit
|
|
5
5
|
Author-email: Egor Tensin <egor@tensin.name>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -37,7 +37,8 @@ Example output can be found at https://git.tensin.name/.
|
|
|
37
37
|
Installation
|
|
38
38
|
------------
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
* Python: [PyPI](https://pypi.org/project/cgitize/)
|
|
41
|
+
* Docker: see [docker/README.md](docker/README.md).
|
|
41
42
|
|
|
42
43
|
Usage
|
|
43
44
|
-----
|
|
@@ -55,13 +56,6 @@ access tokens/application passwords).
|
|
|
55
56
|
|
|
56
57
|
[examples/cgitize.toml]: examples/cgitize.toml
|
|
57
58
|
|
|
58
|
-
### Docker
|
|
59
|
-
|
|
60
|
-
You can run `cgitize` in a Docker container.
|
|
61
|
-
A separate image includes a web server with a configured cgit installation.
|
|
62
|
-
|
|
63
|
-
Please see [docker/README.md](docker/README.md) for details.
|
|
64
|
-
|
|
65
59
|
Mirror maintenance
|
|
66
60
|
------------------
|
|
67
61
|
|
|
@@ -41,25 +41,27 @@ Compose
|
|
|
41
41
|
|
|
42
42
|
Here's an example docker-compose.yml file:
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
44
|
+
```yaml
|
|
45
|
+
services:
|
|
46
|
+
cgitize:
|
|
47
|
+
environment:
|
|
48
|
+
# Every 3 hours:
|
|
49
|
+
SCHEDULE: '0 */3 * * *'
|
|
50
|
+
# Set CGITIZE_{GITHUB,BITBUCKET,GITLAB}_{USERNAME,TOKEN} variables
|
|
51
|
+
# here or in the config file.
|
|
52
|
+
image: egortensin/cgitize:8
|
|
53
|
+
restart: unless-stopped
|
|
54
|
+
volumes:
|
|
55
|
+
- ./example.toml:/etc/cgitize/cgitize.toml:ro
|
|
56
|
+
- /srv/volumes/cgitize:/mnt/cgitize
|
|
57
|
+
frontend:
|
|
58
|
+
image: egortensin/cgitize-frontend:8
|
|
59
|
+
ports:
|
|
60
|
+
- '127.0.0.1:80:80'
|
|
61
|
+
restart: unless-stopped
|
|
62
|
+
volumes:
|
|
63
|
+
- /srv/volumes/cgitize:/mnt/cgitize:ro
|
|
64
|
+
```
|
|
63
65
|
|
|
64
66
|
In this configuration, cgitize pulls repositories defined in example.toml every
|
|
65
67
|
3 hours and puts them to /srv/volumes/cgitize on the host.
|
|
@@ -39,3 +39,16 @@ cgitize = "cgitize.main:main"
|
|
|
39
39
|
packages = ["cgitize"]
|
|
40
40
|
|
|
41
41
|
[tool.setuptools_scm]
|
|
42
|
+
|
|
43
|
+
[tool.pylint.main]
|
|
44
|
+
# Enable Pylint to be run in the venv:
|
|
45
|
+
init-hook = """
|
|
46
|
+
try: import pylint_venv
|
|
47
|
+
except ImportError: pass
|
|
48
|
+
else: pylint_venv.inithook()
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
[tool.pylint."messages control"]
|
|
52
|
+
disable = [
|
|
53
|
+
"missing-docstring",
|
|
54
|
+
]
|
|
@@ -8,7 +8,7 @@ Deprecated==3.0.0
|
|
|
8
8
|
idna==3.20
|
|
9
9
|
jmespath==1.1.0
|
|
10
10
|
oauthlib==4.0.0
|
|
11
|
-
pycparser==3.
|
|
11
|
+
pycparser==3.1
|
|
12
12
|
PyGithub==2.10.0
|
|
13
13
|
PyJWT==2.15.1
|
|
14
14
|
PyNaCl==1.6.2
|
|
@@ -17,7 +17,7 @@ requests==2.34.2
|
|
|
17
17
|
requests-oauthlib==2.0.0
|
|
18
18
|
requests-toolbelt==1.0.0
|
|
19
19
|
soupsieve==2.10
|
|
20
|
-
tomli==2.
|
|
20
|
+
tomli==2.5.0
|
|
21
21
|
typing_extensions==4.16.0
|
|
22
22
|
urllib3==2.8.0
|
|
23
23
|
wrapt==2.5.0
|
cgitize-8.0.4/.pylintrc
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
[MAIN]
|
|
2
|
-
# Enable Pylint to be run in the venv:
|
|
3
|
-
init-hook=
|
|
4
|
-
try: import pylint_venv
|
|
5
|
-
except ImportError: pass
|
|
6
|
-
else: pylint_venv.inithook()
|
|
7
|
-
|
|
8
|
-
[MESSAGES CONTROL]
|
|
9
|
-
|
|
10
|
-
disable=
|
|
11
|
-
invalid-name,
|
|
12
|
-
missing-docstring,
|
|
13
|
-
too-few-public-methods,
|
|
14
|
-
too-many-arguments,
|
|
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
|
{cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/usr/lib/cgit/filters/html-converters/.gitattributes
RENAMED
|
File without changes
|
{cgitize-8.0.4 → cgitize-8.0.5}/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
|
|
File without changes
|