github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.34k stars 565 forks source link

Don't count student commits toward user contribution activity #2147

Open brghena opened 5 years ago

brghena commented 5 years ago

Feature request :sparkles:

This is obviously low priority, but one really annoying feature of Github Classroom is that it wrecks the "Contribution Activity" of whoever set it up.

For example, on my Github profile it says that in July I had 1991 commits in 548 repositories. While I did feel like it was a productive month, I think I can only claim about 100 of those. The rest are from students committing to their classroom repos.

Is there some way to divorce student activity from my own?

d12 commented 5 years ago

Hey!

This is a great feature request, you're totally right, GitHub will associate all the starter code commits to your own account.

One way to lessen that a bit is to use the new template repo way of using starter code. Docs aren't published yet, but I can point you towards the in-progress PR: https://github.com/education/classroom/pull/2110

The only way this helps is by collapsing starter code into a single commit in all generated repos. So instead of n commits per student repo, you'll have 1 commit per student repo.

I'm sure we can do something better about this in the future, I'll throw a feature-request label on this and we'll get to it when we can!