Skip to content

Releases: yzhucn/code-health

v2.1.0 - 支持国内 Podman 部署

13 Jan 07:40

Choose a tag to compare

新功能

国内部署支持 (Podman)

  • 新增 Dockerfile.china - 使用 DaoCloud 镜像源,解决国内 Docker Hub 访问限制
  • 新增 docker-compose.china.yml - 支持 Podman 容器部署

部署方式

国内用户 (阿里云 ECS / Podman)

# 安装 Podman
dnf install -y podman podman-compose

# 构建和启动
podman-compose -f docker-compose.china.yml build
podman-compose -f docker-compose.china.yml up -d

国际用户 (Docker)

docker-compose build
docker-compose up -d

修复

  • 修复 Dockerfile 中 config 目录不存在导致构建失败的问题
  • 移除 docker-compose.yml 中不必要的 config 卷挂载

文档更新

  • QUICK_START.md 新增国内部署完整指南
  • QUICK_START_EN.md 新增 China Deployment 章节
  • 包含本地 Python 运行方式作为备选方案

Full Changelog: v2.0.0...v2.1.0

Code Health Monitor v2.0.0

13 Jan 06:21

Choose a tag to compare

Code Health Monitor v2.0.0 🎉

A major release with complete architecture refactoring and new features!

Highlights

🐳 Docker One-Click Deployment

  • Ready-to-use Docker image
  • docker-compose up -d to start all services
  • Built-in Nginx for web access

🔌 Provider Architecture

  • Support for multiple Git platforms
    • GitHub API
    • GitLab API
    • Alibaba Cloud Codeup API
    • Generic Git (shallow clone)
  • Easy to extend for new platforms

📊 Monthly Reports

  • New monthly report generation
  • Comprehensive team analytics
  • Long-term trend analysis

🏗️ Modular Python Structure

  • Clean separation: providers, analyzers, reporters, notifiers
  • Better maintainability and testability
  • Easy to customize and extend

🔐 Enhanced Security

  • No hardcoded tokens
  • Environment variable configuration
  • Sensitive data protection

What's New

  • ✅ Docker deployment with docker-compose
  • ✅ Multi-platform Git support (GitHub/GitLab/Codeup)
  • ✅ Remote repository auto shallow clone
  • ✅ Monthly report generation
  • ✅ Modular Python code structure
  • ✅ English documentation (README_EN.md, QUICK_START_EN.md)
  • ✅ Enhanced DingTalk message formatting

Quick Start

# Clone the repository
git clone https://github.com/yzhucn/code-health.git
cd code-health

# Configure
cp .env.example .env
vi .env  # Add your tokens and settings

# Start with Docker
docker-compose up -d

# Generate daily report
docker-compose run --rm code-health daily

Documentation

Breaking Changes

  • Configuration format updated (see config.example.yaml)
  • CLI commands now use python -m src.main instead of direct script execution

Full Changelog

v1.0.0...v2.0.0

Code Health Monitor v1.0.0

04 Jan 08:31

Choose a tag to compare

Code Health Monitor v1.0.0

首个公开发布版本 | First Public Release

🎉 核心功能 | Core Features

中文

自动化代码质量与团队效能监控平台

  • 📊 自动化报告: 每日/周报自动生成,支持钉钉/飞书推送
  • 🔍 代码质量监控: 流失率检测、返工率分析、高风险文件识别
  • 👥 团队效能分析: 效能排行、工作时间分析、协作热力图
  • 📈 可视化仪表盘: 多时间范围健康评分趋势

English

Automated Code Quality and Team Productivity Monitoring Platform

  • 📊 Automated Reporting: Daily/weekly reports with DingTalk/Feishu integration
  • 🔍 Code Quality Monitoring: Churn detection, rework analysis, high-risk file identification
  • 👥 Team Productivity Analysis: Rankings, working hours analysis, collaboration heatmap
  • 📈 Visualization Dashboard: Multi-range health score trends

📦 安装 | Installation

```bash
git clone https://github.com/yzhucn/code-health.git
cd code-health
pip3 install -r requirements.txt
cp config.example.yaml config.yaml
```

📚 文档 | Documentation

🛡️ 技术栈 | Tech Stack

Python 3.8+ • Bash • Git • Markdown • ECharts • DingTalk/Feishu API


让数据驱动研发效能提升!| Let data drive R&D efficiency improvement!