githubtraining / githubtraining/training-manual

jq errors with teach-class script

Open
#371 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
340
Forks
375
PR merge metrics
No merged PRs in 30d

Description

The training-manual scripts ran fine for the last Developer workshop.

Yesterday, I started getting this:

What would you like to do? (Just the number please)
99: Exit
0: Confirm setup
1: Create a new caption-this class repository
2: Add collabs and create files (also makes the repo private)
3: Grade the day 1 repo
4: Create conflict repos for each student
5: Grade the conflict repos
6: Create the github-games repos for each student
7: Delete student repos for a specific class
8: Grade client
4

What is the name of the day 1 repo?

pratice-conflict

Running script/create-practice-repos

jq: error (at :0): Cannot index string with string "login"

jq: error (at :0): Cannot index string with string "invitee"

./create-practice-repos: line 65: collaborators[@]: parameter null or not set

I have uninstalled the requirements and reinstalled them. Create 2 new orgs for testing.

I get the same error running the script (#4) on all 3 orgs.

Any thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.