For my test suite, I create a perforce repo using the api this way:
from rbtools.api.client import RBClient
client = RBClient("http://localhost")
root = client.get_root()
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.
> On Thursday, April 23, 2015 at 2:45:15 AM UTC+5:30, Christian Hammond
>> 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 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:
>>> 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.
>>> Supercharge your Review Board with Power Pack:
>>> Want us to host Review Board for you? Check out RBCommons:
>>> 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:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.