实现场景1:社区运营自动化 #27

Merged
mengcheng merged 4 commits from mc_branch into master 2026-07-07 09:43:34 +08:00
Collaborator

子任务三 — 场景1:社区运营自动化

概述

实现社区运营的完整端到端自动化:新 Issue 创建 → webhook 实时分类+分配 → 定时生成社区周报+Release Notes。

架构

实时链路(webhook) 定时链路(cron 每周日12:00)
Issue 创建 → 收集7天Issue/PR/Commit
→ ngrok/nginx HTTPS转发 → 10类中文关键词分类
→ Python HTTP接收器 → changelog skill 标准模板
→ 标题+描述分析 → release +create 发布
→ 10类中文标签分类 → wiki +update --cover 覆盖周报
→ API 分配责任人

文件变更

新建 (8 files)

文件 作用
01a-issue-triage.ps1 / .sh Issue 实时分类脚本 (Windows/Linux)
01a-webhook-listener.ps1 / .py HTTP Webhook 接收器 (Windows/Linux)
01a-webhook-setup.ps1 / .sh GitLink Webhook 注册脚本
deploy.sh 一键部署到 Linux 服务器
gitlink-webhook.service systemd 服务配置

重写 (2 files)

文件 变更
01-community-ops.ps1 / .sh 完全重写:changelog skill 模板、10 类中文标签分类、时间窗口筛选、Wiki 覆盖更新

修改 (1 file)

文件 变更
lib/common.psm1 公共库 UTF-8 编码修复

issue +view issue +list issue +label-add pr +list pr +files release +list release +create wiki +create wiki +update api GET compare api PATCH webhook +create webhook +delete

涉及的 Skills

  • gitlink-changelog: Release Notes 分类规则和标准模板
  • gitlink-webhook: Webhook 注册和事件配置
  • gitlink-issue-triage: Issue 分类方法论参考

部署方式

# 远程部署
bash deploy.sh --host <IP> --port 8080 --secret <KEY> --owner zzx-coder --repo gitlink-cli

# 本地安装
sudo bash deploy.sh --local --port 8080 --secret <KEY> --owner zzx-coder --repo gitlink-cli --webhook-url <URL>
## 子任务三 — 场景1:社区运营自动化 ### 概述 实现社区运营的完整端到端自动化:新 Issue 创建 → webhook 实时分类+分配 → 定时生成社区周报+Release Notes。 ### 架构 实时链路(webhook) 定时链路(cron 每周日12:00) Issue 创建 → 收集7天Issue/PR/Commit → ngrok/nginx HTTPS转发 → 10类中文关键词分类 → Python HTTP接收器 → changelog skill 标准模板 → 标题+描述分析 → release +create 发布 → 10类中文标签分类 → wiki +update --cover 覆盖周报 → API 分配责任人 ### 文件变更 #### 新建 (8 files) | 文件 | 作用 | |------|------| | `01a-issue-triage.ps1` / `.sh` | Issue 实时分类脚本 (Windows/Linux) | | `01a-webhook-listener.ps1` / `.py` | HTTP Webhook 接收器 (Windows/Linux) | | `01a-webhook-setup.ps1` / `.sh` | GitLink Webhook 注册脚本 | | `deploy.sh` | 一键部署到 Linux 服务器 | | `gitlink-webhook.service` | systemd 服务配置 | #### 重写 (2 files) | 文件 | 变更 | |------|------| | `01-community-ops.ps1` / `.sh` | 完全重写:changelog skill 模板、10 类中文标签分类、时间窗口筛选、Wiki 覆盖更新 | #### 修改 (1 file) | 文件 | 变更 | |------|------| | `lib/common.psm1` | 公共库 UTF-8 编码修复 | ### 使用的 gitlink-cli 命令 `issue +view` `issue +list` `issue +label-add` `pr +list` `pr +files` `release +list` `release +create` `wiki +create` `wiki +update` `api GET compare` `api PATCH` `webhook +create` `webhook +delete` ### 涉及的 Skills - `gitlink-changelog`: Release Notes 分类规则和标准模板 - `gitlink-webhook`: Webhook 注册和事件配置 - `gitlink-issue-triage`: Issue 分类方法论参考 ### 部署方式 ```bash # 远程部署 bash deploy.sh --host <IP> --port 8080 --secret <KEY> --owner zzx-coder --repo gitlink-cli # 本地安装 sudo bash deploy.sh --local --port 8080 --secret <KEY> --owner zzx-coder --repo gitlink-cli --webhook-url <URL>
mengcheng added 4 commits 2026-07-07 09:43:22 +08:00
mengcheng merged commit fe4341fede into master 2026-07-07 09:43:34 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: zzx-coder/gitlink-cli#27
No description provided.