[Libreoffice-commits] core.git: bin/check-implementer-notes.py
Thorsten Behrens (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 4 23:15:20 UTC 2020
bin/check-implementer-notes.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 75e1cf6c6ea83e65da248dab917b06feea6c18e4
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Thu Jun 4 23:03:31 2020 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Fri Jun 5 01:14:34 2020 +0200
Battle-harden ODF implementer notes script
- make sure multiple commit hashes per line are all extracted
- adjust cut-off date to May 18th, when Michael had finished
adding missing implementer notes
Change-Id: Ieb689442369792d701762d4325c73f17d2f3f703
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95541
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/bin/check-implementer-notes.py b/bin/check-implementer-notes.py
index 378c16a6e933..10b7c168ba0e 100755
--- a/bin/check-implementer-notes.py
+++ b/bin/check-implementer-notes.py
@@ -11,7 +11,7 @@ wiki_pages = [
# get all commit hashes mentioned in implementer notes
wiki_commit_hashes = {}
-query = re.compile('\{\{commit\|(\\w+).*\}\}', re.IGNORECASE)
+query = re.compile('\{\{commit\|(\\w+)\|\\w*\|\\w*\}\}', re.IGNORECASE)
for page in wiki_pages:
r = http.request('GET', page)
data = json.loads(r.data.decode('utf-8'))
@@ -21,10 +21,10 @@ for page in wiki_pages:
# get all commits that change core/schema/* - and are _not_ mentioned
# in the wiki page
-# Cut-off is Jan 1st 2020, when we started cleaning this up
+# Cut-off is May 18th 2020, when Michael Stahl had finished cleaning this up
for commit in subprocess.check_output(
['git', '--no-pager', '-C', sys.path[0]+'/..', 'log',
- '--since=2020-01-01', '--format=%H', '--', 'schema/'],
+ '--since=2020-05-18', '--format=%H', '--', 'schema/'],
stderr=subprocess.STDOUT).decode("utf-8").split("\n"):
if commit != '' and commit not in wiki_commit_hashes:
print('missing commit: %s' % commit)
More information about the Libreoffice-commits
mailing list