From 9db59f6e1bb5522d44a2fa0dc3c3cdd653e8f5f0 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 6 Aug 2022 20:45:04 +0300 Subject: [PATCH] Tidy up scripts docm re wallets --- handbook/troggle/scriptscurrent.html | 10 ++++++---- handbook/troggle/scriptsother.html | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/handbook/troggle/scriptscurrent.html b/handbook/troggle/scriptscurrent.html index 22668a930..9fa63cede 100644 --- a/handbook/troggle/scriptscurrent.html +++ b/handbook/troggle/scriptscurrent.html @@ -37,10 +37,6 @@ runs the QM list generation within each of the cave pages that needs it, runs Today, troggle generates the .3d and .pos files, parses and loads the QM list and parses the include tree of the survex files. -

Wallets

-

Online wallets are initially maintained using the wallets.py script, but troggle also directly imports all the expofiles/surveyscans/ directories of scanned survey notes and produces reports on them. There are several bash and python scripts in the surveyscans directory to create wallets for the coming year, and to re-run the wallet processing on all past years (for when we improve the script). For 2021 we have converted wallets.py to python3, so be careful of older versions which are python2. - -

Folk

Folk update process produces a webpage listing all expo participants and it also runs some validation checks on the input file /folk/folk.csv . Troggle also directly imports folk.csv so that it knows who everyone is, but errors during the importing are not as easy to see as validation errors printed when running the make-folklist.py script. @@ -173,6 +169,12 @@ Also in the :loser:fixedpts/scripts/convert_shx/ folder is a 135-line short scri [to be investigated]

+ +

Wallets

+

Obsolete. Functions integrated into troggle in July/August 2022. +

Online wallets are initially maintained using the wallets.py script, but troggle also directly imports all the expofiles/surveyscans/ directories of scanned survey notes and produces reports on them. There are several bash and python scripts in the surveyscans directory to create wallets for the coming year, and to re-run the wallet processing on all past years (for when we improve the script). For 2021 we have converted wallets.py to python3, so be careful of older versions which are python2. +

There were also scp-index-pages.sh and allwallets.py . A reference set used to live in :expoweb:/noinfo/scripts/walletscripts/ as well as the active copies in /expofiles/surveyscans/ . +

logbk.pl

Obsolete.

This function is now done by the troggle input parsers. diff --git a/handbook/troggle/scriptsother.html b/handbook/troggle/scriptsother.html index 7082163b8..967ee5ebe 100644 --- a/handbook/troggle/scriptsother.html +++ b/handbook/troggle/scriptsother.html @@ -20,7 +20,6 @@

  • bierbook.tex LaTeX script for generating the bierbook - a new list of names and dates each year
  • seshbook.tex LaTeX script for generating the seshbook - works from the same list of names
  • therionpage.tex LaTeX script and makefile for generating therion-style protractors

  • -
  • wallets.py generates statuspages and to-do list pages for survey data production.
  • svx2qm.py extracts QMs from the survex files (and find-dead-qms.py)
  • tablize-qms.pl turns the list of QMs extracted into an HTML file
  • make_svx.sh generates surface Survex tracks @@ -33,7 +32,6 @@
  • summarizecave.sh gets .3d file contents using survex
  • caves-tabular.html a re-sortable table of cave data
  • JavaScript packages are used by some troggle pages. See the Expo server page. -
  • make-prospectingguide-new.py and prospecting_guide_short.py - (obsolete)

  • convert_shx.ml converts coordinates to a shapefile
  • @@ -62,6 +60,8 @@ We may need this again for Tunnocks/Balkon.

    When you write a script

    Any script that generates an HTML file should insert <meta name="keywords" content="NOEDIT">