Thanks for the help Steve! I'll check this out. :)

Regards,
Gaurav


On Thursday, April 23, 2015 at 10:27:54 PM UTC+5:30, Steve wrote:
>
> For my test suite, I create a perforce repo using the api this way:
>
> from rbtools.api.client import RBClient
>
> client = RBClient("http://localhost";)
> client.login("sallan", "sallan")
> root = client.get_root()
> root.get_repositories().create(name='perforce', tool="Perforce", 
> path="localhost:1492")
>
> --Steve
>
>
> On Thursday, April 23, 2015 at 3:43:18 AM UTC-7, GC wrote:
>>
>> Thanks for the reply Christian. As far as our requests related to 
>> repositories is concerned, it’s only about adding (not updating) Name, 
>> Repository type, Path and Mirror path.
>>
>>
>> I checked the API link for repository resource. Although I could find 
>> fields for Name, Path and Mirror path, i could not find any field for 
>> ‘Repository type’ (Bazaaar, Clearcase, CVS etc). Is ‘tool’ field what I’m 
>> looking for? More importantly, it looks like the API supports only updation 
>> not addition. Please correct me if I’m wrong. 
>>
>>
>>
>> https://www.reviewboard.org/docs/manual/2.5/webapi/2.0/resources/repository/
>>
>>
>>
>> Regards,
>>
>> Gaurav 
>>
>>
>>
>> On Thursday, April 23, 2015 at 2:45:15 AM UTC+5:30, Christian Hammond 
>> wrote:
>>>
>>> Hi,
>>>
>>> We don't provide a tool for adding those (though that'd be a handy 
>>> project for someone to work on). We do have an API, though, for 
>>> adding/manipulating repositories, default reviewers, review requests, and 
>>> just about anything else.
>>>
>>> It does not support adding users, though. Most people use an LDAP or 
>>> Active Directory server when they need that kind of ability. That said, I'm 
>>> not opposed to adding that functionality, but it'd be low on our todo list, 
>>> so the best way to get that into the product is by writing a patch and 
>>> contributing it.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>> On Wed, Apr 22, 2015 at 3:04 AM, GC <varuag....@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>> Does Review Board provides a CLI for administrators? We use Git as our 
>>>> version control system and we receive following requests from time-to-time:
>>>>
>>>> Add repository
>>>> Add user
>>>> Add reviewers (Not very frequent)
>>>>
>>>> Although these operations don’t consume much time, I would like to 
>>>> automate them, if possible.
>>>>
>>>>
>>>> Thanks
>>>>
>>>> -- 
>>>> 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...@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.

Reply via email to