[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-1229-g67d038ba3
git at osgeo.org
git at osgeo.org
Wed Jul 12 23:02:42 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 67d038ba3882c182f2b9cec8a1cf6518843c80ec (commit)
via 185df0cb382cbf344326d2ebfe28029c2ed1d743 (commit)
from 28b15243639da0bce2f761aa195f80dccf0229a9 (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 67d038ba3882c182f2b9cec8a1cf6518843c80ec
Author: Sandro Santilli <strk at kbt.io>
Date: Thu Jul 13 08:02:07 2023 +0200
[woodie] Add localized check-cheatsheets steps
diff --git a/.woodpecker/docs-localized.yml.in b/.woodpecker/docs-localized.yml.in
index 4ab19dbcd..2f3665785 100644
--- a/.woodpecker/docs-localized.yml.in
+++ b/.woodpecker/docs-localized.yml.in
@@ -2,10 +2,11 @@
image: *test_image
commands:
- make -C build-docs/doc/po/@LANG@ local- at TARGET@
- group: localized- at TARGET@
+ group: @GROUP@
when:
path:
include:
# Localized assets
- "doc/po/@LANG@/Makefile.in"
- "doc/po/@LANG@/*.po"
+ - "utils/check_localized_cheatsheets.sh"
diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml
index a5524a7c5..550e81b0d 100644
--- a/.woodpecker/docs.yml
+++ b/.woodpecker/docs.yml
@@ -12,6 +12,7 @@ variables:
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pipeline:
prepare:
@@ -73,186 +74,215 @@ pipeline:
path: *when_path
# DO NOT EDIT PAST THIS LINE, use update-docs-localized.sh to update #
- check-it_IT:
+### TARGET check-xml
+ check-xml-it_IT:
image: *test_image
commands:
- - make -C build-docs/doc/po/it_IT local-check
- group: localized-check
+ - make -C build-docs/doc/po/it_IT local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/it_IT/Makefile.in"
- "doc/po/it_IT/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-pt_BR:
+ # END OF COMMON PATHS
+ check-xml-pt_BR:
image: *test_image
commands:
- - make -C build-docs/doc/po/pt_BR local-check
- group: localized-check
+ - make -C build-docs/doc/po/pt_BR local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/pt_BR/Makefile.in"
- "doc/po/pt_BR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-fr:
+ # END OF COMMON PATHS
+ check-xml-fr:
image: *test_image
commands:
- - make -C build-docs/doc/po/fr local-check
- group: localized-check
+ - make -C build-docs/doc/po/fr local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/fr/Makefile.in"
- "doc/po/fr/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-es:
+ # END OF COMMON PATHS
+ check-xml-es:
image: *test_image
commands:
- - make -C build-docs/doc/po/es local-check
- group: localized-check
+ - make -C build-docs/doc/po/es local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/es/Makefile.in"
- "doc/po/es/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-pl:
+ # END OF COMMON PATHS
+ check-xml-pl:
image: *test_image
commands:
- - make -C build-docs/doc/po/pl local-check
- group: localized-check
+ - make -C build-docs/doc/po/pl local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/pl/Makefile.in"
- "doc/po/pl/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-ko_KR:
+ # END OF COMMON PATHS
+ check-xml-ko_KR:
image: *test_image
commands:
- - make -C build-docs/doc/po/ko_KR local-check
- group: localized-check
+ - make -C build-docs/doc/po/ko_KR local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/ko_KR/Makefile.in"
- "doc/po/ko_KR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-de:
+ # END OF COMMON PATHS
+ check-xml-de:
image: *test_image
commands:
- - make -C build-docs/doc/po/de local-check
- group: localized-check
+ - make -C build-docs/doc/po/de local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/de/Makefile.in"
- "doc/po/de/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-ja:
+ # END OF COMMON PATHS
+ check-xml-ja:
image: *test_image
commands:
- - make -C build-docs/doc/po/ja local-check
- group: localized-check
+ - make -C build-docs/doc/po/ja local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/ja/Makefile.in"
- "doc/po/ja/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
- check-ru:
+ # END OF COMMON PATHS
+ check-xml-ru:
image: *test_image
commands:
- - make -C build-docs/doc/po/ru local-check
- group: localized-check
+ - make -C build-docs/doc/po/ru local-check-xml
+ group: localized-check-xml
when:
path:
include:
# Localized assets
- "doc/po/ru/Makefile.in"
- "doc/po/ru/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+### TARGET html
html-it_IT:
image: *test_image
commands:
@@ -264,15 +294,18 @@ pipeline:
# Localized assets
- "doc/po/it_IT/Makefile.in"
- "doc/po/it_IT/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-pt_BR:
image: *test_image
commands:
@@ -284,15 +317,18 @@ pipeline:
# Localized assets
- "doc/po/pt_BR/Makefile.in"
- "doc/po/pt_BR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-fr:
image: *test_image
commands:
@@ -304,15 +340,18 @@ pipeline:
# Localized assets
- "doc/po/fr/Makefile.in"
- "doc/po/fr/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-es:
image: *test_image
commands:
@@ -324,15 +363,18 @@ pipeline:
# Localized assets
- "doc/po/es/Makefile.in"
- "doc/po/es/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-pl:
image: *test_image
commands:
@@ -344,15 +386,18 @@ pipeline:
# Localized assets
- "doc/po/pl/Makefile.in"
- "doc/po/pl/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-ko_KR:
image: *test_image
commands:
@@ -364,15 +409,18 @@ pipeline:
# Localized assets
- "doc/po/ko_KR/Makefile.in"
- "doc/po/ko_KR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-de:
image: *test_image
commands:
@@ -384,15 +432,18 @@ pipeline:
# Localized assets
- "doc/po/de/Makefile.in"
- "doc/po/de/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-ja:
image: *test_image
commands:
@@ -404,15 +455,18 @@ pipeline:
# Localized assets
- "doc/po/ja/Makefile.in"
- "doc/po/ja/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
html-ru:
image: *test_image
commands:
@@ -424,15 +478,19 @@ pipeline:
# Localized assets
- "doc/po/ru/Makefile.in"
- "doc/po/ru/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+### TARGET cheatsheets
cheatsheets-it_IT:
image: *test_image
commands:
@@ -444,15 +502,18 @@ pipeline:
# Localized assets
- "doc/po/it_IT/Makefile.in"
- "doc/po/it_IT/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-pt_BR:
image: *test_image
commands:
@@ -464,15 +525,18 @@ pipeline:
# Localized assets
- "doc/po/pt_BR/Makefile.in"
- "doc/po/pt_BR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-fr:
image: *test_image
commands:
@@ -484,15 +548,18 @@ pipeline:
# Localized assets
- "doc/po/fr/Makefile.in"
- "doc/po/fr/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-es:
image: *test_image
commands:
@@ -504,15 +571,18 @@ pipeline:
# Localized assets
- "doc/po/es/Makefile.in"
- "doc/po/es/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-pl:
image: *test_image
commands:
@@ -524,15 +594,18 @@ pipeline:
# Localized assets
- "doc/po/pl/Makefile.in"
- "doc/po/pl/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-ko_KR:
image: *test_image
commands:
@@ -544,15 +617,18 @@ pipeline:
# Localized assets
- "doc/po/ko_KR/Makefile.in"
- "doc/po/ko_KR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-de:
image: *test_image
commands:
@@ -564,15 +640,18 @@ pipeline:
# Localized assets
- "doc/po/de/Makefile.in"
- "doc/po/de/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-ja:
image: *test_image
commands:
@@ -584,15 +663,18 @@ pipeline:
# Localized assets
- "doc/po/ja/Makefile.in"
- "doc/po/ja/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
cheatsheets-ru:
image: *test_image
commands:
@@ -604,15 +686,227 @@ pipeline:
# Localized assets
- "doc/po/ru/Makefile.in"
- "doc/po/ru/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+### TARGET check-cheatsheets
+ check-cheatsheets-it_IT:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/it_IT local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/it_IT/Makefile.in"
+ - "doc/po/it_IT/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-pt_BR:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/pt_BR local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/pt_BR/Makefile.in"
+ - "doc/po/pt_BR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-fr:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/fr local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/fr/Makefile.in"
+ - "doc/po/fr/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-es:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/es local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/es/Makefile.in"
+ - "doc/po/es/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-pl:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/pl local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/pl/Makefile.in"
+ - "doc/po/pl/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-ko_KR:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/ko_KR local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/ko_KR/Makefile.in"
+ - "doc/po/ko_KR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-de:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/de local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/de/Makefile.in"
+ - "doc/po/de/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-ja:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/ja local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/ja/Makefile.in"
+ - "doc/po/ja/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+ check-cheatsheets-ru:
+ image: *test_image
+ commands:
+ - make -C build-docs/doc/po/ru local-check-cheatsheets
+ group: localized-check-cheatsheets
+ when:
+ path:
+ include:
+ # Localized assets
+ - "doc/po/ru/Makefile.in"
+ - "doc/po/ru/*.po"
+ - "utils/check_localized_cheatsheets.sh"
+ # Common docs path
+ # related config files
+ - ".woodpecker/docs.yml"
+ # Makefiles
+ - "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
+ # XML sources
+ - "doc/*.xml"
+ # Internationalization Makefiles
+ - "doc/po/Makefile.local"
+ # END OF COMMON PATHS
+### TARGET pdf
pdf-it_IT:
image: *test_image
commands:
@@ -624,15 +918,18 @@ pipeline:
# Localized assets
- "doc/po/it_IT/Makefile.in"
- "doc/po/it_IT/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-pt_BR:
image: *test_image
commands:
@@ -644,15 +941,18 @@ pipeline:
# Localized assets
- "doc/po/pt_BR/Makefile.in"
- "doc/po/pt_BR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-fr:
image: *test_image
commands:
@@ -664,15 +964,18 @@ pipeline:
# Localized assets
- "doc/po/fr/Makefile.in"
- "doc/po/fr/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-es:
image: *test_image
commands:
@@ -684,15 +987,18 @@ pipeline:
# Localized assets
- "doc/po/es/Makefile.in"
- "doc/po/es/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-pl:
image: *test_image
commands:
@@ -704,15 +1010,18 @@ pipeline:
# Localized assets
- "doc/po/pl/Makefile.in"
- "doc/po/pl/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-ko_KR:
image: *test_image
commands:
@@ -724,15 +1033,18 @@ pipeline:
# Localized assets
- "doc/po/ko_KR/Makefile.in"
- "doc/po/ko_KR/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-de:
image: *test_image
commands:
@@ -744,15 +1056,18 @@ pipeline:
# Localized assets
- "doc/po/de/Makefile.in"
- "doc/po/de/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-ja:
image: *test_image
commands:
@@ -764,15 +1079,18 @@ pipeline:
# Localized assets
- "doc/po/ja/Makefile.in"
- "doc/po/ja/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
pdf-ru:
image: *test_image
commands:
@@ -784,12 +1102,15 @@ pipeline:
# Localized assets
- "doc/po/ru/Makefile.in"
- "doc/po/ru/*.po"
+ - "utils/check_localized_cheatsheets.sh"
# Common docs path
# related config files
- ".woodpecker/docs.yml"
# Makefiles
- "doc/Makefile.in"
+ - "doc/html/images/Makefile.in"
# XML sources
- "doc/*.xml"
# Internationalization Makefiles
- "doc/po/Makefile.local"
+ # END OF COMMON PATHS
diff --git a/.woodpecker/update-docs-localized.sh b/.woodpecker/update-docs-localized.sh
index 973790bf9..ad9d2a172 100755
--- a/.woodpecker/update-docs-localized.sh
+++ b/.woodpecker/update-docs-localized.sh
@@ -4,18 +4,22 @@ cd $(dirname $0)
SUPPORTED_LANGUAGES=$(grep ^translations ../doc/Makefile.in | cut -d= -f2)
-TARGETS="check html cheatsheets pdf"
+TARGETS="check-xml html cheatsheets check-cheatsheets pdf"
cat docs.yml | sed '/DO NOT EDIT/q' > docs.yml.new
-cat docs.yml.new | sed -n '/# Common docs path/,/^$/p' | grep -v '^$' | sed 's/^/ /' > docs.yml.common_paths
+cat docs.yml.new |
+ sed '/# Common docs path/,/# END OF COMMON/!d;/# END OF COMMON/q' |
+ sed 's/^/ /' > docs.yml.common_paths
exec >> docs.yml.new
for target in ${TARGETS}
do
+ echo "### TARGET ${target}"
for lang in ${SUPPORTED_LANGUAGES};
do
- sed "s/@LANG@/${lang}/;s/@TARGET@/${target}/" docs-localized.yml.in
+ group=localized-${target}
+ sed "s/@LANG@/${lang}/;s/@TARGET@/${target}/;s/@GROUP@/${group}/" docs-localized.yml.in
# Add common docs paths
cat docs.yml.common_paths
done
commit 185df0cb382cbf344326d2ebfe28029c2ed1d743
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Jul 12 17:41:01 2023 +0200
Add -v switch, fix typo
diff --git a/utils/check_localized_cheatsheets.sh b/utils/check_localized_cheatsheets.sh
index 2a99aa3f0..fcebbdb11 100755
--- a/utils/check_localized_cheatsheets.sh
+++ b/utils/check_localized_cheatsheets.sh
@@ -1,7 +1,13 @@
#!/bin/sh
+VERBOSE=0
+if [ "$1" = "-v" ]; then
+ VERBOSE=1
+ shift
+fi
+
test -n "$3" || {
- echo "Usage: $0 <source_file> <source_lang> [<target_lang>, ...]" >&2
+ echo "Usage: $0 [-v] <source_file> <source_lang> <target_lang> [<target_lang> ...]" >&2
exit 1
};
@@ -19,7 +25,7 @@ test -e "${SOURCE_FILE}" || {
# Read sup tags from source language cheatsheet
for tag in $(xmllint --html --xpath '/html/body/span/sup/text()' "${SOURCE_FILE}"); do
count=$(grep -c "<sup> *$tag *</sup>" "${SOURCE_FILE}")
- echo "Occurrences of tag $tag in source file: $count"
+ [ "$VERBOSE" = 1 ] && echo "Occurrences of tag $tag in source file: $count"
for lang in ${TARGET_LANGS}; do
TR_FILE=$(echo "${SOURCE_FILE}" | sed "s/-${SOURCE_LANG}/-${lang}/");
test -e "${TR_FILE}" || {
@@ -27,9 +33,9 @@ for tag in $(xmllint --html --xpath '/html/body/span/sup/text()' "${SOURCE_FILE}
exit 1
}
count_lang=$(grep -c "<sup> *$tag *</sup>" "${TR_FILE}")
- echo "Occurrences of tag $tag in $lang file: $count_lang"
+ [ "$VERBOSE" = 1 ] && echo "Occurrences of tag $tag in $lang file: $count_lang"
if [ $count_lang != $count ]; then
- echo "Tag tag $tag occurs $count times in ${SOURCE_FILE} and $count_lang times in ${TR_FILE}" >&2
+ echo "Tag $tag occurs $count times in ${SOURCE_FILE} and $count_lang times in ${TR_FILE}" >&2
exit 1
fi
done
-----------------------------------------------------------------------
Summary of changes:
.woodpecker/docs-localized.yml.in | 3 +-
.woodpecker/docs.yml | 375 ++++++++++++++++++++++++++++++++---
.woodpecker/update-docs-localized.sh | 10 +-
utils/check_localized_cheatsheets.sh | 14 +-
4 files changed, 367 insertions(+), 35 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list