[SCM] PostGIS branch master updated. 3.7.0beta2-25-g369235b92

git at osgeo.org git at osgeo.org
Tue Aug 11 07:52:16 PDT 2026


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  369235b92e0d03584916c42bf074cd02122addb9 (commit)
       via  b45a1f078a93b84ef5dc95685e408b5970a4e71a (commit)
      from  ac50b1860aafaa3aa7dbc24466db64d01b1ea88a (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 369235b92e0d03584916c42bf074cd02122addb9
Merge: ac50b1860 b45a1f078
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date:   Tue Aug 11 07:52:14 2026 -0700

    Merge pull request 'build: skip NEWS unit tests outside Git worktrees' (!727) from Komzpa/postgis:codex/ticket-6111-check-news-no-git into master
    
    Skip the Python NEWS unit tests when the source tree is not a Git worktree, while still running the shell NEWS checks that do not require Git history. This fixes source package documentation checks in build environments where git is absent.
    
    Patch by Bas Couwenberg.
    
    Closes https://trac.osgeo.org/postgis/ticket/6111
    Closes #6111
    
    Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/727


commit b45a1f078a93b84ef5dc95685e408b5970a4e71a
Author: Bas Couwenberg <sebastic at debian.org>
Date:   Tue Aug 11 18:48:16 2026 +0400

    build: skip NEWS unit tests outside Git worktrees
    
    The NEWS Python unit tests create temporary Git repositories, so release-tarball builds without git cannot run them. Skip those unit tests when the source tree is not a Git worktree, while still running the shell NEWS checks that do not need Git history.
    
    Closes #6111

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 75824f48a..5c7f83717 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -100,7 +100,9 @@ visual-examples: staged-install
 	$(MAKE) -C regress visual-examples-run
 
 check-news:
-	@if test -z "$(PYTHON3)"; then \
+	@if test ! -e "$(top_srcdir)/.git"; then \
+		echo "SKIP: NEWS unit tests require a Git worktree"; \
+	elif test -z "$(PYTHON3)"; then \
 		echo "SKIP: NEWS unit tests require python3"; \
 	else \
 		$(PYTHON3) -B $(top_srcdir)/utils/docs/tests/test_check_news.py; \
diff --git a/NEWS b/NEWS
index 61540a408..f5ecc0175 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,8 @@ These are only changes since 3.7.0beta2.
 
  - OSSFuzz 5607611131822080, keep GSERIALIZED bytea fuzzer allocations
           consistent with hostile varlena size headers (Darafei Praliaskouski)
+ - #6111, Skip NEWS unit tests outside Git worktrees, fixing source
+          package documentation checks without git (Bas Couwenberg)
  - #6112, Document GMP and current build dependency requirements in
           README.postgis (Darafei Praliaskouski)
  - OSSFuzz 544800490, reject malformed GSERIALIZED polygon rings before

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

Summary of changes:
 GNUmakefile.in | 4 +++-
 NEWS           | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list