liumangmang 1b182c2930 feat: v2 Vue3 frontend + multiple optimizations
- New Vue 3 + Vite frontend at /v2/ (OLED dark theme, Fira Sans/Code)
- Date selector: support day/week/month range (backend unchanged)
- SSE auto-reconnect (up to 3 retries)
- Visibility polling pause (dashboard pauses when tab hidden)
- Friendly Chinese HTTP error messages
- Cancel task with confirmation in Dashboard
- Split AiWorkflowService (1700->845 lines):
  - AiApiService: AI API calls + streaming
  - ExcelExportService: POI Excel generation
- Dockerfile: 3-stage build (Node frontend -> Maven -> JRE)
- WebApplication.java: System.out -> Logger
- .gitignore: v2 build output, backup dirs

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 15:12:52 +08:00
2026-04-30 10:30:26 +08:00
2026-04-30 10:30:26 +08:00

svn-log-tool

SVN 日志抓取与 AI 工作量分析工具,统一使用 Web 工作台入口。

入口

  • com.svnlog.web.WebApplication

常用命令

# 一键启动(Docker,每次会重新构建镜像并打包最新代码)
make up

# 查看状态
make status

# 一键关闭
make down

# 编译
mvn clean compile

# 打包
mvn clean package -DskipTests

# 启动 Web(非 Docker 备用方式)
mvn spring-boot:run -Dspring-boot.run.mainClass=com.svnlog.web.WebApplication

Docker 构建缓存说明

  • make up 会始终执行 docker compose up -d --build,因此每次都会重新打包最新代码。
  • Docker 构建默认启用 BuildKit;首次构建会下载 Maven 依赖,后续在 pom.xml 未变化时会复用 /root/.m2 构建缓存,通常不会重复大规模下载。
  • 以下情况会触发依赖重新解析或重新下载:修改 pom.xml、执行 docker builder prune 清理构建缓存、切换到另一套 Docker Builder / Docker 环境。

代码结构

  • com.svnlog.webWeb 入口、控制器、DTO、服务
  • com.svnlog.core.svnSVN 连接、日志抓取模型
  • com.svnlog.core.reportMarkdown 报告输出能力

更多运行和功能说明见 docs/

S
Description
Mirror of svn-log-tool from gitee
Readme 29 MiB
Languages
Java 65.2%
HTML 15.3%
Vue 13.4%
CSS 3.9%
JavaScript 1.1%
Other 1.1%