diff --git a/handbook/manual.html b/handbook/manual.html index be1ce7fdc..557c84454 100644 --- a/handbook/manual.html +++ b/handbook/manual.html @@ -89,7 +89,7 @@ editing and keeps track of all changes so we can roll back and have branches if
  • loser - the survex cave survey data (hg)
  • drawings - the tunnel and therion cave data and drawings (git)
  • expoweb - the website pages, handbook, generation scripts (hg)
  • -
  • troggle - the database/software part of the survey data management system - see notes on troggle for further explanation (git)
  • +
  • troggle - the database/software part of the survey data management system - see notes on troggle for further explanation (git)
  • We have migrated two of these to git but the other two still use mercurial. @@ -103,20 +103,11 @@ below for details on that.

    How the data management system works

    -

    Part of the data management system is static HTML, but quite a lot is generated by scripts and troggle (a web framework built using Django). -

    Examples of troggle-generated pages from data: -

    +

    Troggle runs the expo cave survey data management, presents the data on the website and manages the Expo Handbook. See the troggle intro. +

    Anything you check in which affects cave data or descriptions won't appear on the site until the data management system update scripts are run. -This happens automatically every 30 mins, but you can also kick off a manual update. +This should happen automatically every 30 mins (not since 2017), but you can also kick off a manual update. See 'The expoweb-update script' below for details.

    Also note that the ::expoweb:: web pages and cave data reports you see on the visible website diff --git a/handbook/onlinesystems.html b/handbook/onlinesystems.html index cfb5c5ebe..c8d9aad76 100644 --- a/handbook/onlinesystems.html +++ b/handbook/onlinesystems.html @@ -8,8 +8,8 @@

    CUCC Expedition Handbook - Online systems

    Expo Online Systems Overview

    -

    The online data and web publishing system (i.e. "the website") is now large and complicated with a lot of aspects. -This handbook section contains info at various levels: +

    The online data and web publishing system (i.e. "the website") is now large and complicated. +The handbook contains info at various levels: simple 'How to add stuff' information for the typical expoer, more detailed info for cloning it onto your own machine for more significant edits, and structural info on how it's all put together for people who want/need to change things. @@ -20,7 +20,7 @@ on how the cave data, handbook and public website are constructed and managed. It contains material which will be merged into this online systems manual. -

    These pages listed below have been reviewed recently (2018), and a +

    These pages listed below have been reviewed recently (2019), and a fuller list of "How do I..." instruction pages are on the handbook opening page.

    -

    But the systems Manual is still being actively edited to extract and simplify documentation. +

    The systems manual is being actively edited to extract and simplify documentation.

    Updating the online systems - overview

    +

    Troggle - what it is

    +

    Troggle runs the expo cave survey data management, presents the data on the website and manages the Expo Handbook. See the troggle intro.

    Autogenerated pages

    @@ -59,7 +61,7 @@ using a text editor. The public expo server is on when sitting at that laptop.

    It's important to understand that the pages you can edit by this method -are stored in a distributed version control system (see below). This stops us losing data and +are stored in a version control system (see below). This stops us losing data and makes it very hard for you to screw anything up permanently, so don't worry about making changes - they can always be reverted if there is a problem. It also means that several people can work on the site on @@ -89,7 +91,7 @@ See these instructions for this tidy-up

    Version control system

    -

    We use a distributed revision control system (git, and formerly mercurial) for all the important data. +

    We use a distributed revision control system (git, and formerly mercurial) for all the important data. (Note that we just use git: not GitHub, not GitLab, just git.) This means that many people can edit and merge their changes with the expo server in Cambridge at the same time: inlcuding people still on expo in the Tatty Hut and those who have returned to the UK. Also anyone who is up @@ -106,42 +108,6 @@ The same goes for holiday photographs and GPS logs.

    In 2019 we had half our version-controlled repositories under mercurial and half under git. The intention is to move entirely to git before the 2020 expo. -

    Troggle - what it is

    - -

    -Troggle is the software collection (not really a "package") based on Django -originally intended to manage all expo data in a logical and accessible way -and publish it on the web. -

    Examples of troggle-generated pages from data: -

    -

    [Note that /survey_scans/ is generated by troggle and is not the same thing as /expofiles/surveyscans/ at all.] -

    Only a small part of troggle's original plan was fully implemented and deployed. -Many of the things it was intended to replace are still operating as a motley collection written by many different people in -several languages (but mostly perl and python; we won't talk about the person who likes to use OCamL). -Today troggle is used for only three things: -

      -
    1. Reformatting all the visible webpages such that they have a coherent style and have a contents list at the top-left -hand corner. This is particularly true of the handbook you are reading now and the historic records of past expeditions. -
    2. Publishing the "guidebook descriptions" of caves. The user who is creating a new guidebook description -can do this by filling-in some online forms. - -
    3. Providing a secondary way of editing individual pages of the handbook and historic records pages -for very quick and urgent changes. -This is the "Edit this page" capability; see above for -how to use it and how to tidy up afterwards. -
    - -

    See the notes on troggle page -for how and why it was developed and what needs to be done. -


    diff --git a/handbook/survey/drawup.htm b/handbook/survey/drawup.htm index 8696b4aac..dd12337f8 100644 --- a/handbook/survey/drawup.htm +++ b/handbook/survey/drawup.htm @@ -102,7 +102,7 @@ mentioned, or when they are "defined".

    You will type this description, and pass it on to someone more nerdy who -will file it in the right place. This will involve "creating a new cave" using the troggle system. +will file it in the right place. This will involve "creating a new cave" using the troggle system. diff --git a/handbook/tortoise/tortoise-win.htm b/handbook/tortoise/tortoise-win.htm index b37040e02..0a48134a0 100644 --- a/handbook/tortoise/tortoise-win.htm +++ b/handbook/tortoise/tortoise-win.htm @@ -86,7 +86,7 @@ You can scan what's in the repositories (read only) using your web browser:

  • loser - the survex cave survey data (hg)
  • drawings - the tunnel and therion cave data and drawings (git)
  • expoweb - the website pages, handbook, generation scripts (hg)
  • -
  • troggle - the database/software part of the survey data management system - see notes on troggle for further explanation (git)
  • +
  • troggle - the database/software part of the survey data management system - see notes on troggle for further explanation (git)
  • > diff --git a/handbook/computing/menudesign.html b/handbook/troggle/menudesign.html similarity index 100% rename from handbook/computing/menudesign.html rename to handbook/troggle/menudesign.html diff --git a/handbook/troggle/trogintro.html b/handbook/troggle/trogintro.html new file mode 100644 index 000000000..9c550b340 --- /dev/null +++ b/handbook/troggle/trogintro.html @@ -0,0 +1,43 @@ + + + + +Handbook Troggle Intro + + + +

    CUCC Expedition Handbook

    +

    Troggle - what you may need to know

    +

    Troggle is the software which runs the the expo cave survey data management and website. + +

    + +

    Troggle - what it is

    + + +

    Troggle manages all cave and expo data in a logical and maintainable way +and publishes it on the web. +

    +The troggle software is written and maintained by expo members. + +

    Examples of troggle-generated pages from data: +

    +
    +Return to
    +expo online systems overbiew
    + + + diff --git a/handbook/computing/troggle-ish.html b/handbook/troggle/trogmanual.html similarity index 96% rename from handbook/computing/troggle-ish.html rename to handbook/troggle/trogmanual.html index 84a185ac8..c74c3b47a 100644 --- a/handbook/computing/troggle-ish.html +++ b/handbook/troggle/trogmanual.html @@ -2,18 +2,19 @@ -Handbook Troggle Notes +Handbook Troggle Intro

    CUCC Expedition Handbook

    -

    Troggle - what you may need to know

    +

    Troggle - Maintainers Manuals

    Troggle runs much of the the cave survey data management, presents the data on the website and manages the Expo Handbook.

    You may have arrived here by accident when where you really need to be is website history. -

    This page needs to be restructured and rewritten so that it describes these things: +

    This part of the handbook is intended for people maintaining the troggle software. Day to day cave recording and surveying tasks are documented in the expo "survey handbook" + +

    This troggle manual describes these: