[postgis-tickets] [SCM] PostGIS branch master updated. e1823efbe5ee607bcda3198afb86765e7df1ff57

git at osgeo.org git at osgeo.org
Thu Dec 19 06:07:05 PST 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  e1823efbe5ee607bcda3198afb86765e7df1ff57 (commit)
      from  15111afc04b2d36e94a51d6ccf63782ca5280d7b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e1823efbe5ee607bcda3198afb86765e7df1ff57
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Dec 19 15:06:45 2019 +0100

    Only check commits added since last NEWS-reported finalized release

diff --git a/utils/check_news.sh b/utils/check_news.sh
index d2f118d..04ac809 100755
--- a/utils/check_news.sh
+++ b/utils/check_news.sh
@@ -62,10 +62,16 @@ test $? = 0 || exit 1
 echo "PASS: NEWS file entries are in good order"
 
 if test "${TICKET_REFS}" = "yes"; then
+
+  last_news_release=$( grep \
+    -B1 '^[0-9]\{4\}/[0-9]\{2\}/[0-9]\{2\}' NEWS |
+    head -1 | awk '{print $2}' )
+  echo "INFO: Checking ticket refs in commits since tag '$last_news_release'"
+
   # If git is available, check that every ticket reference in
   # commit logs is also found in the NEWS file
   if which git > /dev/null && test -e .git; then
-    git log --grep '#[0-9]\+' --pretty='format:%H' |
+    git rev-list HEAD --not $last_news_release |
       grep -vwFf $TICKET_REFS_SKIP_COMMITS |
       xargs git log --no-walk --pretty='format:%B' |
       sed -En 's|#([0-9]+)|\a\1\n|;/\n/!b;s|.*\a||;P;D' |

-----------------------------------------------------------------------

Summary of changes:
 utils/check_news.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list