nonebot-plugin-git-poller 0.1.5__tar.gz → 0.1.6__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.6}/PKG-INFO +41 -3
  2. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/README.md +39 -2
  3. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/pyproject.toml +2 -2
  4. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/__init__.py +2 -0
  5. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/archive.py +0 -0
  6. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/command_args.py +0 -0
  7. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/config.py +0 -0
  8. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/file_server.py +0 -0
  9. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/git.py +0 -0
  10. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/message.py +0 -0
  11. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/mirror.py +0 -0
  12. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/models.py +0 -0
  13. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/repository.py +0 -0
  14. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/src/nonebot_plugin_git_poller/schedule.py +0 -0
  15. {nonebot_plugin_git_poller-0.1.5 → nonebot_plugin_git_poller-0.1.6}/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.6
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
@@ -33,19 +34,56 @@ Description-Content-Type: text/markdown
33
34
 
34
35
  ## 安装
35
36
 
36
- NoneBot 项目目录中安装插件:
37
+ <details open>
38
+ <summary>使用 nb-cli 安装</summary>
39
+
40
+ ```bash
41
+ nb plugin install nonebot-plugin-git-poller
42
+ ```
43
+
44
+ </details>
45
+
46
+ <details>
47
+ <summary>使用包管理器安装</summary>
48
+
49
+ 在 NoneBot 项目目录中,根据你使用的包管理器,输入相应的安装命令:
50
+
51
+ <details open>
52
+ <summary>uv</summary>
37
53
 
38
54
  ```bash
39
55
  uv add nonebot-plugin-git-poller
40
56
  ```
41
57
 
42
- 在 `pyproject.toml` 中加载插件:
58
+ </details>
59
+
60
+ <details>
61
+ <summary>pdm</summary>
62
+
63
+ ```bash
64
+ pdm add nonebot-plugin-git-poller
65
+ ```
66
+
67
+ </details>
68
+
69
+ <details>
70
+ <summary>poetry</summary>
71
+
72
+ ```bash
73
+ poetry add nonebot-plugin-git-poller
74
+ ```
75
+
76
+ </details>
77
+
78
+ 打开 NoneBot 项目根目录下的 `pyproject.toml` 文件,在 `[tool.nonebot]` 部分追加写入:
43
79
 
44
80
  ```toml
45
81
  [tool.nonebot]
46
82
  plugins = ["nonebot_plugin_git_poller"]
47
83
  ```
48
84
 
85
+ </details>
86
+
49
87
  ## 配置
50
88
 
51
89
  | 配置项 | 必填 | 默认值 | 说明 |
@@ -17,19 +17,56 @@
17
17
 
18
18
  ## 安装
19
19
 
20
- NoneBot 项目目录中安装插件:
20
+ <details open>
21
+ <summary>使用 nb-cli 安装</summary>
22
+
23
+ ```bash
24
+ nb plugin install nonebot-plugin-git-poller
25
+ ```
26
+
27
+ </details>
28
+
29
+ <details>
30
+ <summary>使用包管理器安装</summary>
31
+
32
+ 在 NoneBot 项目目录中,根据你使用的包管理器,输入相应的安装命令:
33
+
34
+ <details open>
35
+ <summary>uv</summary>
21
36
 
22
37
  ```bash
23
38
  uv add nonebot-plugin-git-poller
24
39
  ```
25
40
 
26
- 在 `pyproject.toml` 中加载插件:
41
+ </details>
42
+
43
+ <details>
44
+ <summary>pdm</summary>
45
+
46
+ ```bash
47
+ pdm add nonebot-plugin-git-poller
48
+ ```
49
+
50
+ </details>
51
+
52
+ <details>
53
+ <summary>poetry</summary>
54
+
55
+ ```bash
56
+ poetry add nonebot-plugin-git-poller
57
+ ```
58
+
59
+ </details>
60
+
61
+ 打开 NoneBot 项目根目录下的 `pyproject.toml` 文件,在 `[tool.nonebot]` 部分追加写入:
27
62
 
28
63
  ```toml
29
64
  [tool.nonebot]
30
65
  plugins = ["nonebot_plugin_git_poller"]
31
66
  ```
32
67
 
68
+ </details>
69
+
33
70
  ## 配置
34
71
 
35
72
  | 配置项 | 必填 | 默认值 | 说明 |
@@ -1,9 +1,9 @@
1
1
  [project]
2
2
  name = "nonebot-plugin-git-poller"
3
- version = "0.1.5"
3
+ version = "0.1.6"
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 = [
@@ -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)