gitwebhooks 2.1.1__tar.gz → 2.1.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.
Files changed (104) hide show
  1. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/PKG-INFO +25 -1
  2. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/README.md +24 -0
  3. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/README.zh.md +24 -0
  4. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks.egg-info/PKG-INFO +25 -1
  5. gitwebhooks-2.1.2/gitwebhooks.egg-info/entry_points.txt +2 -0
  6. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/pyproject.toml +2 -2
  7. gitwebhooks-2.1.1/gitwebhooks.egg-info/entry_points.txt +0 -2
  8. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/.editorconfig +0 -0
  9. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/CLAUDE.md +0 -0
  10. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/LICENSE +0 -0
  11. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/MANIFEST.in +0 -0
  12. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/custom-body.png +0 -0
  13. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/custom-header.png +0 -0
  14. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/custom-response.png +0 -0
  15. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/gitee-success.png +0 -0
  16. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/gitee.png +0 -0
  17. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/github-success.png +0 -0
  18. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/github.png +0 -0
  19. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/gitlab-success.png +0 -0
  20. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/gitlab.png +0 -0
  21. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/install.png +0 -0
  22. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/doc/uninstall.png +0 -0
  23. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/git-webhooks-server.ini.sample +0 -0
  24. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/__init__.py +0 -0
  25. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/__main__.py +0 -0
  26. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/auth/__init__.py +0 -0
  27. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/auth/custom.py +0 -0
  28. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/auth/factory.py +0 -0
  29. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/auth/gitee.py +0 -0
  30. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/auth/github.py +0 -0
  31. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/auth/gitlab.py +0 -0
  32. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/auth/verifier.py +0 -0
  33. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/cli/__init__.py +0 -0
  34. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/cli/config.py +0 -0
  35. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/cli/init_wizard.py +0 -0
  36. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/cli/prompts.py +0 -0
  37. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/cli/service.py +0 -0
  38. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/config/__init__.py +0 -0
  39. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/config/loader.py +0 -0
  40. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/config/models.py +0 -0
  41. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/config/registry.py +0 -0
  42. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/config/server.py +0 -0
  43. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/__init__.py +0 -0
  44. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/base.py +0 -0
  45. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/custom.py +0 -0
  46. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/factory.py +0 -0
  47. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/gitee.py +0 -0
  48. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/github.py +0 -0
  49. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/gitlab.py +0 -0
  50. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/handlers/request.py +0 -0
  51. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/logging/__init__.py +0 -0
  52. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/logging/setup.py +0 -0
  53. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/main/__init__.py +0 -0
  54. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/main/__main__.py +0 -0
  55. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/models/__init__.py +0 -0
  56. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/models/provider.py +0 -0
  57. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/models/request.py +0 -0
  58. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/models/result.py +0 -0
  59. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/server.py +0 -0
  60. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/utils/__init__.py +0 -0
  61. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/utils/constants.py +0 -0
  62. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/utils/exceptions.py +0 -0
  63. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/utils/executor.py +0 -0
  64. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks/utils/systemd.py +0 -0
  65. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks.egg-info/SOURCES.txt +0 -0
  66. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks.egg-info/dependency_links.txt +0 -0
  67. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks.egg-info/requires.txt +0 -0
  68. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/gitwebhooks.egg-info/top_level.txt +0 -0
  69. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/setup.cfg +0 -0
  70. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/__init__.py +0 -0
  71. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/__main__.py +0 -0
  72. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/conftest.py +0 -0
  73. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/fixtures/__init__.py +0 -0
  74. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/fixtures/custom_payloads.py +0 -0
  75. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/fixtures/gitee_payloads.py +0 -0
  76. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/fixtures/github_payloads.py +0 -0
  77. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/fixtures/gitlab_payloads.py +0 -0
  78. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/fixtures/signature_builder.py +0 -0
  79. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/__init__.py +0 -0
  80. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/test_command_execution.py +0 -0
  81. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/test_config_view_integration.py +0 -0
  82. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/test_custom_webhook.py +0 -0
  83. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/test_edge_cases.py +0 -0
  84. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/test_gitee_webhook.py +0 -0
  85. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/test_github_webhook.py +0 -0
  86. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/integration/test_gitlab_webhook.py +0 -0
  87. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/test_auth/__init__.py +0 -0
  88. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/test_config/__init__.py +0 -0
  89. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/test_handlers/__init__.py +0 -0
  90. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/test_integration/__init__.py +0 -0
  91. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/__init__.py +0 -0
  92. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/cli/__init__.py +0 -0
  93. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/cli/test_config_view.py +0 -0
  94. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/cli/test_init_wizard.py +0 -0
  95. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/test_config_loading.py +0 -0
  96. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/test_data_parsing.py +0 -0
  97. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/test_provider_detection.py +0 -0
  98. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/test_request_handler.py +0 -0
  99. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/unit/test_signature_verification.py +0 -0
  100. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/utils/__init__.py +0 -0
  101. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/utils/certificate_generator.py +0 -0
  102. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/utils/coverage_runner.py +0 -0
  103. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/utils/http_client.py +0 -0
  104. {gitwebhooks-2.1.1 → gitwebhooks-2.1.2}/tests/utils/server_manager.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitwebhooks
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: A lightweight Git webhook server for automated deployment supporting GitHub, Gitee, GitLab, and custom webhooks
5
5
  Author-email: Troy Tse <troy@holyhi.net>
6
6
  Maintainer-email: Troy Tse <troy@holyhi.net>
@@ -489,6 +489,30 @@ python3 -m pytest tests/
489
489
  python3 -m unittest discover tests/
490
490
  ```
491
491
 
492
+ ### Releasing to PyPI
493
+
494
+ **IMPORTANT**: Before releasing to PyPI, you MUST run the pre-release validation script:
495
+
496
+ ```bash
497
+ ./scripts/pre-release-check.sh
498
+ ```
499
+
500
+ This script validates:
501
+ - Package builds successfully
502
+ - CLI entry point works (`gitwebhooks-cli`)
503
+ - All subcommands work (`service`, `config`)
504
+ - Module imports work correctly
505
+
506
+ Only after all checks pass, proceed with publishing:
507
+
508
+ ```bash
509
+ # Build the package
510
+ python3 -m build
511
+
512
+ # Upload to PyPI
513
+ python3 -m twine upload dist/*
514
+ ```
515
+
492
516
  ## License
493
517
 
494
518
  MIT License
@@ -449,6 +449,30 @@ python3 -m pytest tests/
449
449
  python3 -m unittest discover tests/
450
450
  ```
451
451
 
452
+ ### Releasing to PyPI
453
+
454
+ **IMPORTANT**: Before releasing to PyPI, you MUST run the pre-release validation script:
455
+
456
+ ```bash
457
+ ./scripts/pre-release-check.sh
458
+ ```
459
+
460
+ This script validates:
461
+ - Package builds successfully
462
+ - CLI entry point works (`gitwebhooks-cli`)
463
+ - All subcommands work (`service`, `config`)
464
+ - Module imports work correctly
465
+
466
+ Only after all checks pass, proceed with publishing:
467
+
468
+ ```bash
469
+ # Build the package
470
+ python3 -m build
471
+
472
+ # Upload to PyPI
473
+ python3 -m twine upload dist/*
474
+ ```
475
+
452
476
  ## License
453
477
 
454
478
  MIT License
@@ -449,6 +449,30 @@ python3 -m pytest tests/
449
449
  python3 -m unittest discover tests/
450
450
  ```
451
451
 
452
+ ### 发布到 PyPI
453
+
454
+ **重要提示**:发布到 PyPI 前,必须运行发布前验证脚本:
455
+
456
+ ```bash
457
+ ./scripts/pre-release-check.sh
458
+ ```
459
+
460
+ 此脚本会验证:
461
+ - 包能成功构建
462
+ - CLI 入口点正常工作(`gitwebhooks-cli`)
463
+ - 所有子命令正常工作(`service`、`config`)
464
+ - 模块导入正常工作
465
+
466
+ 只有在所有检查通过后,才能进行发布:
467
+
468
+ ```bash
469
+ # 构建包
470
+ python3 -m build
471
+
472
+ # 上传到 PyPI
473
+ python3 -m twine upload dist/*
474
+ ```
475
+
452
476
  ## 许可证
453
477
 
454
478
  MIT License
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitwebhooks
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: A lightweight Git webhook server for automated deployment supporting GitHub, Gitee, GitLab, and custom webhooks
5
5
  Author-email: Troy Tse <troy@holyhi.net>
6
6
  Maintainer-email: Troy Tse <troy@holyhi.net>
@@ -489,6 +489,30 @@ python3 -m pytest tests/
489
489
  python3 -m unittest discover tests/
490
490
  ```
491
491
 
492
+ ### Releasing to PyPI
493
+
494
+ **IMPORTANT**: Before releasing to PyPI, you MUST run the pre-release validation script:
495
+
496
+ ```bash
497
+ ./scripts/pre-release-check.sh
498
+ ```
499
+
500
+ This script validates:
501
+ - Package builds successfully
502
+ - CLI entry point works (`gitwebhooks-cli`)
503
+ - All subcommands work (`service`, `config`)
504
+ - Module imports work correctly
505
+
506
+ Only after all checks pass, proceed with publishing:
507
+
508
+ ```bash
509
+ # Build the package
510
+ python3 -m build
511
+
512
+ # Upload to PyPI
513
+ python3 -m twine upload dist/*
514
+ ```
515
+
492
516
  ## License
493
517
 
494
518
  MIT License
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ gitwebhooks-cli = gitwebhooks.main:main
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gitwebhooks"
7
- version = "2.1.1"
7
+ version = "2.1.2"
8
8
  description = "A lightweight Git webhook server for automated deployment supporting GitHub, Gitee, GitLab, and custom webhooks"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -64,7 +64,7 @@ Repository = "https://github.com/troytse/git-webhooks-server.git"
64
64
  Issues = "https://github.com/troytse/git-webhooks-server/issues"
65
65
 
66
66
  [project.scripts]
67
- gitwebhooks-cli = "gitwebhooks.cli:main"
67
+ gitwebhooks-cli = "gitwebhooks.main:main"
68
68
 
69
69
  [tool.setuptools]
70
70
  package-dir = {"" = "."}
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- gitwebhooks-cli = gitwebhooks.cli:main
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