SD2E / experimental-intent-parser

A tool that combines a word-processing interface with structured tables and assisted linking to definitions to provide a simple interface for incremental codification of experiment designs.
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Update ip_addon_script.py to e-mail result of installed addons to active developers #308

Open tramyn opened 3 years ago

tramyn commented 3 years ago

ip_addon_script.py is a python script used for installing IP as an add-on to a Google Doc. If the server running this script stops or shuts down, information about new Google Docs installed with an IP add-on are lost. The script then reverts back to using an old backup of the file that tracks Google Docs assigned to an IP add-on. This type of situation can cause the script to reinstall IP onto existing Google Docs that have the add-on already installed.

The current process of backing up this file has been having a developer manually logs into the server and manually backup the file. This procedure is not ideal if the developer is not aware that the server was shut down and restarted before the developer had a chance to backup the file. A solution for this is to e-mail the latest result every time the file has been updated.