[postgis-tickets] [SCM] PostGIS; Spatial objects for PostgreSQL. branch master updated. e3429440e1553b4d28029d575500881d5bac9a6f

git at osgeo.org git at osgeo.org
Wed Nov 6 14:50:12 PST 2019


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; Spatial objects for PostgreSQL.".

The branch, master has been updated
       via  e3429440e1553b4d28029d575500881d5bac9a6f (commit)
      from  f95dfc7b4a37cfa82872d5213f14fa1f77bf356a (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 e3429440e1553b4d28029d575500881d5bac9a6f
Author: Regina Obe <lr at pcorp.us>
Date:   Wed Nov 6 17:50:07 2019 -0500

    Don't test newer unpackaged than version we installed.  Closes #4571 for PostGIS 3.1 trunk

diff --git a/utils/check_all_upgrades.sh b/utils/check_all_upgrades.sh
index aea310e..80b9231 100755
--- a/utils/check_all_upgrades.sh
+++ b/utils/check_all_upgrades.sh
@@ -117,6 +117,12 @@ for EXT in ${INSTALLED_EXTENSIONS}; do
   # Check unpackaged->extension upgrades
   for majmin in `'ls' -d ${CTBDIR}/postgis-* | sed 's/.*postgis-//'`; do
     UPGRADE_PATH="unpackaged${majmin}--${to_version_param}"
+    # only consider versions older than ${to_version_param}
+    cmp=`semver_compare "${majmin}" "${to_version_param}"`
+    if test $cmp -ge 0; then
+      echo "SKIP: upgrade $UPGRADE_PATH ($to_version_param is not newer than $majmin)"
+      continue
+    fi
     echo "Testing ${EXT} upgrade $UPGRADE_PATH"
     export RUNTESTFLAGS="-v --extension --upgrade-path=${UPGRADE_PATH}"
     make -C ${REGDIR} check && {

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

Summary of changes:
 utils/check_all_upgrades.sh | 6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
PostGIS; Spatial objects for PostgreSQL.


More information about the postgis-tickets mailing list