-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
How to tell if there was a change to the file:
Hacky Idea 1:
When generating python file
- Generate MD5 hash of the user module. (only imagining a single file)
- Place hash into generated flat script as a standard string variable user_module_hash.
When initializing engine
- search for matching flat script within working directory
- Generate MD5 hash of the user module.
- test user_module_hash against generated hash
- if match use flat script
- if not match ignore flat script
Adjacent Idea 1:
Once we start generating these files, it would be nice to have a central place to keep them, and have them out of the way for user.
Store flat file in a sqlite database, with it's hash, create date, etc.
Alternatively we could store the files in a zipfile which acts as a document store.
This then means we have a place to store our results as well. (Which then I would want to look into optimizing writes to sqlite)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request