ChangeLog customization » History » Version 1
Denis Kildishev, 11/02/2023 09:29 PM
1 | 1 | Denis Kildishev | h1. ChangeLog customization |
---|---|---|---|
2 | |||
3 | Requality now supports changelog customization config files. It is a json with changeLog settings for on a project scope or for some requiment subtree. |
||
4 | Changelog customization can be made on a project scope or for some subtree. |
||
5 | In first case it is stored in .changeLogConfig file in the root folder of project. |
||
6 | In second case it is placed in the folder of target node's parent with the name ".changeLogConfig-{id}" where id is the id of node. |
||
7 | |||
8 | An example of config is provided here: |
||
9 | <pre> |
||
10 | { |
||
11 | "source": "git", |
||
12 | "versionsFromGit" : true, |
||
13 | "predefined_values":[ |
||
14 | { |
||
15 | "version":"1", |
||
16 | "hash":"revisionHash", |
||
17 | "author-name": "name", |
||
18 | "author-email": "some@site.com", |
||
19 | "message":"commit text", |
||
20 | "date":"yyyy-MM-dd HH:mm:ss" |
||
21 | }, |
||
22 | { |
||
23 | "version":"2", |
||
24 | "hash":"revisionHash2", |
||
25 | "author-name": "name", |
||
26 | "author-email": "some@site.com", |
||
27 | "message":"commit text 2", |
||
28 | "date":"yyyy-MM-dd HH:mm:ss" |
||
29 | } |
||
30 | ], |
||
31 | "ignore_hashes":["ignoreHash1"], |
||
32 | "author_normalization":{ |
||
33 | "by_name":{ |
||
34 | "name1":{ |
||
35 | "name":"someName", |
||
36 | "email":"" |
||
37 | } |
||
38 | }, |
||
39 | "by_email":{ |
||
40 | "email":{ |
||
41 | "name":"someName2", |
||
42 | "email":"" |
||
43 | } |
||
44 | } |
||
45 | } |
||
46 | } |
||
47 | </pre> |
||
48 | 'source' can be set to 'git' and then changelog records will be loaded from git or 'predefined' and then the values from 'predefined_values' will be used. |
||
49 | 'date' is expected to be in format "yyyy-MM-dd HH:mm:ss" |
||
50 | If the value of 'versionsFromGit' set to true then versions will be loading from repository elsewhere they will be set according to records order. |