@weibaohui/dsh-git-server 0.1.4 → 0.2.1

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.
package/README.md CHANGED
@@ -10,7 +10,9 @@
10
10
  ## 核心功能
11
11
 
12
12
  - **完整自助 Git 服务**:HTTP clone/push 开箱即用,仓库/工单/PR/wiki/发版/标签/里程碑一条龙,崩溃自动拉起
13
- - **dsh 原生管理页**:侧栏底部「Git」进全屏页——建仓/删仓/克隆地址,仓库浏览多标签(文件树+内容、提交历史、分支、工单、PR、Wiki、发版、标签、里程碑、设置);React + dsh 主题(亮暗自动跟随)、zh/en 双语
13
+ - **dsh 原生管理页**:侧栏底部「Git」进全屏页——建仓(或从 URL 导入/镜像)删仓/克隆地址,仓库浏览多标签(文件树+语法高亮、提交历史、分支、工单、PR、Wiki、发版、标签、里程碑、设置);React + dsh 主题(亮暗自动跟随)、zh/en 双语
14
+ - **协作闭环**:通知中心(评论/指派/@提及未读 + 侧栏角标)、跨仓库「我的工单/PR」聚合、PR 评审(通过/请求修改)、`fixes #N` push 自动关单、提交与工单互相跳转
15
+ - **工程能力**:分支保护(禁删/禁强推)、协作者只读/可写/管理三档、发版二进制附件、仓库内代码搜索、webhook 测试投递与投递记录、文件永久链接深链
14
16
  - **账号打通**:账户来源 = [user-management](https://github.com/weibaohui/user-management)(必装)——git 凭据与页面登录均走 user-management 校验,免另记一套账号;网页注册关闭,账号只由 dsh 管理
15
17
  - **一键启停**:启用/停用/端口/数据目录全在设置页,改完即生效
16
18
  - **局域网 git**:默认监听 `0.0.0.0`,局域网内机器可直接 `git clone/push`
@@ -50,7 +52,73 @@ dsh plugin --profile web add @weibaohui/dsh-git-server -w
50
52
 
51
53
  | 插件版本 | 适配 dsh 版本 | 备注 |
52
54
  |---------|--------------|------|
53
- | 0.1.4 | 0.1.7-rc.2 | 当前版本,已在 @deepseek-ai/dsh@0.1.7-rc.2 下验证运行 |
55
+ | 0.2.0 | 0.1.7-rc.2 | 当前版本,已在 @deepseek-ai/dsh@0.1.7-rc.2 下验证运行 |
56
+ | 0.1.4 | 0.1.7-rc.2 | 已在 @deepseek-ai/dsh@0.1.7-rc.2 下验证运行 |
54
57
  | 0.1.3 | 0.1.7-rc.2 | 已在 @deepseek-ai/dsh@0.1.7-rc.2 下验证运行 |
55
58
 
56
59
  > **发版约定**:每次发布新版本时,请在上表追加一行,记录该插件版本实际验证所用的 `@deepseek-ai/dsh` 版本。`package.json` 的 `engines.dsh` 声明最低支持版本;本表记录实际验证版本,二者配合使用。
60
+
61
+ ## 功能巡览
62
+
63
+ <video src="docs/feature-tour.webm" controls muted playsinline width="100%"></video>
64
+
65
+ <details>
66
+ <summary><b>逐页截图(点击展开)</b></summary>
67
+
68
+ ### 主页
69
+
70
+ | 仓库列表 | 从 URL 导入/镜像 |
71
+ |---|---|
72
+ | ![主页](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/home.png) | ![导入](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/import-repo.png) |
73
+
74
+ ### 代码浏览
75
+
76
+ | 文件树+README | 语法高亮 | Blame | 文件历史 | 空仓库推送引导 |
77
+ |---|---|---|---|---|
78
+ | ![文件树](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/repo-files.png) | ![高亮](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/file-highlight.png) | ![blame](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/blame.png) | ![历史](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/file-history.png) | ![空仓库](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/empty-repo-guide.png) |
79
+
80
+ | 提交历史 | 提交 diff | 仓库内代码搜索 |
81
+ |---|---|---|
82
+ | ![提交](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/commits.png) | ![diff](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/commit-diff.png) | ![搜索](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/code-search.png) |
83
+
84
+ | 分支概况 | 分支与标签 |
85
+ |---|---|
86
+ | ![分支](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/branches.png) | ![分支标签](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/branches-all.png) |
87
+
88
+ ### 工单 / PR / 协作
89
+
90
+ | 工单列表 | 工单详情 | 新工单 |
91
+ |---|---|---|
92
+ | ![工单](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/issues.png) | ![工单详情](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/issue-detail.png) | ![新工单](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/new-issue.png) |
93
+
94
+ | 标签管理 | 里程碑 | PR 列表 |
95
+ |---|---|---|
96
+ | ![标签](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/labels.png) | ![里程碑](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/milestones.png) | ![PR](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/pulls.png) |
97
+
98
+ | PR 评审与合并 | 已合并 PR(评审记录) |
99
+ |---|---|
100
+ | ![PR评审](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/pr-open.png) | ![PR已合并](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/pr-merged.png) |
101
+
102
+ | 通知中心 | 我的工单聚合 | 星标/复刻弹层 |
103
+ |---|---|---|
104
+ | ![通知](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/notifications.png) | ![我的工单](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/my-issues.png) | ![星标](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/star-popup.png) |
105
+
106
+ ### Wiki / 发版
107
+
108
+ | Wiki 页面 | 发版(含二进制附件) |
109
+ |---|---|
110
+ | ![wiki](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/wiki.png) | ![发版](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/releases.png) |
111
+
112
+ ### 仓库设置
113
+
114
+ | 协作者(三档权限) | 分支保护 | Webhook 与投递记录 | 镜像同步 | 危险区域 |
115
+ |---|---|---|---|---|
116
+ | ![协作者](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/settings-collaborators.png) | ![分支保护](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/settings-branch-protection.png) | ![webhook](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/settings-webhooks.png) | ![镜像](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/settings-mirror.png) | ![危险区域](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/settings-danger.png) |
117
+
118
+ ### 全局页面
119
+
120
+ | 探索 | 组织 | 用户主页 | 管理面板 |
121
+ |---|---|---|---|
122
+ | ![探索](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/explore.png) | ![组织](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/org.png) | ![用户](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/profile.png) | ![管理](https://raw.githubusercontent.com/weibaohui/dsh-git-server/main/docs/admin.png) |
123
+
124
+ </details>