-
Notifications
You must be signed in to change notification settings - Fork 51
/
coco.yml
38 lines (34 loc) · 989 Bytes
/
coco.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
repos:
- url: https://github.com/coco-rs/coco.fixtures
languages: [Java]
- url: https://github.com/coco-rs/coco.fixtures2
- url: .
languages: [Rust]
- url: https://github.com/datum-lang/scie
- url: https://github.com/projectfluent/fluent-rs
languages: [Rust, JavaScript]
plugins:
- name: swagger
- name: struct
config:
- key: ctags
value: /usr/local/bin/ctags
git:
local: false
# todo: api mapping services/repository
openapi:
- url: _fixtures/swagger/petstore.yaml
version: 2.0
# todo: add commit
commit:
# default: conventional commit: (?<type>build)(?<scope>(?:\([^()\r\n]*\)|\()?(?<breaking>!)?)(?<subject>:.*)?
# link url: https://regex101.com/r/V5J8kh/1
#
# jira: ^(feature|fix)\/(([a-z,A-Z]+))(-)(\d*)(:)([a-z,0–9])
# jira test case: feature/JIR-124:test commit message
regex: ^(feature|fix)/([a-z,A-Z]+-\d*):([a-z,0–9])
matches:
- scope
- tag
- id
samples: feature/JIR-124:test commit message