773 Star 1.5K Fork 351

开源中国 / Gitee Feedback

 / 详情

ci 关联 issue 的功能增强

结束任务
Task
创建于  
2017-03-25 19:49

目前 git oschina 只支持 ci 消息中这样的关联:

close|closes|closing|closed|fixed|fix|resolved #issueid , 就可以关闭issue了

或者

comment #issueid comments , 就可以评论issue了

能否像 gitlab 那样,支持的更加好一些? gitlab 是这样的:

((?:[Cc]los(?:e[sd]?|ing)|[Ff]ix(?:e[sd]|ing)?|[Rr]esolv(?:e[sd]?|ing))(:?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?)|([A-Z][A-Z0-9_]+-\d+))+)
This translates to the following keywords:

Close, Closes, Closed, Closing, close, closes, closed, closing
Fix, Fixes, Fixed, Fixing, fix, fixes, fixed, fixing
Resolve, Resolves, Resolved, Resolving, resolve, resolves, resolved, resolving

相关地址在: https://docs.gitlab.com/ee/user/project/issues/automatic_issue_closing.html

评论 (2)

zavakid 创建了任务
Yashin 指派了任务给Yashin

现在码云也可以咯

Yashin 关闭了任务
诺墨 任务状态已完成 修改为已验收
诺墨 将工作项从 任务 迁移到 Task
诺墨 任务类型任务 修改为Task
诺墨 任务状态已验收 修改为结束任务

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
58426 yashin 1578915792 794 zava 1578913877
Ruby
1
https://gitee.com/oschina/git-osc.git
git@gitee.com:oschina/git-osc.git
oschina
git-osc
Gitee Feedback

搜索帮助