Hello everybody,
I’ve tried to create a GitLab in ReviewBoard. It looks simple first
from rbtools.api.client import RBClient
client = Client('http://localhost:8080/',username='username',password=
'password')
root = client.get_root()
repos = root.get_repositories()
repos.create(name='myRepository', tool='Git', path=
'server:myGroup/myTestRepository.git', trust_host=1)
I get an exception:
APIError: Unable to authenticate with the repository using the provided
credentials. (HTTP 403, API Error 218)
… the GitLab exists, user and password are correct too. I see reasons for
HTTP 403 exception are no authorization or a *https* URL is calling by
*http*.
Is it true? Is the create() only possible if git ist powered by http or is
an another problem possible?
Thanks Daniel
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.