making-with-code-cli 2.0.4__tar.gz → 2.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/PKG-INFO +1 -1
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/setup/tasks.py +1 -1
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/log.py +9 -9
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/status.py +2 -2
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/student_repos.py +1 -1
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/pyproject.toml +1 -1
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/README.md +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/cli.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/curriculum.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/errors.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/git_backend/__init__.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/git_backend/base_backend.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/git_backend/mwc_backend.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/git_wrapper.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/helpers.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/mwc_accounts_api.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/settings.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/setup/__init__.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/styles.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/submit.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/__init__.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/check.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/gitea_api/api.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/gitea_api/exceptions.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/setup.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/student_repo_functions.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/test/__init__.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/test/test_module.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/update.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/update/__init__.py +0 -0
- {making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/version.py +0 -0
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/setup/tasks.py
RENAMED
|
@@ -371,7 +371,7 @@ class InstallTree(InstallPackage):
|
|
|
371
371
|
executable_name = brew_name = apt_name = nix_name = "tree"
|
|
372
372
|
|
|
373
373
|
class InstallVSCode(InstallPackage):
|
|
374
|
-
platform = Platform.MAC
|
|
374
|
+
platform = Platform.MAC
|
|
375
375
|
executable_name = "code"
|
|
376
376
|
brew_name = "visual-studio-code"
|
|
377
377
|
cask = True
|
|
@@ -27,15 +27,15 @@ def date_string(arg):
|
|
|
27
27
|
|
|
28
28
|
@click.command()
|
|
29
29
|
@click.option("--config", help="Path to config file (default: ~/.mwc)")
|
|
30
|
-
@click.option("--group", help="Filter by group name")
|
|
31
|
-
@click.option("--course", help="Filter by course name")
|
|
32
|
-
@click.option("--user", help="Filter by username")
|
|
33
|
-
@click.option("--unit", help="Filter by unit name/slug")
|
|
34
|
-
@click.option("--module", help="Filter by module name/slug")
|
|
35
|
-
@click.option("--start", type=date_string, help="Start datetime")
|
|
36
|
-
@click.option("--end", type=date_string, help="End datetime")
|
|
37
|
-
@click.option("--update", is_flag=True, help="Update repos first")
|
|
38
|
-
@click.option("--threads", type=int, default=8, help="Maximum simultaneous threads")
|
|
30
|
+
@click.option('-g', "--group", help="Filter by group name")
|
|
31
|
+
@click.option('-c', "--course", help="Filter by course name")
|
|
32
|
+
@click.option('-u', "--user", help="Filter by username")
|
|
33
|
+
@click.option('-n', "--unit", help="Filter by unit name/slug")
|
|
34
|
+
@click.option('-m', "--module", help="Filter by module name/slug")
|
|
35
|
+
@click.option('-s', "--start", type=date_string, help="Start datetime")
|
|
36
|
+
@click.option('-e', "--end", type=date_string, help="End datetime")
|
|
37
|
+
@click.option('-U', "--update", is_flag=True, help="Update repos first")
|
|
38
|
+
@click.option('-t', "--threads", type=int, default=8, help="Maximum simultaneous threads")
|
|
39
39
|
def log(config, group, course, user, unit, module, start, end, update, threads):
|
|
40
40
|
"Show repo logs"
|
|
41
41
|
if update:
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/status.py
RENAMED
|
@@ -39,8 +39,8 @@ measures = {
|
|
|
39
39
|
@click.option("-a", "--anonymous", is_flag=True, help="Hide usernames")
|
|
40
40
|
@click.option("-s", "--short", is_flag=True, help="Show short module names")
|
|
41
41
|
@click.option("-o", "--outfile", help="Save results as csv")
|
|
42
|
-
@click.option("--update", is_flag=True, help="Update repos first")
|
|
43
|
-
@click.option("--threads", type=int, default=8, help="Maximum simultaneous threads")
|
|
42
|
+
@click.option('-U', "--update", is_flag=True, help="Update repos first")
|
|
43
|
+
@click.option('-t', "--threads", type=int, default=8, help="Maximum simultaneous threads")
|
|
44
44
|
def status(config, group, course, user, unit, module, measure, anonymous, short,
|
|
45
45
|
outfile, update, threads):
|
|
46
46
|
"Show status of student repos by module"
|
|
@@ -37,7 +37,7 @@ class StudentRepos:
|
|
|
37
37
|
api = MWCAccountsAPI()
|
|
38
38
|
roster = api.get_roster(self.settings['mwc_accounts_token'])
|
|
39
39
|
for g in roster['teacher_groups']:
|
|
40
|
-
if group and (group not in g['
|
|
40
|
+
if group and (group not in g['group_name']) and (group not in g['group_slug']):
|
|
41
41
|
continue
|
|
42
42
|
if course and course not in g['course_name']:
|
|
43
43
|
continue
|
|
File without changes
|
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/curriculum.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/git_wrapper.py
RENAMED
|
File without changes
|
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/mwc_accounts_api.py
RENAMED
|
File without changes
|
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/setup/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/__init__.py
RENAMED
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/check.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/teach/update.py
RENAMED
|
File without changes
|
{making_with_code_cli-2.0.4 → making_with_code_cli-2.0.5}/making_with_code_cli/update/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|