znt/module/git/test/model/yaml/repo_updatecommit.yaml

112 lines
2.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 代码库测试数据 - updateCommit方法
desc: 测试 gitModel::updateCommit() 方法的代码库配置数据
author: Claude
version: "1.0"
fields:
- field: id
note: 代码库ID
range: 101-110
prefix: ""
postfix: ""
loop: 0
format: ""
- field: product
note: 产品ID
range: 1-3
prefix: ""
postfix: ""
loop: 0
format: ""
- field: name
note: 代码库名称
range: testRepo1,testRepo2,emptyRepo,syncedRepo,errorRepo
prefix: ""
postfix: ""
loop: 0
format: ""
- field: path
note: 代码库路径
range: /tmp/testrepo1,/tmp/testrepo2,/tmp/emptyrepo,/tmp/syncedrepo,/invalid/path
prefix: ""
postfix: ""
loop: 0
format: ""
- field: SCM
note: 源码管理系统类型
range: Git,Gitlab,Subversion,Git,Git
prefix: ""
postfix: ""
loop: 0
format: ""
- field: client
note: 客户端路径
range: /usr/bin/git,/usr/bin/git,/usr/bin/svn,/usr/bin/git,/usr/bin/git
prefix: ""
postfix: ""
loop: 0
format: ""
- field: serviceHost
note: 服务主机ID
range: 1-5
prefix: ""
postfix: ""
loop: 0
format: ""
- field: serviceProject
note: 服务项目ID
range: 10-50
prefix: ""
postfix: ""
loop: 0
format: ""
- field: synced
note: 同步状态0未同步1已同步
range: 0,1,1,1,0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: commits
note: 提交数量
range: 0,5,10,20,0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: lastSync
note: 最后同步时间
range: "2023-01-01 00:00:00,2023-06-15 10:30:00,2023-12-01 14:20:00,2024-01-15 09:45:00,0000-00-00 00:00:00"
prefix: ""
postfix: ""
loop: 0
format: ""
- field: extra
note: 额外配置
range: '{"branch":"master"}','{"branch":"develop"}','{"branch":"main"}','{"branch":"release"}',''
prefix: ""
postfix: ""
loop: 0
format: ""
- field: preMerge
note: 预合并
range: 0,1,1,0,0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: job
note: 关联任务ID
range: 0,1,2,3,0
prefix: ""
postfix: ""
loop: 0
format: ""
- field: deleted
note: 删除状态
range: 0,0,0,0,0
prefix: ""
postfix: ""
loop: 0
format: ""