nonebot-plugin-git-poller 0.1.5__tar.gz → 0.1.7__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 (15) hide show
  1. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/PKG-INFO +43 -3
  2. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/README.md +41 -2
  3. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/pyproject.toml +2 -2
  4. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/__init__.py +3 -1
  5. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/archive.py +0 -0
  6. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/command_args.py +0 -0
  7. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/config.py +0 -0
  8. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/file_server.py +0 -0
  9. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/git.py +0 -0
  10. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/message.py +0 -0
  11. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/mirror.py +0 -0
  12. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/models.py +0 -0
  13. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/repository.py +0 -0
  14. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/schedule.py +0 -0
  15. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.7}/src/nonebot_plugin_git_poller/state.py +0 -0
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: nonebot-plugin-git-poller
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: 按群订阅 Git 仓库更新的 NoneBot2 插件,支持多仓库、多分支定时拉取
5
5
  Author: kusadact
6
+ Author-email: kusadact <kspz2@hotmail.com>
6
7
  License: MIT
7
8
  Requires-Dist: nonebot2>=2.0.0
8
9
  Requires-Dist: nonebot-adapter-onebot>=2.1.3
@@ -31,21 +32,60 @@ Description-Content-Type: text/markdown
31
32
 
32
33
  按群订阅 Git 仓库更新的 NoneBot2 插件,支持多仓库、多分支定时拉取,自动推送 commit 更新摘要并上传源码压缩包。
33
34
 
35
+ 支持 GitHub、GitLab、Gitee 以及自建 Git 服务等主流 Git 托管平台,兼容标准 HTTP/HTTPS Git 远端。
36
+
34
37
  ## 安装
35
38
 
36
- NoneBot 项目目录中安装插件:
39
+ <details open>
40
+ <summary>使用 nb-cli 安装</summary>
41
+
42
+ ```bash
43
+ nb plugin install nonebot-plugin-git-poller
44
+ ```
45
+
46
+ </details>
47
+
48
+ <details>
49
+ <summary>使用包管理器安装</summary>
50
+
51
+ 在 NoneBot 项目目录中,根据你使用的包管理器,输入相应的安装命令:
52
+
53
+ <details open>
54
+ <summary>uv</summary>
37
55
 
38
56
  ```bash
39
57
  uv add nonebot-plugin-git-poller
40
58
  ```
41
59
 
42
- 在 `pyproject.toml` 中加载插件:
60
+ </details>
61
+
62
+ <details>
63
+ <summary>pdm</summary>
64
+
65
+ ```bash
66
+ pdm add nonebot-plugin-git-poller
67
+ ```
68
+
69
+ </details>
70
+
71
+ <details>
72
+ <summary>poetry</summary>
73
+
74
+ ```bash
75
+ poetry add nonebot-plugin-git-poller
76
+ ```
77
+
78
+ </details>
79
+
80
+ 打开 NoneBot 项目根目录下的 `pyproject.toml` 文件,在 `[tool.nonebot]` 部分追加写入:
43
81
 
44
82
  ```toml
45
83
  [tool.nonebot]
46
84
  plugins = ["nonebot_plugin_git_poller"]
47
85
  ```
48
86
 
87
+ </details>
88
+
49
89
  ## 配置
50
90
 
51
91
  | 配置项 | 必填 | 默认值 | 说明 |
@@ -15,21 +15,60 @@
15
15
 
16
16
  按群订阅 Git 仓库更新的 NoneBot2 插件,支持多仓库、多分支定时拉取,自动推送 commit 更新摘要并上传源码压缩包。
17
17
 
18
+ 支持 GitHub、GitLab、Gitee 以及自建 Git 服务等主流 Git 托管平台,兼容标准 HTTP/HTTPS Git 远端。
19
+
18
20
  ## 安装
19
21
 
20
- NoneBot 项目目录中安装插件:
22
+ <details open>
23
+ <summary>使用 nb-cli 安装</summary>
24
+
25
+ ```bash
26
+ nb plugin install nonebot-plugin-git-poller
27
+ ```
28
+
29
+ </details>
30
+
31
+ <details>
32
+ <summary>使用包管理器安装</summary>
33
+
34
+ 在 NoneBot 项目目录中,根据你使用的包管理器,输入相应的安装命令:
35
+
36
+ <details open>
37
+ <summary>uv</summary>
21
38
 
22
39
  ```bash
23
40
  uv add nonebot-plugin-git-poller
24
41
  ```
25
42
 
26
- 在 `pyproject.toml` 中加载插件:
43
+ </details>
44
+
45
+ <details>
46
+ <summary>pdm</summary>
47
+
48
+ ```bash
49
+ pdm add nonebot-plugin-git-poller
50
+ ```
51
+
52
+ </details>
53
+
54
+ <details>
55
+ <summary>poetry</summary>
56
+
57
+ ```bash
58
+ poetry add nonebot-plugin-git-poller
59
+ ```
60
+
61
+ </details>
62
+
63
+ 打开 NoneBot 项目根目录下的 `pyproject.toml` 文件,在 `[tool.nonebot]` 部分追加写入:
27
64
 
28
65
  ```toml
29
66
  [tool.nonebot]
30
67
  plugins = ["nonebot_plugin_git_poller"]
31
68
  ```
32
69
 
70
+ </details>
71
+
33
72
  ## 配置
34
73
 
35
74
  | 配置项 | 必填 | 默认值 | 说明 |
@@ -1,9 +1,9 @@
1
1
  [project]
2
2
  name = "nonebot-plugin-git-poller"
3
- version = "0.1.5"
3
+ version = "0.1.7"
4
4
  description = "按群订阅 Git 仓库更新的 NoneBot2 插件,支持多仓库、多分支定时拉取"
5
5
  authors = [
6
- {name = "kusadact"},
6
+ {name = "kusadact", email = "kspz2@hotmail.com"},
7
7
  ]
8
8
  license = {text = "MIT"}
9
9
  dependencies = [
@@ -28,7 +28,7 @@ from .mirror import GitPollerService
28
28
  from .schedule import parse_schedule
29
29
 
30
30
  __plugin_meta__ = PluginMetadata(
31
- name="Git Poller",
31
+ name="Git 仓库订阅拉取",
32
32
  description="按群订阅 Git 仓库更新,支持多仓库、多分支定时拉取",
33
33
  usage=(
34
34
  "/关注仓库 仓库url [--分支名]\n"
@@ -39,8 +39,10 @@ __plugin_meta__ = PluginMetadata(
39
39
  "/仓库摘要 仓库url [--分支名]"
40
40
  ),
41
41
  type="application",
42
+ homepage="https://github.com/kusadact/nonebot-plugin-git-poller",
42
43
  config=Config,
43
44
  supported_adapters={"~onebot.v11"},
45
+ extra={"author": "kusadact <kspz2@hotmail.com>"},
44
46
  )
45
47
 
46
48
  service = GitPollerService(plugin_config)