apps-script-samples
apps-script-samples copied to clipboard
Incorrect File Name(s) (Missing 's')
Summary
TimeZone settings (& other attributes/dependencies) for some of the sub-packages or sub-modules for the apps-script-samples does not load properly due to improperly names manifest files.
operating-system@build-machine:~/Documents$ find . -type f -name 'appscript.json' 2>/dev/null
./apps-script-samples-main/solutions/automations/folder-creation/appscript.json ./apps-script-samples-main/slides/SpeakerNotesScript/appscript.json
TODO Fix the file name(s) for these two Apps Script initialization JSON files (i.e. appsscript.json not appscript.json)!:
- solutions/automations/folder-creation/appscript.json
- slides/SpeakerNotesScript/appscript.json
CAVEAT: It is realized that these files might be intentionally misspelled as a means to ignore the sub-project or sub-module while keeping version control on the files, but perhaps there is a better way to accomplish such exclusions while maintaining referential integrity.
Expected Behavior
Import of the sub-packages should reflect the proper time zones and/or other dependencies when loaded into Google Workspace's Apps Script editor.
Sample URL: https://developers.google.com/drive/v2/reference/files/insert Description: Instructions for importing modules and/or projects into Apps Script for use with Google Workspace.
Actual Behavior
Import of the sub-packages does not reflect the proper time zones and/or other dependencies (e.g. included libraries) when loaded into Google Workspace's Apps Script editor.
Steps to Reproduce the Problem
- Traverse the source tree with your preferred tool(s).
- Determine the location of all files named appscript.json
- Rename the file(s) appsscript.json in the respective directories
- Import the files into the Apps Script environment within Google Workspaces
- Ensure that the Apps Script editor recognizes the file name(s) appropriately and applies the appropriate configuration to the subprojects.
NOTE: File name(s) should have 3 "p" characters & 3 "s" characters