感谢你考虑为 UVR Headless Runner 做贡献!无论是 Bug 报告、功能建议还是代码贡献,我们都非常欢迎。
- 先搜索 已有 Issues,避免重复
- 使用 Bug Report 模板 提交
- 尽量提供完整信息:命令、错误输出、环境信息
- 使用 Feature Request 模板
- 描述你想解决的问题,而不仅仅是你想要的功能
- Fork 本仓库
- 创建你的功能分支:
git checkout -b feature/my-feature - 提交改动:
git commit -m "feat: add my feature" - 推送到你的 Fork:
git push origin feature/my-feature - 创建 Pull Request
# 克隆你的 Fork
git clone https://github.com/<your-username>/uvr-headless-runner.git
cd uvr-headless-runner
# 安装依赖
pip install -r requirements.txt
# 安装开发依赖
pip install pytest
# 运行测试
pytest tests/ -v- Python 3.9 — 与上游 UVR GUI 保持一致
- 函数和类需要有 docstring
- 新功能尽量添加对应的测试
- commit message 建议使用 Conventional Commits 格式:
feat:新功能fix:Bug 修复docs:文档refactor:重构test:测试
├── mdx_headless_runner.py # MDX-Net / Roformer / SCNet Runner
├── demucs_headless_runner.py # Demucs Runner
├── vr_headless_runner.py # VR Architecture Runner
├── model_downloader.py # 模型下载管理
├── error_handler.py # 错误处理
├── progress.py # CLI 进度显示
├── separate.py # 分离逻辑(上游代码)
├── docker/ # Docker 部署
├── tests/ # 自动测试
└── models/ # 模型配置(非模型文件)
⚠️ separate.py、lib_v5/、demucs/是上游 UVR GUI 代码,除非必要请勿修改。
Thanks for considering contributing to UVR Headless Runner! We welcome bug reports, feature suggestions, and code contributions.
- Search existing Issues first
- Use the Bug Report template
- Include: full command, error output, and environment info
- Use the Feature Request template
- Describe the problem you want to solve, not just the feature you want
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Commit changes:
git commit -m "feat: add my feature" - Push to your fork:
git push origin feature/my-feature - Open a Pull Request
git clone https://github.com/<your-username>/uvr-headless-runner.git
cd uvr-headless-runner
pip install -r requirements.txt
pip install pytest
pytest tests/ -v- Python 3.9 — aligned with upstream UVR GUI
- Add docstrings to functions and classes
- Add tests for new features when possible
- Use Conventional Commits for commit messages
*_headless_runner.py— CLI runners (our code)model_downloader.py— model registry & downloads (our code)error_handler.py/progress.py— shared utilities (our code)separate.py,lib_v5/,demucs/— upstream UVR code (avoid modifying)docker/— container deployment
By contributing, you agree that your contributions will be licensed under the MIT License.