[SCM] postgis.net branch website updated. clarity-final-252-g365dff4
git at osgeo.org
git at osgeo.org
Sat Aug 15 10:00:42 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.net".
The branch, website has been updated
via 365dff45fb6f003f30ec1c7e3ffdf127ec073de4 (commit)
via f4fdaac7da0705ab97dd78e1cd3f4c047a0a542a (commit)
from 9880272a4d458061571cf615fac69e512fc14e3e (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 365dff45fb6f003f30ec1c7e3ffdf127ec073de4
Merge: 9880272 f4fdaac
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Sat Aug 15 10:00:42 2026 -0700
Merge pull request 'Fix release checksum source links' (!32) from Komzpa/postgis.net:fix/release-md5-source-links-20260812 into website
Reviewed-on: https://gitea.osgeo.org/postgis/postgis.net/pulls/32
commit f4fdaac7da0705ab97dd78e1cd3f4c047a0a542a
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Wed Aug 12 13:54:07 2026 +0400
fix: match release checksum sources
diff --git a/layouts/shortcodes/sourcelinks.html b/layouts/shortcodes/sourcelinks.html
index 4f029c2..5befcb4 100644
--- a/layouts/shortcodes/sourcelinks.html
+++ b/layouts/shortcodes/sourcelinks.html
@@ -11,7 +11,11 @@
{{ $key := .tag }}
<li>
<a href="{{ $.Site.Params.postgis.release_source }}/postgis-{{ $key }}.tar.gz"><b>postgis-{{ $key }}.tar.gz {{ if .eol}} EOL{{ end }}</b></a> [
-<a href="{{$.Site.Params.postgis.dev_download}}/postgis-{{ $key }}.tar.gz.md5">md5</a>
+{{ if .eol }}
+<a href="{{ $.Site.Params.postgis.dev_download }}/postgis-{{ $key }}.tar.gz.md5">md5</a>
+{{ else }}
+<a href="{{ $.Site.Params.postgis.release_source }}/postgis-{{ $key }}.tar.gz.md5">md5</a>
+{{ end }}
<!-- | <a href="{{ $.Site.Params.postgis.release_docs }}/postgis-{{ $key}}.pdf">pdf</a> -->
<!-- | <a href="{{$.Site.Params.postgis.release_docs}}/doc-html-{{ $key }}.tar.gz">html</a> -->
| <a href="{{ $.Site.Params.postgis.release_notes }}/{{ $key }}/NEWS">Release Notes</a>
@@ -21,4 +25,4 @@
{{end}}
{{ end }}
-</ul>
\ No newline at end of file
+</ul>
diff --git a/utils/check_releases_md5.sh b/utils/check_releases_md5.sh
index 90c67b8..1674ce1 100755
--- a/utils/check_releases_md5.sh
+++ b/utils/check_releases_md5.sh
@@ -3,27 +3,32 @@
WORKDIR=$PWD/releases-check
API=https://git.osgeo.org/gitea/api/v1
DOWNLOAD_BASE=https://download.osgeo.org/postgis/source
-MD5_BASE=https://postgis.net/stuff
+DEV_DOWNLOAD_BASE=https://postgis.net/stuff
CONFIG=$(cd $(dirname $0)/../; pwd)/config.toml
mkdir -p ${WORKDIR}
cd ${WORKDIR}
echo "Fetching list of published releases"
-tomlq -r '.params.postgis.releases[] | select( .is_dev != true ) | .tag' \
+tomlq -r '.params.postgis.releases[] | select( .is_dev != true ) | [.tag, (.eol // false)] | @tsv' \
${CONFIG} > checked_releases.txt
-while read REL; do
+while read REL EOL; do
relname=postgis-${REL}.tar.gz
md5name=${relname}.md5
+ md5base=${DOWNLOAD_BASE}
+
+ if [ "${EOL}" = "true" ]; then
+ md5base=${DEV_DOWNLOAD_BASE}
+ fi
echo -n "Checking ${relname} ... "
curl -s ${DOWNLOAD_BASE}/${relname} -o ${relname} || {
echo "unable to download ${relname} from ${DOWNLOAD_BASE}"
exit 1
}
- curl -s ${MD5_BASE}/${md5name} -o ${md5name} || {
- echo "unable to download ${md5name} from ${MD5_BASE}"
+ curl -s ${md5base}/${md5name} -o ${md5name} || {
+ echo "unable to download ${md5name} from ${md5base}"
exit 1
}
md5sum ${relname} | diff - ${md5name} > /dev/null 2>&1 || {
-----------------------------------------------------------------------
Summary of changes:
layouts/shortcodes/sourcelinks.html | 8 ++++++--
utils/check_releases_md5.sh | 15 ++++++++++-----
2 files changed, 16 insertions(+), 7 deletions(-)
hooks/post-receive
--
postgis.net
More information about the postgis-tickets
mailing list