Assignment "Copy the default branch only" setting not working
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- backend
Research direction
Start by reproducing the GitHub Classroom assignment flow with a repository containing two branches and the "Copy the default branch only" setting enabled. Compare the starter code repository's branches and default branch with the source repository; done means only the source default branch is copied and remains the default.
Written by the indexing model from the issue text.
Description
I've created 3 assignments over the past week, each from a repository that has two branches. Even though I've checked the "Copy the default branch only" setting, the resultant starter code repository has contained both of the original branches. In one case, "main" was not preserved as the default branch. This seems like a pretty big problem if, for example, one of the branches is a solution branch.
I've tried going to the starter code repository and deleting the extra branches, before distributing the assignment, and that seems to be a workaround for now. Needless to say, it would be nice not to need that extra step 🙂
Edit: I got here by googling "github classroom issues" but I now wonder if that was a mistake: where is the correct place to go to report issues with the github classroom website, not necessarily the cli tool?
- Dominant language
- Go
- Stars
- 126
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/gh-classroom
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
github/gh-classroom#95 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/gh-classroom#21 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
github/gh-classroom#116 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
github/gh-classroom#110 ·
-
Sanitize Team name Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
github/gh-classroom#109 ·
All issues in github/gh-classroom
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·