2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 15:17:08 +00:00

documentaiton for Becka as to where to find drawings files

This commit is contained in:
2025-06-14 14:12:13 +03:00
parent 40aeee9bf9
commit e1d7b35015
3 changed files with 12 additions and 1 deletions

View File

@@ -16,11 +16,14 @@ todo = """
- Rename functions more consistently between tunnel and therion variants
- Refactor to use pathlib instead of whacky resetting of loop variable inside loop
to scan sub-folders.
to scan sub-folders. This will definitely break at some point..
- Recode rx_valid_ext to use pathlib suffix() function
- Recode load_drawings_files() to use a list of suffices - not the huge if-else monstrosity
- implement: findimportinsert(therionfile, imp)
Tries to link the scrap (Therion format) to the referenced therion scrap
"""
rx_valid_ext = re.compile(r"(?i)\.(?:png|jpg|pdf|jpeg|gif|txt)$")

View File

@@ -58,6 +58,7 @@ LOGBOOK_PARSER_SETTINGS = {
LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB
ENTRIES = {
"2025": 1,
"2024": 127,
"2023": 131,
"2022": 94,

View File

@@ -3,7 +3,14 @@
{% block title %}Drawings files{% endblock %}
{% block content %}
<h3>All Tunnel and Therion files - in the repository</h3>
<p>You can see an up to date list of drawings files by looking at
<a href="/repositories/drawings/.git/tree/">the drawings repository</a>. This is up to date even if the upload
has been done <em>after</em> the most recent database reset.
<h3>All Tunnel and Therion files - linked to wallets, survey scans, frames and scraps</h3>
<p>This is the list of drawings as at the most recent database reset.
<table style="font-size: 85%" width=95%>
<tr><th>Drawing (Tunnel or Therion) File</th><th>Size</th><th>Paths</th><th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>