teachers_pet icon indicating copy to clipboard operation
teachers_pet copied to clipboard

delete-repos command

Open efthym opened this issue 9 years ago • 5 comments

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 avatar Jan 27 '15 21:01 efthym

@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.

tarebyte avatar Jan 27 '15 21:01 tarebyte

I'm not sure where to start and my main work has caught up with me, so it could take a while...

efthym avatar Jan 28 '15 06:01 efthym

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?

meneguzzi avatar Jul 14 '15 21:07 meneguzzi

I think my code works fine.

PeterDaveHello avatar Jul 15 '15 06:07 PeterDaveHello

So, apologies for the ignorance here, but how do I merge this code to my current gem and start using the command?

meneguzzi avatar Jul 29 '15 15:07 meneguzzi