diff --git a/README.md b/README.md index 830d459ca463877b7d8c070d1a2a0ada18d80f3e..51f0ca045ec9cc39319fefce5a683eb0545d09f8 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,16 @@ These python and bash scripts (and a C program) serve to automate assignment management, with an eye toward scaling to larger class sizes. -In the repository, the scripts are divided into those that interface with -remote systems and those that automate the tasks. In practice, you'll want to -place both in the same directory, specifically the directory in which you'll -collect students' repositories for grading. +The scripts that interface with remote systems are in the `api` directory, and +the scripts that do work are in the top-level directory. -- apis/ +- api/ - Directory containing functions that interface with `git.unl.edu` and `canvas.unl.edu`. When you copy these to the grading directory, place your api keys in `config.py`. -- automation/ - - Directory containing scripts to clone, create, process, etc., student - repositories. +- old-automation/ + - Directory containing early fall 2019 scripts to clone, create, process, + etc., student repositories. - 1195 - Directory containing scripts from summer 2019 pilot of new course structure. Should be obsolete (and removed) by end of fall 2019. diff --git a/api/.gitignore b/api/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..3c58b14d64a803ede0460865bcc961dce5bb76c4 --- /dev/null +++ b/api/.gitignore @@ -0,0 +1,2 @@ +config.py + diff --git a/api/config.py b/api/config.py index e99fac8e75a1551db06cf0f092fe9d598409a774..fc0dc946b2f9fe5fbacfb4061fc358a96685988e 100644 --- a/api/config.py +++ b/api/config.py @@ -1,9 +1,8 @@ class Config: # GitLab API Configuration gitlab_url = 'https://git.unl.edu/' - gitlab_api_key = None + gitlab_api_key = 'this shouldn\'t be here' # Canvas API configuration canvas_url = 'https://canvas.unl.edu/api/v1/' - canvas_api_key = None - + canvas_api_key = 'this shouldn\'t be here' diff --git a/automation/01-clone.py b/old-automation/01-clone.py similarity index 100% rename from automation/01-clone.py rename to old-automation/01-clone.py diff --git a/automation/05-extract_teams.py b/old-automation/05-extract_teams.py similarity index 100% rename from automation/05-extract_teams.py rename to old-automation/05-extract_teams.py diff --git a/automation/README.md b/old-automation/README.md similarity index 100% rename from automation/README.md rename to old-automation/README.md