Skip to content

Instantly share code, notes, and snippets.

@jinder1s
Last active July 13, 2020 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jinder1s/bf8c061b1bf86f3d9bf762aed405551e to your computer and use it in GitHub Desktop.
Save jinder1s/bf8c061b1bf86f3d9bf762aed405551e to your computer and use it in GitHub Desktop.
We need a common understanding of how the script should take in data to process
Possible data input:
Listed are flag inputs for script:
1)
--annotations-dir: a path to directory with all annotation files
example: ./annotations -> contains edx-platform-annotations.yml, discovery-annotations.yml...
--toggle-data-dump(name TBD): a path to directory containing directories containing json files with sql data dump
eample: ./data_dump -> contains: prod_env, stage_env, devstack_env -> contains: lms_waffle.json, discovery_waffle.json...
2)
Or just one flag for it all:
--data-path: a directory containing directories with data
Structure of directory:
./
- annotations(dir)
- lms-annotations.yml
- discovery-annotations.yml
- prod_env(dir)
- lms_waffle.json
- discovery_waffle.json
- stage_env(dir)
- lms_waffle.json
- discovery_waffle.json
I think number 1 makes more sense, though number 2 is what is currently implemented
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment