diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-12-14 23:59:43 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-12-14 23:59:43 +0100 |
commit | 61b93a8a117dcbe1b4a0e72363936cf0b83c571e (patch) | |
tree | 74f010f111b5b02994dd7f5951b29c14650d7cd9 /pyproject.toml | |
parent | e4abad69c18964a4e87560ceecd097daa07f00e9 (diff) | |
download | fietsboek-61b93a8a117dcbe1b4a0e72363936cf0b83c571e.tar.gz fietsboek-61b93a8a117dcbe1b4a0e72363936cf0b83c571e.tar.bz2 fietsboek-61b93a8a117dcbe1b4a0e72363936cf0b83c571e.zip |
first work on getting GPX out of the DB
This does a lot of changes already. What is definitely not working yet
are the tests, as they still try to put the data into the database - but
that should be easy to fix.
The convenience methods Track.{length,uphill,...} were a bit stupid to
fix, as our template code assumed that those attributes can just be
accessed. As a fix, I've introduced a new class that "re-introduces"
those and can lazily load them from the disk in case the cache does not
exist. This works pretty well, but is not too nice - we end up with a
lot of "proxy" properties.
Other than that, I'm positively surprised how well this has worked so
far, the upgrade scripts seem to be doing good and serving the file
straight from the disk seems to work nicely as well. What isn't tested
yet however is "edge cases", in case a data directory goes missing, ...
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index e08b92b..4e81701 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,8 @@ requests = "^2.28.1" pydantic = "^1.10.2" termcolor = "^2.1.1" +filelock = "^3.8.2" +brotli = "^1.0.9" [tool.poetry.group.docs] optional = true |