Giuseppe,

There's no way of configuring it via the command-line. The repository has
to be set up in the Review Board admin UI first. Are you still getting the
same error with the correct P4PORT string?


"rbt setup-repo" is for configuring RBTools (creating a .reviewboardrc
file). This is for after you've set it up in the web UI. The command is
poorly named, and we're hoping to improve it (and rename it) in the future.

-David

On Tue, Jan 9, 2018 at 3:00 AM Giuseppe Salvatore <
giuseppe.salvat...@gmail.com> wrote:

> Hi David,
>
> thanks for your reply. Yes I tried that as well but didn't work. I am
> wondering if there's anyway of doing it using command line. I tried also
> using rbt setup-repo command but I am not sure if that's equivalent of
> doing it from RB web dashboard.
>
> BTW also rbt setup-repo doesn't work. If I put perforce.server.com:1666
> (just an example) the error message is also quite confusing, it says
>
> ERROR: The current directory does not contain a checkout from a supported
> source code repository.
>
> Running that command in debug mode, it looks like checks with the known
> repository tools, but then when it finds one (p4 info in my case succeeds)
> then it wants probably the current directory to be on a perforce workspace
>
> Any ideas?
>
> Thanks
> Giuseppe
>
>
> On Monday, 8 January 2018 19:16:51 UTC, David Trowbridge wrote:
>
>> Giuseppe,
>>
>> The path should be the P4PORT setting. So it should look something like "
>> perforce.example.com:1666"
>>
>> -David
>>
>> On Mon, Jan 8, 2018 at 11:08 AM Giuseppe Salvatore <
>> giuseppe....@gmail.com> wrote:
>>
> Hi,
>>> I am trying to add a perforce repository in the list of available
>>> repositories. Unfortunately it looks like from the admin dashbord this
>>> can't be done. In REPOSITORY INFORMATION -> Path  it is not really clear
>>> what is should go. From the description I am assuming p4server:p4port but
>>> that doesn't work and the error message is confusing. Says
>>>
>>> A repository was not found at the specified path.
>>>
>>> It is not clear if I have to put the path of the local p4
>>> workspace/client. It wouldn't make sense to me.
>>>
>>> Any comment will be appreciated
>>>
>>> Thanks,
>>> Giuseppe
>>>
>>> --
>>> 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 "Review Board Community" 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/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
> "Review Board Community" 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 
"Review Board Community" 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.

Reply via email to