Open vaitkus opened 1 year ago
I think we should move to a system such as you have in the COD. We should not have any structured information embedded within text strings. I would be in favour of a new AUDIT_UPDATE
category as described, and deprecating AUDIT_CREATION_*
.
The definition of the
AUDIT
states that:Traditionally this was done by first describing the creation of the file using the
_audit_update_record
and_audit_creation_method
data items and appending the description of any further changes to the_audit_update_record
data item, see, for example an excerpt from COD entry 1552645:Intuitively, it seems that the
_audit_update_record
could be split into a separateAUDIT_UPDATE
category (date, revision, author_id, etc.). However, there are several additional considerations related to this redefinition:_audit_creation_date
,_audit_creation_method
) or should it be treated as just another entry in the AUDIT_UPDATE loop?For the purposes of the COD we have defined the COD_CHANGELOG category, which is used in a way that is quite similar to the one proposed above:
Note, that in this case each revision only has a single non-normalised author, which can be either a person or a piece of software.
Alternatively, we could keep using the multi-line
_audit_update_record
, but then it would probably be useful to provide at least some guidelines to the authors that plan to modify this field (e.g. provide the date, always append new text to the end, etc.).