teachers_pet
teachers_pet copied to clipboard
delete-repos command
It should help with managing a course with limited number of private repos by deleting and re-using repos, as discussed in education/teachers#28. It follows closely the create_repos action but deletes instead of creating. (could share code somehow)
I could not get this to work with username/password authentication. It only worked after creating a personal access token with a 'delete_repo' scope and using that token to login to Github.
@efthym, can you add specs for this feature?
I'd be more than happy to help you out as well, if you're not sure where to start.
I'm not sure where to start and my main work has caught up with me, so it could take a while...
I second the need for this feature, but from a quick check of the existing proposed code, there seems to be an issue with Github's API preventing this from being done programmatically (perhaps as a safeguard). Is there anyone working on this at the moment?
I think my code works fine.
So, apologies for the ignorance here, but how do I merge this code to my current gem and start using the command?