On Thursday, June 27, 2013 8:49:39 AM UTC+2, Marius Mårnes Mathiesen wrote:
Lars Tandle Kyllingstad writes:
How can I delete a project (along with any repositories in it) using the
console? The user which created the project no longer exists, and it
doesn't seem possible to do it as an admin user via the web interface.
Lars,
Assuming you know how to run the console (as described in
http://getgitorious.com/documentation/admin-guide.html#sec-1-3), you
should do something along these lines:
project = Project.find_by_slug(project name)
project.destroy
That should be it.
Thanks! That did the trick. It did not delete the repositories/project
name directory, however, but I assume it is safe to remove it manually?
--
--
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups
Gitorious group.
To unsubscribe from this group and stop receiving emails from it, send an email
to gitorious+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.