Skip to content

Commit

Permalink
make cronjob files versionless; update cron_job_list_grass; update RE…
Browse files Browse the repository at this point in the history
…ADME.md
  • Loading branch information
neteler committed May 23, 2023
1 parent 3f367d7 commit 15f4a5d
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 33 deletions.
47 changes: 23 additions & 24 deletions utils/cronjobs_osgeo_lxd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@

## Version overview

| **label** | **version number** |
| ----------- | ------------------ |
| legacy | 7.8 |
| old current | 8.2 |
| new current | 8.3 |
| preview | 8.4 |
| **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 |

Last update: 17 May 2023

The name of the files reflects the GRASS GIS version being compiled/packaged.
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?

Expand All @@ -28,31 +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 (legacy): `cron_grass7_legacy_src_snapshot.sh`
* grass8-old-current (current stable): `cron_grass8_old_current_src_snapshot.sh`
* grass8-new-current (new stable): `cron_grass8_new_current_src_snapshot.sh`
* grass8-preview (development): `cron_grass8_preview_src_snapshot.sh`
* grass-legacy (legacy): `cron_grass_legacy_src_snapshot.sh`
* grass-old-current (current stable): `cron_grass_old_current_src_snapshot.sh`
* grass-new-current (upcoming stable): `cron_grass_new_current_src_snapshot.sh`
* grass-preview (development): `cron_grass_preview_src_snapshot.sh`
* GRASS GIS Linux binary weekly snapshots:
* grass7-stable (legacy): `cron_grass7_legacy_build_binaries.sh`
* grass8-old-current (current stable): `cron_grass8_old_current_build_binaries.sh`
* grass8-new-current (new stable): `cron_grass8_new_current_build_binaries.sh`
* grass8-preview (development): `cron_grass8_preview_build_binaries.sh`
* grass-legacy (legacy): `cron_grass_legacy_build_binaries.sh`
* grass-old-current (current stable): `cron_grass_old_current_build_binaries.sh`
* grass-new-current (upcoming stable): `cron_grass_new_current_build_binaries.sh`
* grass-preview (development): `cron_grass_preview_build_binaries.sh`
* GRASS GIS addons manual pages:
* 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_legacy_build_binaries.sh`
* `build-xml.py` - called from `cron_grass7_legacy_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_legacy_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_XXX_build_binaries.sh`
* `build-xml.py` - called from `cron_grass8_XXX_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_XXX_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_XXX_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
26 changes: 17 additions & 9 deletions utils/cronjobs_osgeo_lxd/cron_job_list_grass
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,25 @@
30 */12 * * * nice sh /home/neteler/cronjobs/hugo_clean_and_update_job.sh

# weekly source snapshots (target dir: /var/www/code_and_data/)
30 02 * * 6 nice sh /home/neteler/cronjobs/cron_grass8_main_src_snapshot.sh
40 02 * * 6 nice sh /home/neteler/cronjobs/cron_grass8_relbranch_src_snapshot.sh
50 02 * * 6 nice sh /home/neteler/cronjobs/cron_grass7_relbranch_src_snapshot.sh
# legacy
20 02 * * 6 nice sh /home/neteler/cronjobs/cron_grass_legacy_src_snapshot.sh
# old stable
30 02 * * 6 nice sh /home/neteler/cronjobs/cron_grass_old_current_src_snapshot.sh
# new stable
40 02 * * 6 nice sh /home/neteler/cronjobs/cron_grass_new_current_src_snapshot.sh
# preview
50 02 * * 6 nice sh /home/neteler/cronjobs/cron_grass_preview_src_snapshot.sh


# daily Linux binary snapshots, also creates main manuals, addon manuals, and prog-manual (target dir: /var/www/code_and_data/)
# old stable: G78
00 05 * * * nice sh /home/neteler/cronjobs/cron_grass7_relbranch_build_binaries.sh > /var/www/code_and_data/grass78/binary/linux/snapshot/build.log.txt 2>&1
# stable: G82
35 05 * * * nice sh /home/neteler/cronjobs/cron_grass8_relbranch_build_binaries.sh > /var/www/code_and_data/grass82/binary/linux/snapshot/build.log.txt 2>&1
# dev: G83
10 06 * * * nice sh /home/neteler/cronjobs/cron_grass8_main_build_binaries.sh > /var/www/code_and_data/grass83/binary/linux/snapshot/build.log.txt 2>&1
# legacy
00 05 * * * nice sh /home/neteler/cronjobs/cron_grass_legacy_build_binaries.sh > /var/www/code_and_data/grass78/binary/linux/snapshot/build.log.txt 2>&1
# old stable
35 05 * * * nice sh /home/neteler/cronjobs/cron_grass_old_current_build_binaries.sh > /var/www/code_and_data/grass82/binary/linux/snapshot/build.log.txt 2>&1
# new stable
10 06 * * * nice sh /home/neteler/cronjobs/cron_grass_new_current_build_binaries.sh > /var/www/code_and_data/grass83/binary/linux/snapshot/build.log.txt 2>&1
# preview
45 06 * * * nice sh /home/neteler/cronjobs/cron_grass_preview_build_binaries.sh > /var/www/code_and_data/grass84/binary/linux/snapshot/build.log.txt 2>&1


# generate osgeo_mailman_stats/ + email
Expand Down

0 comments on commit 15f4a5d

Please sign in to comment.