We have set up a few GitHub Classroom assignments, and very recently a number of students are finding that they don’t have a “Work in Repl” badge being added to their README.md file when they clone (i.e. accept the GH Classroom invitation link). It has happened in the past for some students. I then delete their repo myself (from GitHub) and ask them to re-accept the invitation link. That seemed to fix it a few months ago (for the very rare occasions that happened). But more recently, we’ve noticed it is happening a lot more often. What’s more, when I delete their repo and ask them to accept it again, same problem. It consistently won’t work for some students.
I noticed this post, seems like a known issue?
We don’t have test cases set up for the GitHub Classroom, and I would rather not fiddle with settings every time to try and “fix” things (chances are it will only cause more problems).
Is there at least a Plan B solution, where I can manually add a “Work in Repl” badge directly into the README.md file? But I think for this to work, I need to know what the student’s “assignment_repo_id” is, as I noticed this is the underlying link of the badge (e.g. 12345678)
I suspect this link is what tells Repl that the project is free (students cannot make free private Repls unless they are automatically cloned from GitHub Classroom – and yes aware they can upgrade for 3 months free but at the moment wanting a proper solution).
Any suggestions on how I can extra what the “assignment_repo_id” is, would possibly be the best solution in the short term.
EDIT: as a temporary hack, I have asked some students to manually make a new Repl (from repl.it) and then associated it with their assignment GitHub repo. This then makes the Repl for them to work in. I’m not sure if this automatically makes the Repl “private” (the Repl – not referring to the GitHub repo)? It seemed to make it private in this case, is it because it knows the student’s GitHub repo is tied to a GH Classroom assignment? Anyway, after this step, we manually added a “Work in Repl” badge in the README.md, and tied it to the repl.it URL for that assignment. It seems to work… but like I said, I am unsure if this is a safe often all the time, as I am aware that Repls aren’t private unless they are spawned from a GitHub Classroom invite. So, I am just a bit nervous if students end up making public Repl workspaces for their assignment.