Last active
July 13, 2020 15:48
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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