mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 14:54:28 +00:00
Troggle staus & history update
This commit is contained in:
@@ -157,12 +157,19 @@ website, could be easily reversed.
|
||||
made sense, and so wrote Troggle.
|
||||
This uses Django to generate pages.
|
||||
This reads in all the logbooks and surveys and provides a nice way to access them, and enter new data.
|
||||
It was separate for a while until Martin Green added code to merge the old static pages and
|
||||
new troggle dynamic pages into the same site. This is now the live system running everything (in 2019). Work on developing Troggle further still continues (see <a href="troggle/trogintro.html">Troggle intro</a>).</p>
|
||||
<p>From the <a href="/years/2009/report.html">2009 expo report</a>:<br />
|
||||
<ul>
|
||||
This year's expedition also had a non-caving goal (not just drinking Gösser). Recently [since 2006] members of CUCC have started to develop a piece of software called Troggle, which aims to facilitate keeping track of logbook entries, typing up surveys, caves etc, and save time in a lot of the work that goes on behind the scenes when expo is over. This year was the first time Troggle would be tested "in the field" (well, spud hut).
|
||||
</ul>
|
||||
|
||||
<p>After Expo 2009 the version control system was updated to a <a href="computing/onlinesystems.html#mercurial">DVCS</a> (Mercurial, aka 'hg'),
|
||||
because a distributed version control system makes a great deal of sense for expo
|
||||
(where it goes offline for a month or two and nearly all the year's edits happen).</p>
|
||||
It was separate for a while until Martin Green added code to merge the old static pages and
|
||||
new troggle dynamic pages into the same site. This is now the live system running everything (in 2022). Work on developing Troggle further still continues (see <a href="troggle/trogintro.html">Troggle intro</a>).</p>
|
||||
|
||||
<p>After Expo 2009 the version control system was updated to a <a href="computing/onlinesystems.html#mercurial">DVCS</a> (Mercurial, aka 'hg'),
|
||||
<ul>
|
||||
'because a distributed version control system makes a great deal of sense for expo
|
||||
(where it goes offline for a month or two and nearly all the year's edits happen)'.
|
||||
</ul></p>
|
||||
|
||||
<p>The site was moved to Julian Todd's seagrass server (in 2010),
|
||||
but the change from a 32-bit to 64-bit machine broke the website autogeneration code,
|
||||
@@ -172,7 +179,7 @@ troggle, the survey data, the tunnel data. Seagrass was turned off at
|
||||
the end of 2013, and the site has been hosted by Sam Wenham at the
|
||||
university since Feb 2014.
|
||||
|
||||
<p><em>From "<a href="/expofiles/documents/troggle/troggle2020.pdf" download>
|
||||
<p><em>Some text taken from "<a href="/expofiles/documents/troggle/troggle2020.pdf" download>
|
||||
Troggle: a revised system for cave data management</a>", by Philip Sargent and Aaron Curtis, CUCC [with some additions]</em>.
|
||||
|
||||
<em>Original (2006) paper: "<a href="/expofiles/documents/troggle/troggle_paper.pdf" download>
|
||||
@@ -248,6 +255,15 @@ tackling the next step: thinking deeply about when we migrate from django
|
||||
Enforced time at home under covid lockdown is giving us a new impetus to writing and restructuring the documentation for everything.
|
||||
</details>
|
||||
|
||||
<h4>June 2020</h4>
|
||||
<p>Sam was a bit overworked in trying to get an entire university to work remotely during Covid lockdown so Philip [Sargent] started on the python2/3 conversion and got troggle on django 1.7 to work on python 3.5 and then 3.8. He then did the slog of migrating it through the django versions up to 1.11.29 - the last version before django 2.0 . 1.11.29 is an LTS (long term support) version of django. In doing this we had to retreat to python3.7 due to a django plugin incompatibility.
|
||||
<p>
|
||||
In the course of these migrations several unused or partly-used django plugins were dropped as they caused migration problems (notably staticfiles) and the plug-ins pillow, django-registration, six and sqlparse were brought up to recent versions. This was all done with pip in a python venv (virtual environment) on a Windows 10 machine running ubuntu 20.04 under WSL (Windows Systems for Linux) v1.
|
||||
<p>Missing troggle functions were repaired and partly-implemented pages, such as the list of all cavers and their surveyed passages, were finished and made to work. The logbook parsing acquired a cacheing system to re-load pre-parsed files. The survex file parsing was completely rebuilt to reduce the excessive memory footprint. While doing so the parser was extended to cover nearly the full range of survex syntax and modified to parse, but not store, all the survey stations locations. A great many unused classes and some partly written code ideas were deleted.
|
||||
<h4>July 2020</h4>
|
||||
<p>Wookey upgraded debian on the server from 9 <var>stretch</var> to 10 <var>buster</var> and we got the python3 development of troggle running as the public version (with some http:// and https:// glitches) by 23rd July. <var>Buster</var> will be in-support definitely until June 2024 so we are rather pleased to be on a "not ancient" version of the operating system at last. This concided with a last tweak at improving the full cave data file import so now it runs on the development system in ~80 seconds. Which is considerably more useful than the ~5 hours it was taking earlier this year.
|
||||
|
||||
|
||||
<h3>More recent</h3>
|
||||
<p>
|
||||
For the current situation see <a href="troggle/trogstatus.html">expo systems status</a>.
|
||||
|
||||
Reference in New Issue
Block a user