Changelog parser bug?
Posted: Thu Feb 20, 2020 8:28 pm
Consider this changelog:
The in-game parser doesn't like it:
It's correct that these are duplicate lines, but they are inconsequential because they are mere continuations of the item lines preceding them -- they do not open a new category and do not begin with " - ". It is quite possible that such lines may legitimately contain duplicate content, e.g. links as in the example above, items in a custom list …
I think it is a bug that the in-game parser doesn't accept duplicate continuation lines. Could you exempt such lines from the duplicate-lines test, please?
Code: Select all
1 ---------------------------------------------------------------------------------------------------
2 Version: 0.0.2
3 Date: 2020-02-18
4
5
6
7 Changes:
8 - Fixed issue 1
9 (https://LINK-1)
10
11 - Implemented X
12 (https://LINK-2)
13
14 - Implemented Y
15 (https://LINK-1)
Code: Select all
invalid changelog file, line 15 is a duplicate of line 9.
I think it is a bug that the in-game parser doesn't accept duplicate continuation lines. Could you exempt such lines from the duplicate-lines test, please?