From d971f373207216c2142780b921902257d49c8dfd Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 16 Dec 2022 16:26:16 +0000 Subject: [PATCH] Troggle staus & history update --- handbook/troggle/trogdjangup.html | 2 ++ handbook/troggle/trogstatus.html | 18 ++++---------- handbook/website-history.html | 28 +++++++++++++++++----- years/2016/camping_in_tunnocksschacht.html | 3 ++- 4 files changed, 31 insertions(+), 20 deletions(-) diff --git a/handbook/troggle/trogdjangup.html b/handbook/troggle/trogdjangup.html index 718d3b097..e580cf74f 100644 --- a/handbook/troggle/trogdjangup.html +++ b/handbook/troggle/trogdjangup.html @@ -10,6 +10,7 @@

Upgrading Django for Troggle

Why this is difficult

When django upgrades to a new version things break across the entire django package, including things which we don't conciously use but are internal dependencies within django. These were 'the way to do it' when troggle was first written for django 0.7 in 2006. So upgrading troggle to a new django version requires not just a broad beadth of knowledge across troggle, but also across the entire breadth of django itself. And the error messages are sometimes very unhelpful. +

Now read Django and Troggle if you haven't already.

Django versions and update schedule

@@ -226,6 +227,7 @@ This involves running git clone on the django source repo to download

Go on to: Troggle architecture
+Return to: Django and Troggle
Return to: Troggle intro
Troggle index: Index of all troggle documents
diff --git a/handbook/troggle/trogstatus.html b/handbook/troggle/trogstatus.html index e37532495..499b53684 100644 --- a/handbook/troggle/trogstatus.html +++ b/handbook/troggle/trogstatus.html @@ -14,18 +14,9 @@

For earlier history see Website history. - -

June 2020

-

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. -

-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. -

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. -

July 2020

-

Wookey upgraded debian on the server from 9 stretch to 10 buster and we got the python3 development of troggle running as the public version (with some http:// and https:// glitches) by 23rd July. Buster 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. - -

April 2021

-

Lockdown has been good to troggle. During March and April Philip migrated troggle up to Django 2.2.19, excising the ancient and unused user registration system on the way. Django 2.2 LTS is a long-term stable relase which will be in-support by Django until April next year. Wookey discovered and ran the Django system testsuite on the Debian server thus enabling us to use a necessary (but obstensibly outdated) link between Django and the database MariaDB. As of April 9th troggle is now running on software which is actually 'in date'.

+

Covid lockdown has been good to troggle. During March and April Philip migrated troggle up to +Django 2.2.19, excising the ancient and unused user registration system on the way. Django 2.2 LTS is a long-term stable relase which will be in-support by Django until April next year. Wookey discovered and ran the Django system testsuite on the Debian server thus enabling us to use a necessary (but obstensibly outdated) link between Django and the database MariaDB. As of April 9th troggle is now running on software which is actually 'in date'.

We plan to stick with this configuration for a year.

@@ -42,14 +33,15 @@ So the presure to migrate from Django is now very greatly lessened. However, see and possible migration from Django. -

We should not need to anything until we move from django 3.2 LTS to 4.2 LTS before April 2024. +

We should not need to anything until we move from Django 3.2 LTS to 4.2 LTS before April 2024.

July 2022

Wookey at last, after much effort, got the loser repository converted from mercurial to git, with much tidying and history-reconfabulation. He says this will need to be done again, but it was good enough for the 2022 Expo. Also the troggle code was changed: survex files edited on a webpage now automatically commit to git with no user involvement.

Just before expo, we finished integrating the formerly-separate 'wallets' script. -So now the progress of scanning and tunneling survey data can be managed more easily. And it works on the data back to 1999 too. +So now the progress of scanning and tunneling survey data can be managed more easily. This +has turned out to be unexpectedly powerful. And it works on the data back to 1999 too.


git logo Return to:
diff --git a/handbook/website-history.html b/handbook/website-history.html index c4c66b442..cdb3383fc 100644 --- a/handbook/website-history.html +++ b/handbook/website-history.html @@ -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 Troggle intro).

+

From the 2009 expo report:
+

-

After Expo 2009 the version control system was updated to a DVCS (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).

+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 Troggle intro).

+ +

After Expo 2009 the version control system was updated to a DVCS (Mercurial, aka 'hg'), +

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. -

From " +

Some text taken from " Troggle: a revised system for cave data management", by Philip Sargent and Aaron Curtis, CUCC [with some additions]. Original (2006) paper: " @@ -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. +

June 2020

+

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. +

+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. +

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. +

July 2020

+

Wookey upgraded debian on the server from 9 stretch to 10 buster and we got the python3 development of troggle running as the public version (with some http:// and https:// glitches) by 23rd July. Buster 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. + +

More recent

For the current situation see expo systems status. diff --git a/years/2016/camping_in_tunnocksschacht.html b/years/2016/camping_in_tunnocksschacht.html index 5f02e32fa..71def5fa4 100644 --- a/years/2016/camping_in_tunnocksschacht.html +++ b/years/2016/camping_in_tunnocksschacht.html @@ -3,9 +3,10 @@

CHECC Grand Prize entry for Cambridge: camping in Tunnocksschacht, Austria

Nov 25, 2016

-

by CavingPig (presumably Elaine) +

by CavingPig (Elaine Oliver)

[to be added in to the logbook where appropriate.]

+2016-07-18
It was decided that this year, the CUCC expo would establish an underground camp in Kraken Chamber, Tunnocksschacht, as pushing trips to the lower leads were getting to be around 18 hours, which was bordering on the unsafe in terms of fatigue in combination with navigating the nylon highway required to get in and out.