[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1186-g92dd3257a

git at osgeo.org git at osgeo.org
Sat Jul 8 11:01:28 PDT 2023


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  92dd3257a02d227c392113298360e4244c273463 (commit)
       via  eaa0f3900f86683711fab9022766a8c0273bcee2 (commit)
      from  65028c31c4a5604f17814171904251c9d35e9a34 (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 92dd3257a02d227c392113298360e4244c273463
Author: Sandro Santilli <strk at kbt.io>
Date:   Sat Jul 8 20:01:10 2023 +0200

    Fix dependency of translated .xml on the english .xml (off-tree build)

diff --git a/doc/po/Makefile.local b/doc/po/Makefile.local
index d7968f635..aa58ba7ba 100644
--- a/doc/po/Makefile.local
+++ b/doc/po/Makefile.local
@@ -27,6 +27,6 @@ include ../../Makefile
 # XML gettext tools
 PO2XML=po2xml
 
-$(XML_SOURCES): %.xml: %.xml.po $(srcdir)/../../%.xml
-	$(PO2XML) $(srcdir)/../../$@ $< > $@
+$(XML_SOURCES): %.xml: %.xml.po $(abs_srcdir)/%.xml
+	$(PO2XML) $(abs_srcdir)/$@ $< > $@
 

commit eaa0f3900f86683711fab9022766a8c0273bcee2
Author: Sandro Santilli <strk at kbt.io>
Date:   Sat Jul 8 18:34:12 2023 +0200

    Skip generation of docs whose .po files didn't change

diff --git a/.woodpecker/docs-localized.yml b/.woodpecker/docs-localized.yml
index be80cd880..05829b372 100644
--- a/.woodpecker/docs-localized.yml
+++ b/.woodpecker/docs-localized.yml
@@ -1,5 +1,5 @@
 matrix:
-  LANG:
+  TR:
     - it_IT
     - pt_BR
     - fr
@@ -19,19 +19,29 @@ pipeline:
       - mkdir -p build-docs && cd build-docs
       - ../configure --without-pg
       - make postgis_revision.h
+    when:
+      path: "doc/po/${TR}/*.po"
   check-xml:
     image: docker.osgeo.org/postgis/build-test:trisquel3
     commands:
-      - make -C build-docs/doc/po/${LANG} local-check
+      - make -C build-docs/doc/po/${TR} local-check
+    when:
+      path: "doc/po/${TR}/*.po"
   build-html:
     image: docker.osgeo.org/postgis/build-test:trisquel3
     commands:
-      - make -C build-docs/doc/po/${LANG} local-html
+      - make -C build-docs/doc/po/${TR} local-html
+    when:
+      path: "doc/po/${TR}/*.po"
   build-pdf:
     image: docker.osgeo.org/postgis/build-test:trisquel3
     commands:
-      - make -C build-docs/doc/po/${LANG} local-pdf
+      - make -C build-docs/doc/po/${TR} local-pdf
+    when:
+      path: "doc/po/${TR}/*.po"
   build-cheatsheets:
     image: docker.osgeo.org/postgis/build-test:trisquel3
     commands:
-      - make -C build-docs/doc/po/${LANG} local-cheatsheets
+      - make -C build-docs/doc/po/${TR} local-cheatsheets
+    when:
+      path: "doc/po/${TR}/*.po"

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

Summary of changes:
 .woodpecker/docs-localized.yml | 20 +++++++++++++++-----
 doc/po/Makefile.local          |  4 ++--
 2 files changed, 17 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list