diff options
Diffstat (limited to 'scripts/maint/format_changelog.py')
-rwxr-xr-x | scripts/maint/format_changelog.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/maint/format_changelog.py b/scripts/maint/format_changelog.py index 3a95c3aac0..686ebba1d6 100755 --- a/scripts/maint/format_changelog.py +++ b/scripts/maint/format_changelog.py @@ -204,9 +204,12 @@ def head_score(s): lw = m.group(1).lower() if lw.startswith("security") and "feature" not in lw: score = -300 - elif lw.startswith("deprecated versions"): + elif lw.startswith("deprecated version"): score = -200 - elif "build require" in lw: + elif (('new' in lw and 'requirement' in lw) or + ('new' in lw and 'dependenc' in lw) or + ('build' in lw and 'requirement' in lw) or + ('removed' in lw and 'platform' in lw)): score = -100 elif lw.startswith("major feature"): score = 00 |