[SCM] PostGIS branch master updated. 3.4.0rc1-1024-g57e3f4778

git at osgeo.org git at osgeo.org
Thu Mar 14 10:26:50 PDT 2024


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  57e3f477860748d62d88b465b55e95d0e9091706 (commit)
      from  9454b1125a8c366d9ce74f066846c03f365cc0de (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 57e3f477860748d62d88b465b55e95d0e9091706
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Mar 14 18:26:24 2024 +0100

    [woodie] streamline docs dependencies

diff --git a/.woodpecker/docs-localized.yml.in b/.woodpecker/docs-localized.yml.in
index 52ee1d6d6..ece9af87e 100644
--- a/.woodpecker/docs-localized.yml.in
+++ b/.woodpecker/docs-localized.yml.in
@@ -3,7 +3,7 @@
     pull: true
     commands:
       - make -C build-docs/doc/po/@LANG@ local- at TARGET@
-    #group: @GROUP@
+    depends_on: @DEP@
     when:
       path:
         include:
diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml
index 16b29ab1f..a91288f29 100644
--- a/.woodpecker/docs.yml
+++ b/.woodpecker/docs.yml
@@ -51,7 +51,7 @@ steps:
   build-html:
     image: *test_image
     pull: true
-    depends_on: build-images
+    depends_on: prepare
     commands:
       - make -C build-docs/doc html
     when:
@@ -88,7 +88,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/it_IT local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -98,7 +98,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pt_BR local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -108,7 +108,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/fr local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -118,7 +118,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/es local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -128,7 +128,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pl local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -138,7 +138,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ko_KR local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -148,7 +148,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/de local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -158,7 +158,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ja local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -168,7 +168,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ru local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -178,7 +178,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/zh_Hans local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -188,7 +188,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ro local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -198,7 +198,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/uk local-check-xml
-    #group: localized-check-xml
+    depends_on: prepare
     when:
       path:
         include:
@@ -209,7 +209,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/it_IT local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -219,7 +219,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pt_BR local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -229,7 +229,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/fr local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -239,7 +239,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/es local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -249,7 +249,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pl local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -259,7 +259,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ko_KR local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -269,7 +269,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/de local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -279,7 +279,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ja local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -289,7 +289,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ru local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -299,7 +299,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/zh_Hans local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -309,7 +309,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ro local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -319,7 +319,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/uk local-html
-    #group: localized-html
+    depends_on: prepare
     when:
       path:
         include:
@@ -330,7 +330,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/it_IT local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -340,7 +340,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pt_BR local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -350,7 +350,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/fr local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -360,7 +360,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/es local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -370,7 +370,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pl local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -380,7 +380,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ko_KR local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -390,7 +390,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/de local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -400,7 +400,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ja local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -410,7 +410,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ru local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -420,7 +420,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/zh_Hans local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -430,7 +430,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ro local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -440,7 +440,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/uk local-cheatsheets
-    #group: localized-cheatsheets
+    depends_on: prepare
     when:
       path:
         include:
@@ -451,7 +451,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/it_IT local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-it_IT
     when:
       path:
         include:
@@ -461,7 +461,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pt_BR local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-pt_BR
     when:
       path:
         include:
@@ -471,7 +471,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/fr local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-fr
     when:
       path:
         include:
@@ -481,7 +481,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/es local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-es
     when:
       path:
         include:
@@ -491,7 +491,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pl local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-pl
     when:
       path:
         include:
@@ -501,7 +501,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ko_KR local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-ko_KR
     when:
       path:
         include:
@@ -511,7 +511,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/de local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-de
     when:
       path:
         include:
@@ -521,7 +521,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ja local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-ja
     when:
       path:
         include:
@@ -531,7 +531,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ru local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-ru
     when:
       path:
         include:
@@ -541,7 +541,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/zh_Hans local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-zh_Hans
     when:
       path:
         include:
@@ -551,7 +551,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ro local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-ro
     when:
       path:
         include:
@@ -561,7 +561,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/uk local-check-cheatsheets
-    #group: localized-check-cheatsheets
+    depends_on: cheatsheets-uk
     when:
       path:
         include:
@@ -572,7 +572,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/it_IT local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -582,7 +582,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pt_BR local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -592,7 +592,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/fr local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -602,7 +602,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/es local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -612,7 +612,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/pl local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -622,7 +622,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ko_KR local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -632,7 +632,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/de local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -642,7 +642,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ja local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -652,7 +652,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ru local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -662,7 +662,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/zh_Hans local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -672,7 +672,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/ro local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
@@ -682,7 +682,7 @@ steps:
     pull: true
     commands:
       - make -C build-docs/doc/po/uk local-pdf
-    #group: localized-pdf
+    depends_on: build-images
     when:
       path:
         include:
diff --git a/.woodpecker/update-docs-localized.sh b/.woodpecker/update-docs-localized.sh
index 25bcfe67c..34cb7bb90 100755
--- a/.woodpecker/update-docs-localized.sh
+++ b/.woodpecker/update-docs-localized.sh
@@ -15,8 +15,21 @@ do
   echo "### TARGET ${target}"
   for lang in ${SUPPORTED_LANGUAGES};
   do
-    group=localized-${target}
-    sed "s/@LANG@/${lang}/;s/@TARGET@/${target}/;s/@GROUP@/${group}/" docs-localized.yml.in
+    case ${target} in
+      check-xml|html|cheatsheets)
+        depends_on=prepare
+        ;;
+      pdf)
+        depends_on=build-images
+        ;;
+      check-cheatsheets)
+        depends_on=cheatsheets-${lang}
+        ;;
+      *)
+        echo "Unexpected target ${target}" >&2
+        exit 1
+    esac
+    sed "s/@LANG@/${lang}/;s/@TARGET@/${target}/;s/@DEP@/${depends_on}/" docs-localized.yml.in
   done
 done
 

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

Summary of changes:
 .woodpecker/docs-localized.yml.in    |   2 +-
 .woodpecker/docs.yml                 | 122 +++++++++++++++++------------------
 .woodpecker/update-docs-localized.sh |  17 ++++-
 3 files changed, 77 insertions(+), 64 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list