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.
Files changed (73) hide show
  1. {cgitize-8.0.4 → cgitize-8.0.5}/PKG-INFO +3 -9
  2. {cgitize-8.0.4 → cgitize-8.0.5}/README.md +2 -8
  3. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/PKG-INFO +3 -9
  4. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/SOURCES.txt +0 -1
  5. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/scm_file_list.json +0 -1
  6. cgitize-8.0.5/cgitize.egg-info/scm_version.json +8 -0
  7. {cgitize-8.0.4 → cgitize-8.0.5}/docker/README.md +21 -19
  8. {cgitize-8.0.4 → cgitize-8.0.5}/pyproject.toml +13 -0
  9. {cgitize-8.0.4 → cgitize-8.0.5}/requirements.txt +2 -2
  10. cgitize-8.0.4/.pylintrc +0 -14
  11. cgitize-8.0.4/cgitize.egg-info/scm_version.json +0 -8
  12. {cgitize-8.0.4 → cgitize-8.0.5}/.dockerignore +0 -0
  13. {cgitize-8.0.4 → cgitize-8.0.5}/.git-blame-ignore-revs +0 -0
  14. {cgitize-8.0.4 → cgitize-8.0.5}/.gitattributes +0 -0
  15. {cgitize-8.0.4 → cgitize-8.0.5}/.github/dependabot.yml +0 -0
  16. {cgitize-8.0.4 → cgitize-8.0.5}/.github/workflows/ci.yml +0 -0
  17. {cgitize-8.0.4 → cgitize-8.0.5}/.github/workflows/maintenance.yml +0 -0
  18. {cgitize-8.0.4 → cgitize-8.0.5}/.gitignore +0 -0
  19. {cgitize-8.0.4 → cgitize-8.0.5}/.python-version +0 -0
  20. {cgitize-8.0.4 → cgitize-8.0.5}/DEVELOPMENT.md +0 -0
  21. {cgitize-8.0.4 → cgitize-8.0.5}/LICENSE.txt +0 -0
  22. {cgitize-8.0.4 → cgitize-8.0.5}/Makefile +0 -0
  23. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/__init__.py +0 -0
  24. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/bitbucket.py +0 -0
  25. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/cgit.py +0 -0
  26. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/config.py +0 -0
  27. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/git.py +0 -0
  28. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/github.py +0 -0
  29. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/gitlab.py +0 -0
  30. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/header.py +0 -0
  31. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/main.py +0 -0
  32. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/repo.py +0 -0
  33. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/url.py +0 -0
  34. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/utils.py +0 -0
  35. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize/version.py +0 -0
  36. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/dependency_links.txt +0 -0
  37. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/entry_points.txt +0 -0
  38. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/requires.txt +0 -0
  39. {cgitize-8.0.4 → cgitize-8.0.5}/cgitize.egg-info/top_level.txt +0 -0
  40. {cgitize-8.0.4 → cgitize-8.0.5}/docker/Dockerfile +0 -0
  41. {cgitize-8.0.4 → cgitize-8.0.5}/docker/cgitize.sh +0 -0
  42. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/Dockerfile +0 -0
  43. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/cmd.sh +0 -0
  44. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/etc/cgit/common +0 -0
  45. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/etc/cgitrc +0 -0
  46. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/etc/nginx/conf.d/default.conf +0 -0
  47. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/usr/lib/cgit/filters/about-formatting.sh +0 -0
  48. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/usr/lib/cgit/filters/html-converters/.gitattributes +0 -0
  49. {cgitize-8.0.4 → cgitize-8.0.5}/docker/frontend/usr/lib/cgit/filters/html-converters/md2html +0 -0
  50. {cgitize-8.0.4 → cgitize-8.0.5}/docker/get_output_dir.py +0 -0
  51. {cgitize-8.0.4 → cgitize-8.0.5}/docker/in_cron.sh +0 -0
  52. {cgitize-8.0.4 → cgitize-8.0.5}/docker-compose.yml +0 -0
  53. {cgitize-8.0.4 → cgitize-8.0.5}/docs/api.md +0 -0
  54. {cgitize-8.0.4 → cgitize-8.0.5}/docs/auth.md +0 -0
  55. {cgitize-8.0.4 → cgitize-8.0.5}/examples/cgitize.toml +0 -0
  56. {cgitize-8.0.4 → cgitize-8.0.5}/examples/docker/cgitize.toml +0 -0
  57. {cgitize-8.0.4 → cgitize-8.0.5}/prelude.mk +0 -0
  58. {cgitize-8.0.4 → cgitize-8.0.5}/setup.cfg +0 -0
  59. {cgitize-8.0.4 → cgitize-8.0.5}/test/__init__.py +0 -0
  60. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/.dockerignore +0 -0
  61. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/cgitize/.gitignore +0 -0
  62. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/cgitize/etc/cgitize.toml +0 -0
  63. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/docker-compose.yml +0 -0
  64. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/git_server/Dockerfile +0 -0
  65. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/git_server/setup_repo.sh +0 -0
  66. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/docker/test.sh +0 -0
  67. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/example/test.sh +0 -0
  68. {cgitize-8.0.4 → cgitize-8.0.5}/test/integration/local/test.sh +0 -0
  69. {cgitize-8.0.4 → cgitize-8.0.5}/test/set_credentials.sh +0 -0
  70. {cgitize-8.0.4 → cgitize-8.0.5}/test/unit/__init__.py +0 -0
  71. {cgitize-8.0.4 → cgitize-8.0.5}/test/unit/test_bitbucket.py +0 -0
  72. {cgitize-8.0.4 → cgitize-8.0.5}/test/unit/test_github.py +0 -0
  73. {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.4
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
- pip install cgitize
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
- pip install cgitize
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.4
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
- pip install cgitize
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
 
@@ -2,7 +2,6 @@
2
2
  .git-blame-ignore-revs
3
3
  .gitattributes
4
4
  .gitignore
5
- .pylintrc
6
5
  .python-version
7
6
  DEVELOPMENT.md
8
7
  LICENSE.txt
@@ -7,7 +7,6 @@
7
7
  ".github/workflows/ci.yml",
8
8
  ".github/workflows/maintenance.yml",
9
9
  ".gitignore",
10
- ".pylintrc",
11
10
  ".python-version",
12
11
  "DEVELOPMENT.md",
13
12
  "LICENSE.txt",
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "8.0.5",
3
+ "distance": 0,
4
+ "node": "ga96d5e0f409c764f259df0963319ae4155436f12",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-10-12"
8
+ }
@@ -41,25 +41,27 @@ Compose
41
41
 
42
42
  Here's an example docker-compose.yml file:
43
43
 
44
- services:
45
- cgitize:
46
- environment:
47
- # Every 3 hours:
48
- SCHEDULE: '0 */3 * * *'
49
- # Set CGITIZE_{GITHUB,BITBUCKET,GITLAB}_{USERNAME,TOKEN} variables
50
- # here or in the config file.
51
- image: egortensin/cgitize:8
52
- restart: unless-stopped
53
- volumes:
54
- - ./example.toml:/etc/cgitize/cgitize.toml:ro
55
- - /srv/volumes/cgitize:/mnt/cgitize
56
- frontend:
57
- image: egortensin/cgitize-frontend:8
58
- ports:
59
- - '127.0.0.1:80:80'
60
- restart: unless-stopped
61
- volumes:
62
- - /srv/volumes/cgitize:/mnt/cgitize:ro
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.0
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.4.1
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,
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "8.0.4",
3
- "distance": 0,
4
- "node": "g4925d9d261794df05efc594a275754eee29d4a63",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-10-05"
8
- }
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