From the last onboarding process, the partner said that there is a bug within KoboToolbox. Even though they set up the max filesize, they are not honoring it. I will file a separate issue for this.
Still, most of our partners will eventually face that will have more than one survey running (ie, a continuous cultural mapping) that will eat up all their storage.
From our side, it would be great if we can improve the KoboToolbox gc-scripts-hub script so that we can clear the attachments that were already saved in GC to save space within a KoboToolbox account.
This is the relevant code:
|
for submission in form_submissions: |
|
if "_attachments" in submission: |
|
skipped_attachments += _download_submission_attachments( |
|
submission, db_table_name, attachment_root, headers |
|
) |
From the last onboarding process, the partner said that there is a bug within KoboToolbox. Even though they set up the max filesize, they are not honoring it. I will file a separate issue for this.
Still, most of our partners will eventually face that will have more than one survey running (ie, a continuous cultural mapping) that will eat up all their storage.
From our side, it would be great if we can improve the KoboToolbox gc-scripts-hub script so that we can clear the attachments that were already saved in GC to save space within a KoboToolbox account.
This is the relevant code:
gc-scripts-hub/f/connectors/kobotoolbox/kobotoolbox_responses.py
Lines 293 to 297 in f646865