2013-02-27 2 views
-1

reviewboard를 설치했습니다. 로컬 GIT 저장소를 추가했습니다. 검토 요청 작성 중에 저장소를 선택할 수 있습니다. 그러나 저장소에서 파일을 선택하고 Diff로 추가하려고하면 '선택한 파일이 diff가 아닙니다.'라는 메시지가 나타납니다. 질문에 대한 답변이 있으면 알려주십시오. 감사합니다 ....ReviewBoard에서 검토 요청을 제기하는 중 오류가 발생했습니다.

답변

1
git diff <filename1> ><filename2>.diff 

이 파일은 diff 파일을 생성하는 데 사용할 수 있습니다.

0
Some helpful tips for reviewboard are: 

Log Settings: 
Check/Tick - Enable logging 
Log directory: /var/www/reviewboard 
Log Level: Debug 

Review board git configuration steps:: 
$ git config --global user.name "Chalpat Rauth" 
$ git config --global user.email [email protected] 
You can veryify the entries in vim ~/.gitconfig 
$ ssh-keygen -t rsa 
copy the public key ./root/.ssh/id_rsa.pub to gitlab as a new key 
chmod 700 -R /root/.ssh/ 
git clone [email protected]:testtest.git 
During configuration in ReviewBoard: 
Hosting service: None - Custom Repository 
Repository Type: Git 
Path: /var/www/reviewboard/code/testtest/.git 
Note the below: 
In path: /var/www/reviewboard/code/testtest/helloworld/src/test/java/com/sony/csx 
git add <file_name> 
git commit -m "This is second commit" 
git push 
git diff HEAD >DiffForReview 

LDAP Settings:: 
Check/Tick - Allow anonymous read-only access 
Authentication Method: LDAP 
LDAP Server: ldap://ldap.csx.sony.co.jp 
LDAP Base DN: dc=csx,dc=sony,dc=co,dc=jp 
Surname Attribute: csxUsername1 
Full Name Attribute: csxUsernameF 
E-Mail LDAP Attribute: mail 
User Mask: uid=%s 
관련 문제