Group
1. access gerrit sql database
cmd: ssh -p 29418 150.236.40.165 gerrit gsql
2. gerrit> delete from ACCOUNT_GROUP_NAMES where name='group name';
3. gerrit> delete from ACCOUNT_GROUPS where name='group name';
Project
1. access gerrit sql database
cmd: ssh -p 29418 150.236.40.165 gerrit gsql
2. gerrit> delete from projects where name=<project name>;
3. gerrit> delete from ref_rights where project_name=<project name>;
4. go to folder /gerrit/review_site/git, remove <project name>.git
Example for remove project:
Step 1:
ecdshawk@mtvserver2:/project/ecds/gerrit/review_site/db>ssh -p 29418 150.236.40.165 gerrit gsql
Welcome to Gerrit Code Review 2.1.6.1
(H2 1.2.134 (2010-04-23))
Type '\h' for help. Type '\r' to clear the buffer.
gerrit>
Step 2:
gerrit> delete from projects where name='rmproject';
UPDATE 1; 1 ms
Step 3:
gerrit> delete from ref_rights where project_name='rmproject';
UPDATE 1; 1 ms
Step 4:
ecdshawk@mtvserver2:/project/ecds/gerrit/review_site/git>ls
fproject.git rmproject.git
ecdshawk@mtvserver2:/project/ecds/gerrit/review_site/git>rm -rf rmproject.git/
ecdshawk@mtvserver2:/project/ecds/gerrit/review_site/git>ls
fproject.git
Note: The projects is removed from database with Gerrit version 2.2. The method is simply. Delete project folder from Gerrit repo folder directly and restart Gerrit service.
- 浏览: 309723 次
文章分类
最新评论
-
ZT71363387:
多谢,帮我解决了抄送人收不到邮件的问题
python smtplib -
dsjt:
pythonw.exe 运行后无反应。版本不匹配啊。
python+PyQT+Eric安装配置 -
dsjt:
xp 32位系统安装eric后,目录下没有 .bat文件是怎么 ...
python+PyQT+Eric安装配置
发表评论
-
How to modify existing, unpushed or pushed commits?
2017-06-20 16:43 576https://stackoverflow.com/ques ... -
git diff提示filemode发生改变(old mode 100644、new mode 10075)
2017-06-10 09:32 1852今天在提交代码之前 git status了一下,发现一 ... -
Playing With Gerrit Jira Plugin
2017-06-09 16:10 694Playing With Gerrit Jira Plugi ... -
Gerrit mysql error: Communications link failure
2017-05-24 15:31 1038fatal: DbInjector failed f ... -
Gerrit replication.config
2017-03-16 19:15 1797replication.config [remote &q ... -
Gerrit命令
2017-03-10 10:33 1797查看可见的群组 ssh -p 29418 admin@lo ... -
Make Gerrit look for new repositories
2017-03-08 19:01 583Command line alternative Copy ... -
gitlab 项目迁移
2017-03-04 11:45 2764gitlab项目迁移: 一: 场景 目前有 ... -
Gerrit reviewer plugin
2017-02-20 11:20 1059https://gerrit.googlesource.co ... -
One or more refs/for/ names blocks change upload
2017-02-16 12:23 944One or more refs/for/ names ... -
Python的高级Git库 Gittle安装使用方法
2017-02-15 18:29 2365本文为大家讲解的是Python的高级Git库 Gittle ... -
GitPython 库
2017-02-15 18:25 1150GitPython is a python library ... -
Why does Gerrit not include the change-id into merge commits?
2017-01-20 10:23 550The underlying pro ... -
How to use gerrit gsql -c option
2017-01-06 19:35 1003You have to ensure the quotes ... -
Pygerrit - Client library for interacting with Gerrit Code Review
2016-12-20 14:11 1121https://github.com/sonyxperia ... -
git 取得两个 tag 之间的 commit
2016-11-26 13:10 2142参考:http://stackoverflow.com/qu ... -
gerrit集成gitweb所需的权限设置
2016-11-14 11:46 1017在以前发的博文里提到如何在gerrit里集成gitweb。集成 ... -
Ubuntu Git 版本升级
2016-11-05 14:52 605安装命令: sudo add-apt-repository ... -
repo upload Uncomment the branches to upload:
2016-10-09 11:34 933$ repo upload 如果有多个项目同时进行了改动, ... -
Repo/Git 使用手冊, android開發圖說如何使用指令
2016-10-09 11:13 913安裝repo 參考:http://source.andro ...
相关推荐
Utility script remove-notedb-refs.sh which can be used to remove all refs created for NoteDb in case of rollback to ReviewDb. Issue 11356: Allow to override autodetected Lucene index configuration. ...
Gerrit is a code review and project management tool for Git based projects.附件是最新版本gerrit的源码,可以进行源码的直接安装。
gerrit使用文档手册,适合新手学习gerrit
gerrit-3.6.1安装包
Gerrit Code Review 搭建gerrit平台所需工具 官方最新版本
a guide for gerrit user
This release includes a fix for the file handle leak when GC is scheduled, improvements in Elasticsearch integration, and various other fixes and improvements. Please see the release notes for ...
Note: There is a slight mirroring lag between when a change is visible on the web in Gerrit and when repo download will be able to find it for all users, because of replication delays to all servers ...
Git/Gerrit Manual,常用命令,基本配置
agile methodologies that worked well enough with co-located teams now need to be empowered with additional tools such as Gerrit code review to allow the developers to share, discuss, and cooperate in...
gerrit-2.15-rc4.war,gerrit 最新稳定版本 gerrit 最新稳定版本
Gerrit 中文配置使用
windows 搭建git,gerrit代码审核平台
Push notifications requires cloud-notifications plugin installed in the Gerrit server instance. You can grab a binary distribution of the plugin here. Contribute Visit Github to get the source, req
本文档详细介绍了如何在linux系统下安装ldap、gerrit、gitweb的安装流程。还包括gerrit的ldap认证配置,gerrit+gitweb集成化安装部署流程。
Gerrit使用方法说明 Gerrit上代码提交的三种状态 代码提交至Gerrit之后,有三种状态,分别是:Open、Merged、Abandoned。 Open 状态的代码需要经过Review,Verify,Submit操作后才会真正入库,即成为Merged状态 ...
gerrit使用指南.pdf
gerrit-2.8.1.war gerrit-2.8.1.war gerrit-2.8.1.war
Continuous Deployment with Gerrit and Jenkins
Leverage the power of Gerrit Code Review to make software development more cooperative and social Overview Understand the concepts of collective code review using Gerrit through a set of simple ...