Thanks Christian. After modifying the Apache path, I was able to add the
repo !

>From my local workspace (for the added repo), I am trying to post a review.
For this, I did the following, but am having issues with the diff.

   - postreview.py in my local workspace.
   - run postreview as: "postreview.py --guess-summary" & am getting this
   error. Review has been posted and I am also able to send the request to the
   reviewer, but without the diff information.

$> ../postreview.py --guess-summary
_make_url: path = api/json/reviewrequests/new/
_make_url:app = /
_make_url: joined URL =
http://<test-url>.com/api/json/reviewrequests/new/<http://%3ctest-url%3e.com/api/json/reviewrequests/new/>
_make_url: Resulting URL =
http://<test-url>.com/api/json/reviewrequests/new/<http://%3ctest-url%3e.com/api/json/reviewrequests/new/>
_make_url: path = api/json/reviewrequests/80/draft/set/
_make_url:app = /
_make_url: joined URL =
http://<test-url>.com/api/json/reviewrequests/80/draft/set/<http://%3ctest-url%3e.com/api/json/reviewrequests/80/draft/set/>
_make_url: Resulting URL =
http://<test-url>.com/api/json/reviewrequests/80/draft/set/<http://%3ctest-url%3e.com/api/json/reviewrequests/80/draft/set/>
_make_url: path = api/json/reviewrequests/80/draft/save/
_make_url:app = /
_make_url: joined URL =
http://<test-url>.com/api/json/reviewrequests/80/draft/save/<http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/draft/save/>
_make_url: Resulting URL =
http://<test-url>.com/api/json/reviewrequests/80/draft/save/<http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/draft/save/>
_make_url: path = api/json/reviewrequests/80/diff/new/
_make_url:app = /
_make_url: joined URL =
http://<test-url>.com/api/json/reviewrequests/80/diff/new/<http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/diff/new/>
_make_url: Resulting URL =
http://<test-url>.com/api/json/reviewrequests/80/diff/new/<http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/diff/new/>
Error uploading diff: One or more fields had errors (105)
Your review request still exists, but the diff is not attached.
Thanks for the help !
Sapna

On Tue, Jul 6, 2010 at 2:43 PM, Christian Hammond <chip...@chipx86.com>wrote:

> Sounds like git is not in the path. If that's the error you're getting,
> then it's definitely not finding that in the PATH that Apache sees.
>
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
>   On Tue, Jul 6, 2010 at 2:39 PM, Sapna Vempati <sapnavemp...@gmail.com>wrote:
>
>>   I am still not able to set RB for git.
>>
>> This is the local path where I have a workspace. This is the copy of the
>> main repository. To setup initially, will use this local path and not cgit
>> (just by periodic pull of main repository, to this local path):
>> /projects/mobcom_andrbuilds/users/reviewboard.
>>
>> I specified, the following in RB webpage, under *admin --> repositories,*
>> **
>> *Hosting service::* custom
>> *Repository type::* git
>> *path:*/projects/mobcom_andrbuilds/users/reviewboard/brcm_tools/scripts/.git
>> *mirror path::* <empty>
>> *Raw file URL mask::* <empty>
>>
>> When I try to save, I get this error:
>> The executable "git" is not in the path.
>> I am not sure what I am missing. BTW, I have RB 1.5 Beta2 installed.
>>
>> Thanks for the help again,
>> Sapna
>>   On Thu, Jul 1, 2010 at 6:26 PM, Christian Hammond 
>> <chip...@chipx86.com>wrote:
>>
>>>   On Thursday, July 1, 2010, Sapna Vempati <sapnavemp...@gmail.com>
>>> wrote:
>>> > Hi Christian,
>>> > I am trying to configure a repository on our RB test server, and am
>>> having trouble filling these fields below,
>>> >
>>> > When I am under--- admin ---> repositories,
>>> >
>>> > path:  (It says) For git, this should be the path to the .git
>>> repository on the local disk.
>>> >
>>> > But the repo is not on the local disk, but on a central repository. Can
>>> I have the unix path to our central server on ubuntu ? (Since I am going to
>>> use cgit, I assume I don't have to clone the central repository to my local
>>> ?)
>>>
>>>
>>> This only needs to point to a local clone if you're not using the raw
>>> URL path. Otherwise, it should be the upstream path.
>>>
>>> >
>>> >
>>> > mirror path: <Blank> ?
>>> >
>>> > Raw file URL Mask:
>>> > for example: The upper-level directory url with all paths to the .gits
>>> is: http://mobcom-git.sj.broadcom.com/cgi-bin/cgit.cgi/git_repos (say
>>> under here I need to set to this repo: git_repos/repo_tools/scripts.git)
>>> >
>>> > How will I get the <filename> (can be a lot of file in this repo) &
>>> <revision>, as suggested on your website for this field.
>>> >  <
>>> http://mobcom-git.sj.broadcom.com/cgi-bin/cgit.cgi/git_repos/repo_tools/scripts.git/
>>> >
>>>
>>> It's intended as a mask. The <filename> and <revision> are literala,
>>> which Review Board will automatically replace with the needed
>>> filename.
>>>
>>> This is being reworked for the final release and will be easier then.
>>>
>>> Christian
>>>
>>> --
>>> --
>>> Christian Hammond - chip...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>> --
>>>  Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~----------~----~----~----~------~----~------~--~---
>>> To unsubscribe from this group, send email to
>>> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>>> For more options, visit this group at
>>> http://groups.google.com/group/reviewboard?hl=en
>>>
>>
>> --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>>
>
> --
>  Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to