From d254773002a6064a412c2ed77aea667b76fbf5db Mon Sep 17 00:00:00 2001 From: Fun_MD Date: Fri, 6 Mar 2026 23:04:35 +0800 Subject: [PATCH] docs: redesign homepage with Linus JUST FOR FUN hero --- Home.md | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/Home.md b/Home.md index dda899d..62fe0c7 100644 --- a/Home.md +++ b/Home.md @@ -1,20 +1,21 @@ -# Issue-Driven DevOps Agent +![JUST FOR FUN - Linus Torvalds](https://kwize.com/pics/Linus-Torvalds-quote-about-fun-1a9823.jpg) -> **为研发团队打造的 Issue 驱动交付平台** -> 把 `Issue -> Branch -> Preview Slot -> Test Loop -> Human-Confirmed Merge` 固化为标准流程。 +# gitea-issue-devops-agent + +> **Issue-Driven DevOps 产品官网** +> 把 `Issue → Branch → Preview Slot → Test Loop → Human-Confirmed Merge` 变成标准交付引擎。 ## 核心价值 -### 1. 分支隔离提测 -每个 issue 绑定独立分支与预览槽位,避免测试互相覆盖,`main` 保持稳定回归。 +### 1) 分支隔离提测 +每个 issue 固定独立分支和预览槽位,主干保持稳定回归,避免提测互相覆盖。 -### 2. 智能节省资源 -按改动范围自动识别部署策略:`skip / client_only / server_only / full_stack / infra_only`。 -**服务端没变更就不重启服务端**。 +### 2) 智能节省资源 +按改动自动识别部署策略:`skip / client_only / server_only / full_stack / infra_only`。 +**服务端未变更就不重启服务端**。 -### 3. 可审计闭环 -每次提测沉淀 commit、测试链接、环境 URL、验证步骤。 -所有模式下最终合并都要求工程师人工确认。 +### 3) 证据化闭环 +提测沉淀 commit、测试链接、环境 URL、验证步骤;最终合并必须工程师人工确认。 ## 一键安装 @@ -36,7 +37,6 @@ powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr -useb https://fun-md ## 工具使用说明 ### issue_audit.py -抓取 issue/评论/图片附件并评分去重: ```bash python skills/gitea-issue-devops-agent/scripts/issue_audit.py \ --base-url https://fun-md.com \ @@ -48,13 +48,11 @@ python skills/gitea-issue-devops-agent/scripts/issue_audit.py \ ``` ### change_scope.py -识别部署范围,控制资源投放: ```bash python skills/gitea-issue-devops-agent/scripts/change_scope.py --repo-path . --base-ref origin/main --head-ref HEAD ``` ### preview_slot_allocator.py -分配/复用/回收预览槽位: ```bash python skills/gitea-issue-devops-agent/scripts/preview_slot_allocator.py --state-file .tmp/preview-slots.json --slots preview-a,preview-b --repo FunMD/document-collab --issue 48 --branch dev --ttl-hours 24 --url-template https://{slot}.qa.example.com --evict-oldest ``` @@ -63,5 +61,4 @@ python skills/gitea-issue-devops-agent/scripts/preview_slot_allocator.py --state - `.gitea/workflows/issue-branch-preview.yml` - `.gitea/workflows/preview-slot-reclaim.yml` - -用于自动完成:**分配槽位 + 按变更范围部署 + 自动回收**。 \ No newline at end of file +- `.gitea/workflows/publish-site.yml` \ No newline at end of file