Hi ReviewBoard,

I have added two svn and git repo in reviewboard admin page
for svn:
added successful and .reviewboardrc file generated

for GIT:
Path: /var/www/reviews.tilte.com/TILTE_GIT.git
Mirror Path: /var/www/reviews.tilte.com/TILTE_GIT.git

TILTE_GIT.git config:
$ <TILTE_GIT.git>$ vi config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = true
[remote "origin"]
        url = ssh://[email protected]/home/tilte/git_checkout/TILTE
        fetch = +refs/*:refs/*
        mirror = true

repository Path: /home/tilte/git_checkout/TILTE
running command 
$rbt setup-repo -d

[root@localhost TILTE]# rbt setup-repo -d
>>> RBTools 0.7.4
>>> Python 2.7.8 (default, Sep 24 2015, 18:25:44) 
[GCC 4.9.2 20150212 (Red Hat 4.9.2-6)]
>>> Running on Linux-4.1.13-100.fc21.i686-i686-with-fedora-21-Twenty_One
>>> Home = /root
>>> Current directory = /home/tilte/git_checkout/TILTE
Enter the Review Board server URL: 10.203.252.13
>>> Running: git version
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info
>>> Command exited with rc 1: ['svn', '--non-interactive', u'info']
svn: E155007: '/home/tilte/git_checkout/TILTE' is not a working copy
---
>>> Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Running: git config core.bare
>>> Running: git symbolic-ref -q HEAD
>>> Running: git config --get branch.master.merge
>>> Command exited with rc 1: ['git', 'config', '--get', 
u'branch.master.merge']
---
>>> Running: git config --get branch.master.remote
>>> Command exited with rc 1: ['git', 'config', '--get', 
u'branch.master.remote']
---
>>> Running: git config --get remote.origin.url
>>> repository info: Path: 
ssh://[email protected]/home/tilte/git_checkout/TILTE, Base path: , 
Supports changesets: False
>>> Making HTTP GET request to http://10.203.252.13/api/
>>> Got HTTP error: 504: <html><head><title>504 Gateway 
Timeout</title></head>
<body><h1>Gateway Timeout</h1>
<p>Server error - server 10.203.252.13 is unreachable at this 
moment.<br><br>Please retry the request or contact your 
administrator.<br></p>
<!--Zscaler/6.0--></body></html>
Traceback (most recent call last):
  File "/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')()
  File "/usr/lib/python2.7/site-packages/rbtools/commands/main.py", line 
133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/usr/lib/python2.7/site-packages/rbtools/commands/__init__.py", 
line 612, in run_from_argv
    exit_code = self.main(*args) or 0
  File "/usr/lib/python2.7/site-packages/rbtools/commands/setup_repo.py", 
line 110, in main
    api_client, api_root = self.get_api(server)
  File "/usr/lib/python2.7/site-packages/rbtools/commands/__init__.py", 
line 768, in get_api
    raise CommandError('Unexpected API Error: %s' % e)
rbtools.commands.CommandError: Unexpected API Error: HTTP 504

.reviewboardrc will generates if command get successful 

Please help me to solve this issue. There is no issue to adding svn repo 
but git repo facing issue.

Thanks & Regards,
Lokesh


-- 
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.

Reply via email to