apps-script-samples icon indicating copy to clipboard operation
apps-script-samples copied to clipboard

Incorrect File Name(s) (Missing 's')

Open dev2sec opened this issue 2 years ago • 1 comments

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

  1. Traverse the source tree with your preferred tool(s).
  2. Determine the location of all files named appscript.json
  3. Rename the file(s) appsscript.json in the respective directories
  4. Import the files into the Apps Script environment within Google Workspaces
  5. 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

dev2sec avatar Jun 09 '23 16:06 dev2sec