Re: [reviewboard for git] Error uploading diff

2016-06-02 Thread David Trowbridge
The "Raw File URL Mask" is wrong. Review Board requires interfaces which
are not available in the git remote APIs, so when using plain git
repositories (those not hosted by a service), you either need to have a
local checkout or use a frontend that allows individual file access such as
GitWeb or cgit.

See
https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/#raw-file-urls
for
details.

-David

On Thu, Jun 2, 2016 at 7:38 AM 尹慧贤  wrote:

>
>
>
>1.  The review board is installed on windows 7.
>2.  the git is deployed on ubuntu.
>3. the review board configuration as
>
>
>
> 
>4. the review board rc file:
>
>   REVIEWBOARD_URL = "http://135.242.156.181/reviewboard;
>   REPOSITORY = "http://192.168.112.128/git/itfm.git;
>  REPOSITORY = 'internal'
>  USERNAME = "andy"
>  PASSWORD = "123456"
>
>
> and the error output is :
>   root@ubuntu:/tmp/itfm# post-review --debug --parent=HEAD~8
> >>> RBTools 0.3.4
> >>> Home = /root
> >>> svn info
> >>> git rev-parse --git-dir
> >>> git config core.bare
> >>> git symbolic-ref -q HEAD
> >>> git config --get branch.master.merge
> >>> git config --get branch.master.remote
> >>> git config --get remote.origin.url
> >>> repository info: Path: http://192.168.112.128/git/itfm.git, Base
> path: , Supports changesets: False
> >>> HTTP GETting api/
> >>> HTTP GETting http://135.242.156.181/reviewboard/api/info/
> >>> Using the new web API
> >>> git merge-base origin/master refs/heads/master
> >>> git diff --no-color --full-index --no-ext-diff HEAD~8
> >>> git diff --no-color --full-index --no-ext-diff
> 793a79c2afe0beeabf03c39b7d718a1b12f45711..HEAD~8
> >>> Attempting to create review request on internal for None
> >>> HTTP POSTing to
> http://135.242.156.181/reviewboard/api/review-requests/: {'repository':
> 'internal'}
> >>> Review request created
> >>> Uploading diff, size: 82038
> >>> Uploading parent diff, size: 82013
> >>> HTTP POSTing to
> http://135.242.156.181/reviewboard/api/review-requests/35/diffs/: {}
> >>> Got API Error 207 (HTTP code 400): The file was not found in the
> repository.
> >>> Error data: {u'stat': u'fail', u'file': u'confd-wrapper/IDatabase.h',
> u'err': {u'msg': u'The file was not found in the repository.', u'code':
> 207}, u'revision': u'd1f51fe8636a7918edbe3c20d9528b40b64347e6'}
>
>
> Appreciate for any help...
>
>
>
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[reviewboard for git] Error uploading diff

2016-06-02 Thread 尹慧贤




   1.  The review board is installed on windows 7.
   2.  the git is deployed on ubuntu.
   3. the review board configuration as
   
   
   

   4. the review board rc file:
   
  REVIEWBOARD_URL = "http://135.242.156.181/reviewboard;
  REPOSITORY = "http://192.168.112.128/git/itfm.git;
 REPOSITORY = 'internal'
 USERNAME = "andy"
 PASSWORD = "123456"


and the error output is :
  root@ubuntu:/tmp/itfm# post-review --debug --parent=HEAD~8
>>> RBTools 0.3.4
>>> Home = /root
>>> svn info
>>> git rev-parse --git-dir
>>> git config core.bare
>>> git symbolic-ref -q HEAD
>>> git config --get branch.master.merge
>>> git config --get branch.master.remote
>>> git config --get remote.origin.url
>>> repository info: Path: http://192.168.112.128/git/itfm.git, Base path: 
, Supports changesets: False
>>> HTTP GETting api/
>>> HTTP GETting http://135.242.156.181/reviewboard/api/info/
>>> Using the new web API
>>> git merge-base origin/master refs/heads/master
>>> git diff --no-color --full-index --no-ext-diff HEAD~8
>>> git diff --no-color --full-index --no-ext-diff 
793a79c2afe0beeabf03c39b7d718a1b12f45711..HEAD~8
>>> Attempting to create review request on internal for None
>>> HTTP POSTing to 
http://135.242.156.181/reviewboard/api/review-requests/: {'repository': 
'internal'}
>>> Review request created
>>> Uploading diff, size: 82038
>>> Uploading parent diff, size: 82013
>>> HTTP POSTing to 
http://135.242.156.181/reviewboard/api/review-requests/35/diffs/: {}
>>> Got API Error 207 (HTTP code 400): The file was not found in the 
repository.
>>> Error data: {u'stat': u'fail', u'file': u'confd-wrapper/IDatabase.h', 
u'err': {u'msg': u'The file was not found in the repository.', u'code': 
207}, u'revision': u'd1f51fe8636a7918edbe3c20d9528b40b64347e6'}


Appreciate for any help...

   
   
 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.