########################################################################################## VEHPI-31: GPX Track File Clearance ########################################################################################## Issue Type: Sub-task ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Won't Fix (2019-09-09 16:24:40) Project: VehManPi (VEHPI) Reported By: btasker Assigned To: btasker Child of: VEHPI-7 - Implement GPS Support Components: - GPS - API Integration - Database Targeted for fix in version: - 1.0 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== To avoid the SSD filling up, old GPX track files should be removed once uploaded to the API (and their corresponding entries purged from the SQLite DB). Basic plan is to follow the following procedure - When uploading the GPX file, the resulting Job ID returned by the API should be written to the database - Periodically (probably after each GPX upload run), the listjobs method should be called to see whether the import was successful - If not, requeue for upload. If so, remove the track file and tidy the DB ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2013-12-28 01:34:03 btasker ----------------------------------------------------------------------------------------- Need to decide how many failed import attempts the system is wiling to tolerate before it just purges the data. Perhaps with thresholds related to disk usage ----------------------------------------------------------------------------------------- 2019-09-09 16:24:40 btasker ----------------------------------------------------------------------------------------- Bulk Close. Realistically, project isn't going to see any further development so closing as Won't Fix ----------------------------------------------------------------------------------------- 2019-09-09 16:24:40 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Closed' ----------------------------------------------------------------------------------------- 2019-09-09 16:24:40 ----------------------------------------------------------------------------------------- btasker added 'Won't Fix' to resolution