Hello,
I’m working on PR 3024 to add gdscript highlighting and packaging of exercise resources for local activecode support in html and runestone publications.
Thanks Rob for your patience reviewing my changes and your detailed notes on parts that I missed in the last pass. I was able to sort out most of them.
I have a couple of design questions to address, and one implementation question.
First, for the 2 design questions, I have a helper python file, called godot_helper.py, that checks for the right version of Godot and its corresponding export templates.
1. That script currently imports the certifi library, which is not part of the standard library, because there are some edge cases using MacOS where installs from
python.org don’t have the certificates set up correctly by default. Does anyone have thoughts about using or not using certifi?
2. After downloading the correct version of Godot and its corresponding templates, there isn’t currently an integrity check to see that it wasn’t tampered with. However, it is downloading directly from the release area of godotengine’s repository on
GitHub.com. Should there be an integrity check, and if so, are there suggestions for implementing this?
Next, for the implementation question:
Currently godot is run directly on the source files, and so some of the intermediate temporary files end up being saved in the source directory. Ideally, the source files would be copied to a temporary directory, and then godot would be run on that directory
instead of the source directory. Is there a standard temp directory to work with, and is there an example I can look at that does this so that I can leave the source directory untouched?
Thank you,
David
David G. Cooper, PhD
Assistant Professor
Computer Science
West Chester University
25 University Ave
Office 142
x2651