[SCM] PostGIS branch master updated. 3.7.0beta1-6-g79a311c10

git at osgeo.org git at osgeo.org
Tue Jul 21 15:52:49 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  79a311c10261a31e42dc9bddac05a421e022aff2 (commit)
      from  1f5885aa8bae29688509a3ca19e17c0cb6351449 (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 79a311c10261a31e42dc9bddac05a421e022aff2
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date:   Tue Jul 21 15:52:48 2026 -0700

    ci: make contributor credit fixture cleanup deterministic (!482)
    
    The contributor-credit unit tests create temporary Git repositories and remove them during teardown. On GitHub Actions with Git 2.54, background Git maintenance can still be touching .git/objects when TemporaryDirectory.cleanup() runs, which makes the test fail with Directory not empty even though the validator assertions passed.
    
    Disable auto maintenance and auto gc inside those synthetic test repositories so teardown is deterministic. The production contributor-credit validator is unchanged.
    
    References https://github.com/postgis/postgis/actions/runs/29775768507/job/88464639676
    
    ---------
    
    Co-authored-by: Darafei Praliaskouski <me at komzpa.net>
    Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/482

diff --git a/utils/test_check_contributor_credits.py b/utils/test_check_contributor_credits.py
index 1c10e2582..7dc3e02d0 100644
--- a/utils/test_check_contributor_credits.py
+++ b/utils/test_check_contributor_credits.py
@@ -35,6 +35,8 @@ class ContributorCreditFixture:
         self.repo = Path(self.temporary_directory.name)
         (self.repo / "doc").mkdir()
         self.git("init", "--initial-branch=main")
+        self.git("config", "gc.auto", "0")
+        self.git("config", "maintenance.auto", "false")
         self.git("config", "user.name", "Fixture Committer")
         self.git("config", "user.email", "committer at example.com")
 

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

Summary of changes:
 utils/test_check_contributor_credits.py | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list