[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0beta1-82-g8b9b9630d

git at osgeo.org git at osgeo.org
Fri Jul 28 12:36:29 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  8b9b9630dfc03db3733a203fb33304f9429b0be7 (commit)
      from  fab44d035a2445ffbd916536ba2ee884cd336ffd (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 8b9b9630dfc03db3733a203fb33304f9429b0be7
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Jul 28 21:35:42 2023 +0200

    Review release procedure, especially in case of Debbie's failure

diff --git a/HOWTO_RELEASE b/HOWTO_RELEASE
index db3ef753a..d1fa0333d 100644
--- a/HOWTO_RELEASE
+++ b/HOWTO_RELEASE
@@ -94,8 +94,8 @@ Release procedure
     and ensure all the previous released minor versions are listed in it
   - Commit all changes
   - If this is a minor or major release (no branch exists):
-	   $ rev=x.x
-	   $ git checkout master; git checkout -b "stable-$rev"; git push -u osgeo stable-$rev
+	   $ rel=x.x # replace x.x with minor version (e.g. 2.3)
+	   $ git checkout master; git checkout -b "stable-$rel"; git push -u osgeo stable-$rev
 
 	   Go to: https://debbie.postgis.net and copy last branch version and make new job
 	   a) Replace PostGIS_* string params with new version
@@ -108,24 +108,53 @@ Release procedure
 
   - Check that bots are still green on https://trac.osgeo.org/postgis
 
-  - Tag branch:  (replace x.x and x.x.x with minor and micro version e.g 2.3, 2.3.1)
-     $ rev=x.x.x
+  - Tag branch:
+     $ rev=x.x.x # replace x.x.x with micro version (e.g 2.3.1)
      $ git tag -a $rev -m "Tagged release $rev"
+
+  - Push the tag:
      $ git push osgeo --tags
 
-  - Take tar ball and md5 from http://postgis.net/stuff/
-     (You might need to wait a few minutes to see it)
-     If impatient check status of job - https://debbie.postgis.net/job/PostGIS_Make_Dist/
-     If it fails, sh make_dist.sh $rev)
-  - Documentation should also have been built and should be in https://postgis.net/stuff
-     (this sometimes takes sometime so wait 15 minutes)
-  - Test generated tarball (including extension upgrade)
-  - Copy tarball and md5 files to ssh://upload.osgeo.org/osgeo/download/postgis/source
-    $ scp postgis-${rev}.tar.gz postgis-${rev}.tar.gz.md5 upload.osgeo.org:/osgeo/download/postgis/source
+  - Check if debbie's PostGIS_Make_Dist job completes successfully:
+    https://debbie.postgis.net/job/PostGIS_Make_Dist/
+
+  - If debbie job succeeds:
+
+    - Download tar ball from http://postgis.net/stuff/
+      $ wget debbie.postgis.net:/var/www/postgis_stuff/postgis-${rev}.tar.gz .
+
+    - Test generated tarball (including extension upgrade)
+
+    - Verify documentation have been published to https://postgis.net/stuff
+      (this sometimes takes sometime so wait 15 minutes)
+
+    - Download pdf, epub and doc-html files from http://postgis.net/stuff/
+      $ wget postgis.net/stuff/doc-html-${rev}.tar.gz
+      $ wget postgis.net/stuff/postgis-${rev}.{pdf,epub}
+
+  - If debbie job fails:
+
+    - Create the tarball locally:
+      $ sh make_dist.sh $rev
+
+    - Upload md5 file to https://postgis.net/stuff:
+      $ md5sum postgis-${rev}.tar.gz > postgis-${rev}.tar.gz.md5
+      $ scp postgis-${rev}.tar.gz.md5 debbie.postgis.net:/var/www/postgis_stuff
+
+    - Create the pdf and epub files:
+      $ make -C doc/ pdf epub
+
+    - Create the doc-html-${rev}.tar.gz file
+      ( check how ci/debbie/postgis_make_dist.sh does it )
+
+  - Copy tarball to ssh://upload.osgeo.org/osgeo/download/postgis/source
+    $ scp postgis-${rev}.tar.gz upload.osgeo.org:/osgeo/download/postgis/source
+
   - Copy pdf, epub and doc-html files to ssh://upload.osgeo.org/osgeo/download/postgis/docs
-    $ scp doc-html-${rev}.tar.gz postgis-${rev}.epub postgis-${rev}.pdf upload.osgeo.org:/osgeo/download/postgis/docs/
-  - Ensure md5 file is ALSO in https://postgis.net/stuff, if needed:
-    $ scp postgis-${rev}.tar.gz.md5 debbie.postgis.net:/var/www/postgis_stuff
+    $ scp doc-html-${rev}.tar.gz \
+          postgis-${rev}.epub \
+          postgis-${rev}.pdf \
+      upload.osgeo.org:/osgeo/download/postgis/docs/
 
   - PostGIS doc release versioned doc - http://postgis.net/documentation/
     - On postgis.net server, change /etc/nginx/sites-enabled/postgis.net (Versionless URL line )

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

Summary of changes:
 HOWTO_RELEASE | 61 +++++++++++++++++++++++++++++++++++++++++++----------------
 1 file changed, 45 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list