Project

General

Profile

Actions

ChangeLog customization » History » Revision 1

Revision 1/2 | Next »
Denis Kildishev, 11/02/2023 09:29 PM


ChangeLog customization

Requality now supports changelog customization config files. It is a json with changeLog settings for on a project scope or for some requiment subtree.
Changelog customization can be made on a project scope or for some subtree.
In first case it is stored in .changeLogConfig file in the root folder of project.
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.

An example of config is provided here:

{
  "source": "git",
  "versionsFromGit" : true,
  "predefined_values":[
    {
      "version":"1",
      "hash":"revisionHash",
      "author-name": "name",
      "author-email": "some@site.com",
      "message":"commit text",
      "date":"yyyy-MM-dd HH:mm:ss" 
    },
    {
      "version":"2",
      "hash":"revisionHash2",
      "author-name": "name",
      "author-email": "some@site.com",
      "message":"commit text 2",
      "date":"yyyy-MM-dd HH:mm:ss" 
    } 
  ],
  "ignore_hashes":["ignoreHash1"],
  "author_normalization":{
      "by_name":{
        "name1":{
            "name":"someName",
                        "email":""  
        }      
      },
      "by_email":{
        "email":{
            "name":"someName2",
                        "email":"" 
        }      
      }
  }
}

'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.
'date' is expected to be in format "yyyy-MM-dd HH:mm:ss"
If the value of 'versionsFromGit' set to true then versions will be loading from repository elsewhere they will be set according to records order.

Updated by Denis Kildishev about 1 year ago · 2 revisions