On Thu, 22 Feb 2024 15:56:46 +0000
Evgeny Karpov <[email protected]> wrote:
> A ChangeLog template using "Moved... ...here" has been generated by
> contrib/mklog.py.
> It seems that it needs modification.
>
> Regards,
> Evgeny
>
> -----Original Message-----
> Thursday, February 22, 2024 12:11 PM
> Richard Earnshaw (lists) wrote:
>
> > The ChangeLog has to be expressed in present tense, as mandated by the
> > standard; s/Moved/Move/g etc.
>
> Agreed, but that's a detail that we can get to once the patch has been
> properly reviewed.
>
Excellent, two patches for the price of one :)
diff --git a/contrib/mklog.py b/contrib/mklog.py
index d764fb41f99..7d8d554b15e 100755
--- a/contrib/mklog.py
+++ b/contrib/mklog.py
@@ -277,7 +277,7 @@ def generate_changelog(data, no_functions=False,
fill_pr_titles=False,
# it used to be path.source_file[2:]
relative_path = get_rel_path_if_prefixed(file.source_file[2:],
changelog)
- out = append_changelog_line(out, relative_path, 'Moved to...')
+ out = append_changelog_line(out, relative_path, 'Move to...')
new_path = get_rel_path_if_prefixed(file.target_file[2:],
changelog)
out += f'\t* {new_path}: ...here.\n'
cheers