Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cronjobs: new filename scheme and G84 added #896

Merged
merged 4 commits into from
May 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 29 additions & 15 deletions utils/cronjobs_osgeo_lxd/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Cronjobs OSGeo LXD

## Version overview

| **label** | **meaning** |
| ----------- | --------------------------------------------------------------- |
| legacy | legacy stable version, no longer recommended for use |
| old current | current stable version, widely used |
| new current | upcoming stable version, for early adopters |
| preview | development version, for developers and new feature enthusiasts |

The name of the cronjob files reflects the GRASS GIS version being compiled/packaged.
The actual version numbers are only coded in the scripts themselves.

## What's this?

This directory contains the relevant files to generate and deploy the GRASS GIS
Expand All @@ -15,29 +27,31 @@ programmer's manual.
* generate and deploy the GRASS GIS Web pages at <https://grass.osgeo.org/>:
* `hugo_clean_and_update_job.sh`
* GRASS GIS source code weekly snapshots:
* grass7-stable: `cron_grass7_relbranch_src_snapshot.sh`
* grass8-stable: `cron_grass8_relbranch_src_snapshot.sh`
* grass8-devel: `cron_grass8_main_src_snapshot.sh`
* `cron_grass_legacy_src_snapshot.sh`
* `cron_grass_old_current_src_snapshot.sh`
* `cron_grass_new_current_src_snapshot.sh`
* `cron_grass_preview_src_snapshot.sh`
* GRASS GIS Linux binary weekly snapshots:
* grass7-stable: `cron_grass7_relbranch_build_binaries.sh`
* grass8-stable: `cron_grass8_relbranch_build_binaries.sh`
* `cron_grass_legacy_build_binaries.sh`
* `cron_grass_old_current_build_binaries.sh`
* `cron_grass_new_current_build_binaries.sh`
* `cron_grass_preview_build_binaries.sh`
* GRASS GIS addons manual pages:
* grass7-stable: within `cron_grass7_relbranch_build_binaries.sh`
* grass8-stable: within `cron_grass8_relbranch_build_binaries.sh`
* addon manual pages are generated within above Linux binary weekly snapshots
* GRASS GIS 7 addons overview page at <https://grass.osgeo.org/grass7/manuals/addons/>:
* `compile_addons_git.sh` - called from `cron_grass7_relbranch_build_binaries.sh`
* `build-xml.py` - called from `cron_grass7_relbranch_build_binaries.sh`,
* `compile_addons_git.sh` - called from `cron_grass_legacy_build_binaries.sh`
* `build-xml.py` - called from `cron_grass_legacy_build_binaries.sh`,
generates the modules.xml file required for the g.extension module
* `grass-addons-index.sh` - called from `cron_grass7_relbranch_build_binaries.sh`
* `grass-addons-index.sh` - called from `cron_grass_legacy_build_binaries.sh`
* `get_page_description.py` - called from `grass-addons-index.sh`
* GRASS GIS 8 addons overview page at <https://grass.osgeo.org/grass8/manuals/addons/>:
* `compile_addons_git.sh` - called from `cron_grass8_relbranch_build_binaries.sh`
* `build-xml.py` - called from `cron_grass8_relbranch_build_binaries.sh`
* `compile_addons_git.sh` - called from `cron_grass_XXX_build_binaries.sh`
* `build-xml.py` - called from `cron_grass_XXX_build_binaries.sh`
generates the modules.xml file required for the g.extension module
* `grass-addons-index.sh` - called from `cron_grass8_relbranch_build_binaries.sh`
* `grass-addons-index.sh` - called from `cron_grass_XXX_build_binaries.sh`
* `get_page_description.py` - called from `grass-addons-index.sh`
* GRASS GIS programmer's manual:
* within `cron_grass8_relbranch_build_binaries.sh`
* within `cron_grass_XXX_build_binaries.sh`
* compilation addons:
* `compile_addons_git.sh` it's called with `$5` arg, addon is
installed into own individual directory, with **bin/ docs/ etc/ scripts/**
Expand Down Expand Up @@ -74,7 +88,7 @@ Important: there are two web related directories on the server:
## Infrastructure

The server is hosted as LXD container on `osgeo7`, see:
<https://wiki.osgeo.org/wiki/SAC_Service_Status#GRASS_GIS_server>
<https://wiki.osgeo.org/wiki/SAC_Service_Status#grass>

The container is only accessible via the related OSGeo ssh jumphost and
registered ssh pubkey.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/sh

# script to build GRASS 7.x binaries + addons from the `releasebranch_7_x` binaries
# script to build GRASS GIS legacy binaries + addons from the `releasebranch_7_8` branch
# (c) GPL 2+ Markus Neteler <neteler@osgeo.org>
# 2008, 2014, 2015, 2016, 2017, 2018, 2019, 2021, 2022
# 2008-2023
#
# GRASS GIS github, https://github.com/OSGeo/grass
#
## prep, on neteler@grasslxd:$
# mkdir -p ~/src
# cd ~/src
# # G76 G78
# # G76 G78 -> G76 unused
# for i in 6 8 ; do git clone https://github.com/OSGeo/grass.git releasebranch_7_$i ; done
# for i in 6 8 ; do (cd releasebranch_7_$i ; git checkout releasebranch_7_$i ) ; done
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

# script to build GRASS sources package from git relbranch of 7.8
# script to build GRASS GIS legacy source package from the `releasebranch_7_8` branch
# (c) GPL 2+ Markus Neteler <neteler@osgeo.org>
# Markus Neteler 2002, 2003, 2005, 2006, 2007, 2008, 2012, 2014, 2015, 2016, 2017, 2018, 2019, 2020
# Markus Neteler 2002-2023
#
# GRASS GIS github, https://github.com/OSGeo/grass
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

# script to build GRASS 8.dev binaries + addons from the `main`
# script to build GRASS GIS new current binaries + addons from the `main`
# (c) GPL 2+ Markus Neteler <neteler@osgeo.org>
# 2022
# 2022-2023
#
# GRASS GIS github, https://github.com/OSGeo/grass
#
Expand Down Expand Up @@ -37,7 +37,7 @@ PATH=/home/neteler/binaries/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin

GMAJOR=8
GMINOR=3
GPATCH="dev"
GPATCH="0dev" # required by grass-addons-index.sh
DOTVERSION=$GMAJOR.$GMINOR
VERSION=$GMAJOR$GMINOR
GVERSION=$GMAJOR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

# script to build GRASS 8.x sources package from the main branch
# script to build GRASS GIS new current sources package from the main branch
# (c) GPL 2+ Markus Neteler <neteler@osgeo.org>
# Markus Neteler 2002, 2003, 2005, 2006, 2007, 2008, 2012, 2015, 2018-2022
# Markus Neteler 2002-2022
#
# GRASS GIS github, https://github.com/OSGeo/grass
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# script to build GRASS 8.x binaries + addons from the `releasebranch_8_2` binaries
# script to build GRASS GIS old current binaries + addons from the `releasebranch_8_2` binaries
# (c) GPL 2+ Markus Neteler <neteler@osgeo.org>
# 2014-2023
#
Expand Down Expand Up @@ -37,7 +37,7 @@ PATH=/home/neteler/binaries/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin

GMAJOR=8
GMINOR=2
GPATCH=1
GPATCH=1 # required by grass-addons-index.sh
DOTVERSION=$GMAJOR.$GMINOR
VERSION=$GMAJOR$GMINOR
GVERSION=$GMAJOR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/sh

# script to build GRASS 8.x sources package from the release branch
# script to build GRASS GIS old current source package from the release branch
# (c) GPL 2+ Markus Neteler <neteler@osgeo.org>
# Markus Neteler 2002, 2003, 2005, 2006, 2007, 2008, 2012, 2015, 2018-2022
# Markus Neteler 2002-2023
#
# GRASS GIS github, https://github.com/OSGeo/grass
#
## prep
# git clone https://github.com/OSGeo/grass.git release_branch_8_0
# git clone https://github.com/OSGeo/grass.git release_branch_8_2
#
###################################################################

Expand Down
Loading