I can create a project in Gerrit through:
ssh –p 29418 [ip-address] gerrit create-project --name [project-name]
But, how can I delete any project? I haven’t see related commands or buttons on web page.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Notice: Since this question was origionally asked, I’ve released the delete project plugin, and handed it off to the more active Gerrit devs. If you are using Gerrit >= 2.7, I’d recommend this route. If not, read on.
There isn’t a method to delete projects from Gerrit currently. It must be done by hand. This is the most-requested feature of Gerrit.
There are two steps to delete a project by hand:
Delete the repository from the server’s file system
Delete any references of the repository from the database. The tables to purge depend on the version of Gerrit you are running – the projects table was removed in 2.2.0 for example.
If you’re deleting a project on an active Gerrit server, you should consider shuting down Gerrit before.