diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2024-09-30 19:55:35 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-09-30 19:55:35 +0530 |
commit | 423154f8236a3a27c1a6b2755039bae848dcd86f (patch) | |
tree | 3056b4e4226091377708bfd56ace9cffbd8085ab | |
parent | a5ef5b2671069f29bae6b7e45fddd13cd8e0d8ae (diff) |
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | accounts.yaml | 41 | ||||
-rw-r--r-- | teams.json | 50 | ||||
-rw-r--r-- | teams.yaml | 5 |
4 files changed, 87 insertions, 11 deletions
@@ -10,3 +10,5 @@ - First Argument: Problems Directory #### `teams.*`: Format for teams upload. + +#### `accounts.yaml`: Import accounts. Looks like `teams.json` is unnecessary as teams are auto-created. diff --git a/accounts.yaml b/accounts.yaml new file mode 100644 index 0000000..4c1deb7 --- /dev/null +++ b/accounts.yaml @@ -0,0 +1,41 @@ +- id: demo1 + username: demo1 + password: demoteam1 + type: team + team_id: "8" + +- id: demo2 + username: demo2 + password: demoteam2 + type: team + team_id: "2" + +- id: demo3 + username: demo3 + password: demoteam3 + type: team + team_id: "3" + +- id: demo4 + username: demo4 + password: demoteam4 + type: team + team_id: "4" + +- id: demo5 + username: demo5 + password: demoteam5 + type: team + team_id: "5" + +- id: demo6 + username: demo6 + password: demoteam6 + type: team + team_id: "6" + +- id: demo7 + username: demo7 + password: demoteam7 + type: team + team_id: "7" @@ -1,6 +1,44 @@ -[{ - "id": "1", - "label": "1", - "group_ids": ["24"], - "name": "someteam" -}] +[ + { + "id": "8", + "label": "1", + "group_ids": ["3"], + "name": "demoteam1" + }, + { + "id": "2", + "label": "2", + "group_ids": ["3"], + "name": "demoteam2" + }, + { + "id": "3", + "label": "3", + "group_ids": ["3"], + "name": "demoteam3" + }, + { + "id": "4", + "label": "4", + "group_ids": ["3"], + "name": "demoteam4" + }, + { + "id": "5", + "label": "5", + "group_ids": ["3"], + "name": "demoteam5" + }, + { + "id": "6", + "label": "6", + "group_ids": ["3"], + "name": "demoteam6" + }, + { + "id": "7", + "label": "7", + "group_ids": ["3"], + "name": "demoteam7" + } +] diff --git a/teams.yaml b/teams.yaml deleted file mode 100644 index f240669..0000000 --- a/teams.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- id: demo1 - username: demo1 - password: demoteam1 - type: team - team_id: 1 |