"Gerrit"의 두 판 사이의 차이

오픈소스 비즈니스 컨설팅
둘러보기로 가기 검색하러 가기
잔글
잔글
2번째 줄: 2번째 줄:
  
 
*홈페이지 : [https://www.gerritcodereview.com/ https://www.gerritcodereview.com/]
 
*홈페이지 : [https://www.gerritcodereview.com/ https://www.gerritcodereview.com/]
 +
**https://gerrit.googlesource.com/
 
*다운로드 : [https://gerrit-releases.storage.googleapis.com/index.html https://gerrit-releases.storage.googleapis.com/index.html]
 
*다운로드 : [https://gerrit-releases.storage.googleapis.com/index.html https://gerrit-releases.storage.googleapis.com/index.html]
**Plugin : https://gerrit-review.googlesource.com/Documentation/config-plugins.html
+
**Plugin : [https://gerrit-review.googlesource.com/Documentation/config-plugins.html https://gerrit-review.googlesource.com/Documentation/config-plugins.html]
 
*라이선스 : 
 
*라이선스 : 
 
*플랫폼 : [[Java|Java]], GWT (Google Web Toolkit)
 
*플랫폼 : [[Java|Java]], GWT (Google Web Toolkit)

2015년 7월 31일 (금) 11:41 판

Git을 사용하는, 구글의 안드로이드 프로젝트에서 사용하고 있는 코드리뷰 소프트웨어인 Gerrit를 정리 합니다.

Gerrit 개요

CentOS에서 Gerrit 설치

Apache HTTP Server 설치

yum install httpd httpd-tools openssl mod_ssl

vim /etc/httpd/conf.d/options.conf

    TraceEnable off

    ## Disable Signature
    ServerSignature Off

    ## Disable Banner
    ServerTokens Prod

vim /etc/httpd/conf.d/vhosts.conf


    # Load my vhosts
    Include vhosts.d/*.conf


mkdir /etc/httpd/vhosts.d

vim /etc/httpd/vhosts.d/gerrit.conf

  <VirtualHost *:80>
      ServerName gerrit.osscloud.biz

      ProxyRequests Off
      ProxyVia Off
      ProxyPreserveHost On

      <Proxy *>
                  Order deny,allow
                  Allow from all
      </Proxy>

      <Location /login/>
                  AuthType Basic
                  AuthName "Gerrit Code Review"
                  Require valid-user
                  AuthUserFile /etc/httpd/gerrit.htpasswd
      </Location>

      ProxyPass / http://127.0.0.1:8080/
  </VirtualHost>

htpasswd -c /etc/httpd/gerrit.htpasswd admin

service httpd restart


Gerrit 설치

cd ~/install

wget https://www.gerritcodereview.com/download/gerrit-2.11.2.war

java -jar ~/install/*.war init -d /cloudnas/appl/gerrit

vim /cloudnas/appl/gerrit/etc/gerrit.config

cd /cloudnas/appl/gerrit

./bin/gerrit.sh restart


사용 Port : 29418

Gerrit 한글화

gerrit.war 파일에 포함되어 있는 gerrit_ui/deferredjs/*/3.cache.js 파일에서 메시지를 찾아서 수정 합니다.

참고 문헌