This is where you'd use a .reviewboardrc file with the REPOSITORY setting
or the --repository-url parameter. Please read the post-review
documentation for details.

-David


On Sat, Apr 20, 2013 at 12:26 AM, chuck j <cjerry2...@gmail.com> wrote:

> But adding ssl gives me
>
> >>> HTTP POSTing to http://svrb1.company.com/svrb/api/review-requests/:
> {'changenum': '191316', 'submit_as': 'chuck', 'repository':
> 'pf-sa-perforce:19773'}
>
> >>> Got API Error 206 (HTTP code 400): The repository path specified is
> not in the list of known repositories
>
> >>> Error data: {u'stat': u'fail', u'repository': u'pf-sa-perforce:19773',
> u'err': {u'msg': u'The repository path specified is not in the list of
> known repositories', u'code': 206}}
>
> just let you know in reviewboard server repository is added with name *
> ssl:pf-sa-perforce:19773*
>
> Then its seems that somehow rbt is searching the repository with name
> pf-sa-perforce:19773 which is incorrect. Any other solution you want me to
> try.
>
>
>
> On Saturday, April 20, 2013 12:43:00 PM UTC+5:30, David Trowbridge wrote:
>
>> post-review will execute the 'p4' command using the port that you're
>> passing into --p4-port. If you have a valid P4PORT environment variable
>> that you'd prefer to use, don't pass --p4-port. Since it looks like the
>> server at pf-sa-perforce:19773 refuses non-SSL connections, then you
>> probably do need the ssl: prefix.
>>
>> -David
>>
>>
>> On Sat, Apr 20, 2013 at 12:10 AM, chuck j <cjerr...@gmail.com> wrote:
>>
>>> Hi David,
>>>
>>> As you mentioned that adding prefix ssl to --p4-port is not required, i
>>> did that but i got message which ask me add ssl to P4PORT.
>>>
>>> DEBUG:root:Checking for a Perforce repository...
>>> DEBUG:root:Running: p4 info
>>>
>>> DEBUG:root:Running: diff --version
>>> DEBUG:root:repository info: Path: pf-sa-perforce:19773, Base path: None,
>>> Supports changesets: True
>>>
>>> INFO:root:Generating diff for changenum 191316
>>> DEBUG:root:Running: p4 describe -s 191316
>>>
>>> post-review.exe  -o  --bugs-closed="TAI3039" --branch="MAIN" --server=
>>> http://svrrb1.**company.com/svr--submit-as=**chuck<http://svrrb1.company.com/svr--submit-as=chuck>--description-file="c:\users\
>>> **chuck\appdata\local\temp\**tmpgqtcfa" 191316
>>> --p4-port="pf-sa-perforce:**19773"
>>>
>>> posting review request...
>>> >>> RBTools 0.4.3
>>>
>>> >>> Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
>>> (Intel)]
>>>
>>> >>> Running on Windows-Vista-6.1.7601
>>>
>>> >>> Home = C:\Users\chuck\AppData\Roaming
>>>
>>> >>> Current Directory = d:\pf_ch_ws
>>>
>>> >>> Checking the repository type. Errors shown below are mostly harmless.
>>>
>>> >>> Finished checking the repository type.
>>>
>>> >>> HTTP GETting api/info/
>>>
>>> Failed to execute command: ['p4', 'describe', '-s', '191316']
>>>
>>> ['Failed client connect, server using SSL.\n', 'Client must add SSL
>>> protocol prefix to P4PORT.\n']
>>>
>>> Please help.
>>>
>>> -Chuck
>>>
>>>
>>> On Saturday, April 20, 2013 12:11:00 AM UTC+5:30, David Trowbridge wrote:
>>>
>>>> If the p4port on the client matches that on the server, it will use
>>>> that to figure out which repository to post against.  If it doesn't (which
>>>> is what you're describing), you need to specify it manually, either with
>>>> command-line arguments or a .reviewboardrc file.
>>>> -David
>>>>
>>>>
>>>> On Fri, Apr 19, 2013 at 11:38 AM, chuck j <cjerr...@gmail.com> wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> But while posting to non ssl base reviewboard i didn't require
>>>>> .reviewbaordrc. why it's require for this? where this file should be
>>>>> present. What should be content of .reviewboardrc.
>>>>>
>>>>> -chuck.
>>>>>
>>>>>
>>>>>
>>>>> On Friday, April 19, 2013 2:05:56 PM UTC+5:30, David Trowbridge wrote:
>>>>>>
>>>>>> post-review (and rbt post) shouldn't require the ssl: prefix, but you
>>>>>> probably will want to create a .reviewboardrc with the repository name.
>>>>>>
>>>>>> -David
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 19, 2013 at 1:31 AM, chuck j <cjerr...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> For ssl enabled perforce, while posting a review request, is it
>>>>>>> mandatory to pass --p4-port='ssl:pf-server:1234' or normal port i.e
>>>>>>> --p4-port=pf-sserver:1234' will work?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Chuck.
>>>>>>>
>>>>>>> --
>>>>>>> Want to help the Review Board project? Donate today at
>>>>>>> http://www.reviewboard.org/**don**ate/<http://www.reviewboard.org/donate/>
>>>>>>> Happy user? Let us know at 
>>>>>>> http://www.reviewboard.org/**use**rs/<http://www.reviewboard.org/users/>
>>>>>>> -~----------~----~----~----~--****----~----~------~--~---
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> reviewboard...@googlegroups.**co**m
>>>>>>> For more options, visit this group at http://groups.google.com/**
>>>>>>> group**/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en>
>>>>>>> ---
>>>>>>> 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...@googlegroups.**co**m.
>>>>>>> For more options, visit 
>>>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>>>> .
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>  --
>>>>> Want to help the Review Board project? Donate today at
>>>>> http://www.reviewboard.org/**don**ate/<http://www.reviewboard.org/donate/>
>>>>> Happy user? Let us know at 
>>>>> http://www.reviewboard.org/**use**rs/<http://www.reviewboard.org/users/>
>>>>> -~----------~----~----~----~--****----~----~------~--~---
>>>>> To unsubscribe from this group, send email to reviewboard...@**
>>>>> googlegroups.**com
>>>>> For more options, visit this group at http://groups.google.com/**group
>>>>> **/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en>
>>>>> ---
>>>>> 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...@**googlegroups.**com.
>>>>> For more options, visit 
>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>> .
>>>>>
>>>>>
>>>>>
>>>>
>>>>  --
>>> Want to help the Review Board project? Donate today at
>>> http://www.reviewboard.org/**donate/<http://www.reviewboard.org/donate/>
>>> Happy user? Let us know at 
>>> http://www.reviewboard.org/**users/<http://www.reviewboard.org/users/>
>>> -~----------~----~----~----~--**----~----~------~--~---
>>> To unsubscribe from this group, send email to reviewboard...@**
>>> googlegroups.com
>>> For more options, visit this group at http://groups.google.com/**
>>> group/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en>
>>> ---
>>> 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...@**googlegroups.com.
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> 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
> ---
> 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/groups/opt_out.
>
>
>

-- 
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
--- 
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/groups/opt_out.


Reply via email to