diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-10-29 10:19:10 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-10-29 10:19:10 -0400 |
commit | c11ce1ca5b6cac7a5bf0440f1121866fc7e319bd (patch) | |
tree | 42dbcde9ae930ba5c23eff46dc2585ac534f76ba /scripts/maint/format_changelog.py | |
parent | 51cc787ad43f2a6156f1504793193995a4e763d0 (diff) | |
download | tor-c11ce1ca5b6cac7a5bf0440f1121866fc7e319bd.tar.gz tor-c11ce1ca5b6cac7a5bf0440f1121866fc7e319bd.zip |
Reinvoke format_changelog.py
Also, tweak it so that it puts major deprecations and requirements
early in the changelog.
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 |