Skip to content

Commit 8ea1912

Browse files
committed
Removing 1:1 question in setup
Discussing the question with @gusshawstewart, we don't really do 1:1 appointments any longer. Rather than having a confusing question that we continually say no, it would be better to remove it and revisit if the need arose again.
1 parent 2be2308 commit 8ea1912

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

script/create-files

-20
Original file line numberDiff line numberDiff line change
@@ -145,31 +145,11 @@ make_repo_private() {
145145
if ask "Are you ready to make this repo private?" Y; then
146146
# Make the repo private
147147
curl -s -S -i -u "$TOKEN_OWNER:$TEACHER_PAT" -d "{ \"name\": \"$collab_repo\", \"private\": true }" -X PATCH "$repo_endpoint" >>log.out 2>&1
148-
if ask "Does this class get 1:1 sessions?" N; then
149-
create_one_on_one_issue
150-
fi
151148
else
152149
echo "OK, just remember to make the repo private and add the info for booking 1:1 appointments to the README."
153150
fi
154151
}
155152

156-
create_one_on_one_issue() {
157-
# Create an issue for 1:1 appointments
158-
echo "$APPT_URL"
159-
issue_title="Booking 1:1 Appointments"
160-
issue_body="As part of this class, you will have the opportunity to book one-on-one time with a member of our training team to ask questions, review specific class topics, or get help with a scenario. Each student can book one appointment using the following link: $APPT_URL
161-
162-
These appointments will be available for 4 weeks after the end of this class.
163-
164-
FYI: "
165-
166-
for i in "${collaborators[@]}"; do
167-
issue_body=$issue_body"@$i "
168-
done
169-
170-
curl -s -S -i -u "$TOKEN_OWNER:$TEACHER_PAT" -d "{ \"title\": \"$issue_title\", \"body\": $issue_body }" -X POST "$repo_endpoint/issues" >>log.out 2>&1
171-
}
172-
173153
get_commenters() {
174154
# Array of commenters
175155
IFS=" " read -ra commenters <<<"$(

0 commit comments

Comments
 (0)