Re: Fatal: not a git repository: 'None'
; --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 843084c2846318de078f662cf0325cd626322044..0443f19bbcae4bd3cfe8a3a71964b050e984dca3 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 0443f19bbcae4bd3cfe8a3a71964b050e984dca3..90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a..7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4..18504e19da0391ab4e14812a7c0f51c2a3c98e90 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 18504e19da0391ab4e14812a7c0f51c2a3c98e90..8b8fe13453ed5084b259a640247a6c173d03374e >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 8b8fe13453ed5084b259a640247a6c173d03374e..5c21e1650db79d709fd37e96650a7cb2871495db >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 5c21e1650db79d709fd37e96650a7cb2871495db..865b13f7e56526ca9a52e647cf82bc73fa334115 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 865b13f7e56526ca9a52e647cf82bc73fa334115..19944afa1345cbb37295db1a4260d46164c78a57 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 19944afa1345cbb37295db1a4260d46164c78a57..da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f..537dd7be8294b83bcf2115dd0aa725509059ebba >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 537dd7be8294b83bcf2115dd0aa725509059ebba..fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c..034906e446b84c0bc7ca2309ef7659a46ca6c98f >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 034906e446b84c0bc7ca2309ef7659a46ca6c98f..b5c23f275abb95457bb987f8267c6092bec3c4b9 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> b5c23f275abb95457bb987f8267c6092bec3c4b9..d1aaf33e0fca39dec25ee980520ae35e8d95f5f5 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> d1aaf33e0fca39dec25ee980520ae35e8d95f5f5..11b904304663d1e4cd370dfaeca3ed5818dedb43 >> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff >> --no-color --full-index --ignore-submodules --find-renames --no-ext-diff >> 11b904304663d1e4cd370dfaeca3ed5818dedb43..ebcaa0ae6ae924ab87571d91282452fc831ac4c7 >> >>> Making HTTP GET request to >> http://wskkosd002.global.web-int.net/api/validation/commits/ >> >>> HTTP GET request to >> http://wskkosd002.global.web-int.net/api/validation/commits/ cannot be >> cached >> Validating commits... >> [0/23]>>> Making HTTP POST request to >> http://wskkosd002.global.web-int.net/api/validation/commits/ >> >>> Got API Error 224 (HTTP code 400): fatal: not a git repository: 'None' >> >>> Error data: {'err': {'code': 224, 'msg': "fatal: not a git >> repository: 'None'\n"}, 'stat': 'fail'} >> Validating commits... >> [0/23] >> Trac
Re: Fatal: not a git repository: 'None'
olor --full-index --ignore-submodules --find-renames --no-ext-diff > 90cd65f02bf8ab5ed0d7bc211ccf50d4c2b63f7a..7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 7ca1a1684ce5d8c06655f2aeb9b4ed1315674cb4..18504e19da0391ab4e14812a7c0f51c2a3c98e90 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 18504e19da0391ab4e14812a7c0f51c2a3c98e90..8b8fe13453ed5084b259a640247a6c173d03374e > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 8b8fe13453ed5084b259a640247a6c173d03374e..5c21e1650db79d709fd37e96650a7cb2871495db > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 5c21e1650db79d709fd37e96650a7cb2871495db..865b13f7e56526ca9a52e647cf82bc73fa334115 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 865b13f7e56526ca9a52e647cf82bc73fa334115..19944afa1345cbb37295db1a4260d46164c78a57 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 19944afa1345cbb37295db1a4260d46164c78a57..da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f..537dd7be8294b83bcf2115dd0aa725509059ebba > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 537dd7be8294b83bcf2115dd0aa725509059ebba..fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c..034906e446b84c0bc7ca2309ef7659a46ca6c98f > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 034906e446b84c0bc7ca2309ef7659a46ca6c98f..b5c23f275abb95457bb987f8267c6092bec3c4b9 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > b5c23f275abb95457bb987f8267c6092bec3c4b9..d1aaf33e0fca39dec25ee980520ae35e8d95f5f5 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > d1aaf33e0fca39dec25ee980520ae35e8d95f5f5..11b904304663d1e4cd370dfaeca3ed5818dedb43 > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules --find-renames --no-ext-diff > 11b904304663d1e4cd370dfaeca3ed5818dedb43..ebcaa0ae6ae924ab87571d91282452fc831ac4c7 > >>> Making HTTP GET request to > http://wskkosd002.global.web-int.net/api/validation/commits/ > >>> HTTP GET request to > http://wskkosd002.global.web-int.net/api/validation/commits/ cannot be > cached > Validating commits... > [0/23]>>> Making HTTP POST request to > http://wskkosd002.global.web-int.net/api/validation/commits/ > >>> Got API Error 224 (HTTP code 400): fatal: not a git repository: 'None' > >>> Error data: {'err': {'code': 224, 'msg': "fatal: not a git repository: > 'None'\n"}, 'stat': 'fail'} > Validating commits... > [0/23] > Traceback (most recent call last): > File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py", > line 813, in make_request > request.url, body, headers, request.method)) > File "/usr/local/lib/python3.7/dist-packages/rbtools/api/cache.py", line > 209, in make_request > return self.urlopen(request) > File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen > return opener.open(url, data, timeout) > File "/usr/lib/python3.7/urllib/request.py", line 531, in open > response = meth(req, response) > File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py", > line 361, in http_response > response.info()) > File "/usr/lib/python3.7/urllib/request.py", line 569, in error > return self._call_chain(*args) > File "/usr/lib/py
Re: Fatal: not a git repository: 'None'
650db79d709fd37e96650a7cb2871495db >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 5c21e1650db79d709fd37e96650a7cb2871495db..865b13f7e56526ca9a52e647cf82bc73fa334115 >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 865b13f7e56526ca9a52e647cf82bc73fa334115..19944afa1345cbb37295db1a4260d46164c78a57 >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 19944afa1345cbb37295db1a4260d46164c78a57..da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff da70b0d964cc3ba22ea0d4d8ccfdc244828bf05f..537dd7be8294b83bcf2115dd0aa725509059ebba >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 537dd7be8294b83bcf2115dd0aa725509059ebba..fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff fe40f458e179ca0bdeb0c1ffa61ee0a737a58b9c..034906e446b84c0bc7ca2309ef7659a46ca6c98f >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 034906e446b84c0bc7ca2309ef7659a46ca6c98f..b5c23f275abb95457bb987f8267c6092bec3c4b9 >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff b5c23f275abb95457bb987f8267c6092bec3c4b9..d1aaf33e0fca39dec25ee980520ae35e8d95f5f5 >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff d1aaf33e0fca39dec25ee980520ae35e8d95f5f5..11b904304663d1e4cd370dfaeca3ed5818dedb43 >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules --find-renames --no-ext-diff 11b904304663d1e4cd370dfaeca3ed5818dedb43..ebcaa0ae6ae924ab87571d91282452fc831ac4c7 >>> Making HTTP GET request to http://wskkosd002.global.web-int.net/api/validation/commits/ >>> HTTP GET request to http://wskkosd002.global.web-int.net/api/validation/commits/ cannot be cached Validating commits... [0/23]>>> Making HTTP POST request to http://wskkosd002.global.web-int.net/api/validation/commits/ >>> Got API Error 224 (HTTP code 400): fatal: not a git repository: 'None' >>> Error data: {'err': {'code': 224, 'msg': "fatal: not a git repository: 'None'\n"}, 'stat': 'fail'} Validating commits... [0/23] Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py", line 813, in make_request request.url, body, headers, request.method)) File "/usr/local/lib/python3.7/dist-packages/rbtools/api/cache.py", line 209, in make_request return self.urlopen(request) File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/local/lib/python3.7/dist-packages/rbtools/api/request.py", line 361, in http_response response.info()) File "/usr/lib/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 400: Bad Request During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/rbtools/commands/post.py", line 1085, in main diff_history) File "/usr/local/lib/python3.7/dist-packages/rbtools/commands/post.py", line 1503, in _validate_diff_history validation_info=validation_info) File "/usr/local/lib/python3.7/dist-packages/rbtools/api/decorators.py", line 27, in request_method *args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/rbtools/api/transport/sync.py", line 82, in execute_request_method return self._execute_request(request) File "/usr/local/lib/python3.7/dist-
Re: Fatal: not a git repository: 'None'
Hi, Would you mind running your rbt command with --debug and including the output? Can you share how the repository is configured in the Review Board admin site? David On Wed, Jul 7, 2021 at 8:01 AM Peter Šilon wrote: > My .reviewboardrc. RB version 4.0.3 > > REVIEWBOARD_URL = "http://wskkosd002.global.web-int.net/"; > REPOSITORY = "chargingd" > REPOSITORY_TYPE = "git" > BRANCH = "master" > LAND_DEST_BRANCH = "master" > > When I try to post a review I get an error. > > rbt post master..feature/dbus-api > Validating commits... > [0/23] > ERROR: Error validating diff > > fatal: not a git repository: 'None' > (HTTP 400, API Error 224) > > Repository exists. My .reviewboardrc was completely generated by rbt > setup-repo. > > With NO-EXISTENT Git repo I get this: > > rbt post --repository=AAA master..feature/dbus-api > Validating commits... > [0/23] > ERROR: Error validating diff > > The repository path specified is not in the list of known repositories. > (HTTP 400, API Error 206) > > Any help please? I'm slowly giving up on RB. > > Peter. > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/reviewboard/2422fe6c-280f-4228-bea4-a4445989479dn%40googlegroups.com > <https://groups.google.com/d/msgid/reviewboard/2422fe6c-280f-4228-bea4-a4445989479dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAFS3VNXPg9%3D%3DKF4jYBO%2B5PzTChyhcoOGu0kt_Vu3TxHffZajiA%40mail.gmail.com.
Fatal: not a git repository: 'None'
My .reviewboardrc. RB version 4.0.3 REVIEWBOARD_URL = "http://wskkosd002.global.web-int.net/"; REPOSITORY = "chargingd" REPOSITORY_TYPE = "git" BRANCH = "master" LAND_DEST_BRANCH = "master" When I try to post a review I get an error. rbt post master..feature/dbus-api Validating commits... [0/23] ERROR: Error validating diff fatal: not a git repository: 'None' (HTTP 400, API Error 224) Repository exists. My .reviewboardrc was completely generated by rbt setup-repo. With NO-EXISTENT Git repo I get this: rbt post --repository=AAA master..feature/dbus-api Validating commits... [0/23] ERROR: Error validating diff The repository path specified is not in the list of known repositories. (HTTP 400, API Error 206) Any help please? I'm slowly giving up on RB. Peter. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/2422fe6c-280f-4228-bea4-a4445989479dn%40googlegroups.com.
Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)
I did. Thank you! Diego On Thursday, July 11, 2019 at 12:30:15 AM UTC-4, Christian Hammond wrote: > > Hi Diego, > > I just want to make sure you saw my reply on your support ticket. We > should have this resolved for you. > > Christian > > On Mon, Jul 8, 2019 at 14:14 Diego Huang > wrote: > >> I should add that I am using PowerPack with a CodeCommit repository. >> Could there be a problem with the PowerPack license server? >> >> Thanks, >> >> Diego >> >> >> On Monday, July 8, 2019 at 3:37:08 PM UTC-4, Diego Huang wrote: >>> >>> I am getting this error today too when trying to publish a code review. >>> >>> >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: >>> 'None' >>> >>> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git >>> repository: 'None'\n", u'code': 224}} >>> Traceback (most recent call last): >>> File "/usr/local/bin/rbt", line 9, in >>> load_entry_point('RBTools==1.0.1', 'console_scripts', 'rbt')() >>> File >>> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/main.py", >>> >>> line 120, in main >>> command.run_from_argv([RB_MAIN, command_name] + args) >>> File >>> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/__init__.py", >>> >>> line 719, in run_from_argv >>> exit_code = self.main(*args) or 0 >>> File >>> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/post.py", >>> >>> line 875, in main >>> (msg_prefix, e)) >>> rbtools.commands.CommandError: Error validating diff >>> >>> fatal: Not a git repository: 'None' >>> (HTTP 400, API Error 224) >>> >>> >>> Nothing has changed in our environment. Could there be an outage? I >>> can't click on the admin dashboard page for the repository either, it ends >>> up with a "504 Gateway Timeout" or "500 Internal Server Error" error. In >>> the server logs, I see: >>> >>> >>> 2019-07-08 17:48:19,206 - ERROR - None - X - >>> /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception >>> thrown for user X at >>> https:///admin/db/scmtools/repository/14/ >>> >>> 'NoneType' object has no attribute 'plans' >>> Traceback (most recent call last): >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py", >>> >>> line 112, in get_response >>> response = wrapped_callback(request, *callback_args, >>> **callback_kwargs) >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", >>> >>> line 465, in wrapper >>> return self.admin_site.admin_view(view)(*args, **kwargs) >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >>> >>> line 99, in _wrapped_view >>> response = view_func(request, *args, **kwargs) >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py", >>> >>> line 52, in _wrapped_view_func >>> response = view_func(request, *args, **kwargs) >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/sites.py", >>> >>> line 198, in inner >>> return view(request, *args, **kwargs) >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >>> >>> line 29, in _wrapper >>> return bound_func(*args, **kwargs) >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >>> >>> line 99, in _wrapped_view >>> response = view_func(request, *args, **kwargs) >>> File >>> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >>> >>> line 25
Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)
Hi Diego, I just want to make sure you saw my reply on your support ticket. We should have this resolved for you. Christian On Mon, Jul 8, 2019 at 14:14 Diego Huang wrote: > I should add that I am using PowerPack with a CodeCommit repository. Could > there be a problem with the PowerPack license server? > > Thanks, > > Diego > > > On Monday, July 8, 2019 at 3:37:08 PM UTC-4, Diego Huang wrote: >> >> I am getting this error today too when trying to publish a code review. >> >> >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' >> >> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git >> repository: 'None'\n", u'code': 224}} >> Traceback (most recent call last): >> File "/usr/local/bin/rbt", line 9, in >> load_entry_point('RBTools==1.0.1', 'console_scripts', 'rbt')() >> File >> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/main.py", >> line 120, in main >> command.run_from_argv([RB_MAIN, command_name] + args) >> File >> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/__init__.py", >> line 719, in run_from_argv >> exit_code = self.main(*args) or 0 >> File >> "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/post.py", >> line 875, in main >> (msg_prefix, e)) >> rbtools.commands.CommandError: Error validating diff >> >> fatal: Not a git repository: 'None' >> (HTTP 400, API Error 224) >> >> >> Nothing has changed in our environment. Could there be an outage? I can't >> click on the admin dashboard page for the repository either, it ends up >> with a "504 Gateway Timeout" or "500 Internal Server Error" error. In the >> server logs, I see: >> >> >> 2019-07-08 17:48:19,206 - ERROR - None - X - >> /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception >> thrown for user X at >> https:///admin/db/scmtools/repository/14/ >> >> 'NoneType' object has no attribute 'plans' >> Traceback (most recent call last): >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py", >> line 112, in get_response >> response = wrapped_callback(request, *callback_args, >> **callback_kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", >> line 465, in wrapper >> return self.admin_site.admin_view(view)(*args, **kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >> line 99, in _wrapped_view >> response = view_func(request, *args, **kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py", >> line 52, in _wrapped_view_func >> response = view_func(request, *args, **kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/sites.py", >> line 198, in inner >> return view(request, *args, **kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >> line 29, in _wrapper >> return bound_func(*args, **kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >> line 99, in _wrapped_view >> response = view_func(request, *args, **kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", >> line 25, in bound_func >> return func(self, *args2, **kwargs2) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/db/transaction.py", >> line 371, in inner >> return func(*args, **kwargs) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", >> line 1270, in change_view >> form = ModelForm(instance=obj) >> File >> "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line >> 435, in __init__ >> self._populate_hosting_service_fields() >> F
Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)
I should add that I am using PowerPack with a CodeCommit repository. Could there be a problem with the PowerPack license server? Thanks, Diego On Monday, July 8, 2019 at 3:37:08 PM UTC-4, Diego Huang wrote: > > I am getting this error today too when trying to publish a code review. > > >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git > repository: 'None'\n", u'code': 224}} > Traceback (most recent call last): > File "/usr/local/bin/rbt", line 9, in > load_entry_point('RBTools==1.0.1', 'console_scripts', 'rbt')() > File > "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/main.py", > > line 120, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/__init__.py", > > line 719, in run_from_argv > exit_code = self.main(*args) or 0 > File > "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/post.py", > > line 875, in main > (msg_prefix, e)) > rbtools.commands.CommandError: Error validating diff > > fatal: Not a git repository: 'None' > (HTTP 400, API Error 224) > > > Nothing has changed in our environment. Could there be an outage? I can't > click on the admin dashboard page for the repository either, it ends up > with a "504 Gateway Timeout" or "500 Internal Server Error" error. In the > server logs, I see: > > > 2019-07-08 17:48:19,206 - ERROR - None - X - > /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception > thrown for user X at > https:///admin/db/scmtools/repository/14/ > > 'NoneType' object has no attribute 'plans' > Traceback (most recent call last): > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py", > > line 112, in get_response > response = wrapped_callback(request, *callback_args, **callback_kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", > > line 465, in wrapper > return self.admin_site.admin_view(view)(*args, **kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", > > line 99, in _wrapped_view > response = view_func(request, *args, **kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py", > > line 52, in _wrapped_view_func > response = view_func(request, *args, **kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/sites.py", > > line 198, in inner > return view(request, *args, **kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", > > line 29, in _wrapper > return bound_func(*args, **kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", > > line 99, in _wrapped_view > response = view_func(request, *args, **kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", > > line 25, in bound_func > return func(self, *args2, **kwargs2) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/db/transaction.py", > > line 371, in inner > return func(*args, **kwargs) > File > "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", > > line 1270, in change_view > form = ModelForm(instance=obj) > File > "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line > 435, in __init__ > self._populate_hosting_service_fields() > File > "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line > 547, in _populate_hosting_service_fields > if service.plans: > AttributeError: 'NoneType' object has no attribute 'plans' > > Thanks, > > Diego > > > On Thursday, May 24, 2018 at 4:10:19 AM UTC-4, wangy...@gmail.com wrote: >> >> When I first run command"rbt post --username=JiangLiqun
Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)
I am getting this error today too when trying to publish a code review. >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git repository: 'None'\n", u'code': 224}} Traceback (most recent call last): File "/usr/local/bin/rbt", line 9, in load_entry_point('RBTools==1.0.1', 'console_scripts', 'rbt')() File "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/main.py", line 120, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/__init__.py", line 719, in run_from_argv exit_code = self.main(*args) or 0 File "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/post.py", line 875, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff fatal: Not a git repository: 'None' (HTTP 400, API Error 224) Nothing has changed in our environment. Could there be an outage? I can't click on the admin dashboard page for the repository either, it ends up with a "504 Gateway Timeout" or "500 Internal Server Error" error. In the server logs, I see: 2019-07-08 17:48:19,206 - ERROR - None - X - /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception thrown for user X at https:///admin/db/scmtools/repository/14/ 'NoneType' object has no attribute 'plans' Traceback (most recent call last): File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", line 465, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in _wrapped_view response = view_func(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 198, in inner return view(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 29, in _wrapper return bound_func(*args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in _wrapped_view response = view_func(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in bound_func return func(self, *args2, **kwargs2) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/db/transaction.py", line 371, in inner return func(*args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1270, in change_view form = ModelForm(instance=obj) File "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line 435, in __init__ self._populate_hosting_service_fields() File "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line 547, in _populate_hosting_service_fields if service.plans: AttributeError: 'NoneType' object has no attribute 'plans' Thanks, Diego On Thursday, May 24, 2018 at 4:10:19 AM UTC-4, wangy...@gmail.com wrote: > > When I first run command"rbt post --username=JiangLiqun > --target-people=admin -d", and input password correct, but I received log > like this: > > Please log in to the Review Board server at 192.168.1.100:8088. > Password: > ERROR: Unexpected API Error: The username or password was not correct > (HTTP 401, API Error 104) > WangYuntideMacBook-Pro:rbtest wang$ rbt post --username=JiangLiqun > --target-people=admin -d > >>> RBTools 0.7.11 > >>> Python 2.7.10 (default, Oct 6 2017, 22:29:07) > [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] > >>> Running on Darwin-17.5.0-x86_64-i386-64bit > >>> Home = /Users/wang > >>> Current directory = /Users/wang/RZSJ/project/rbtest > >>> Co
Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)
I am getting this error today too when trying to publish a code review. >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git repository: 'None'\n", u'code': 224}} Traceback (most recent call last): File "/usr/local/bin/rbt", line 9, in load_entry_point('RBTools==1.0.1', 'console_scripts', 'rbt')() File "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/main.py", line 120, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/__init__.py", line 719, in run_from_argv exit_code = self.main(*args) or 0 File "/Library/Python/2.7/site-packages/RBTools-1.0.1-py2.7.egg/rbtools/commands/post.py", line 875, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff fatal: Not a git repository: 'None' (HTTP 400, API Error 224) Nothing has changed in our environment. Could there be an outage? I can't click on the admin dashboard page for the repository either, it ends up with a "504 Gateway Timeout" or "500 Internal Server Error" error. In the server logs, I see: 2019-07-08 17:48:19,206 - ERROR - None - X - /admin/db/scmtools/repository/14/ - djblets.log.middleware - Exception thrown for user X at https://cr.impact.georgianpartners.com/admin/db/scmtools/repository/14/ 'NoneType' object has no attribute 'plans' Traceback (most recent call last): File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", line 465, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in _wrapped_view response = view_func(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 198, in inner return view(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 29, in _wrapper return bound_func(*args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in _wrapped_view response = view_func(request, *args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in bound_func return func(self, *args2, **kwargs2) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/db/transaction.py", line 371, in inner return func(*args, **kwargs) File "/opt/bitnami/apps/reviewboard/htdocs/venv/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1270, in change_view form = ModelForm(instance=obj) File "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line 435, in __init__ self._populate_hosting_service_fields() File "/opt/bitnami/apps/reviewboard/htdocs/reviewboard/scmtools/forms.py", line 547, in _populate_hosting_service_fields if service.plans: AttributeError: 'NoneType' object has no attribute 'plans' Thanks, Diego On Thursday, May 24, 2018 at 4:10:19 AM UTC-4, wangy...@gmail.com wrote: > > When I first run command"rbt post --username=JiangLiqun > --target-people=admin -d", and input password correct, but I received log > like this: > > Please log in to the Review Board server at 192.168.1.100:8088. > Password: > ERROR: Unexpected API Error: The username or password was not correct > (HTTP 401, API Error 104) > WangYuntideMacBook-Pro:rbtest wang$ rbt post --username=JiangLiqun > --target-people=admin -d > >>> RBTools 0.7.11 > >>> Python 2.7.10 (default, Oct 6 2017, 22:29:07) > [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] > >>> Running on Darwin-17.5.0-x86_64-i386-64bit > >>> Home = /Users/wang > >>> Current directory = /Users/wang/RZSJ/project/rbtest > >>&
Re: fatal: Not a git repository: 'None' (HTTP 400, API Error 224)
大胸弟,我跟你遇到了同样的问题。。。方便加个好友不?微信:xishangqiaoxia 在 2018年5月24日星期四 UTC+8下午4:10:19,wangy...@gmail.com写道: > > When I first run command"rbt post --username=JiangLiqun > --target-people=admin -d", and input password correct, but I received log > like this: > > Please log in to the Review Board server at 192.168.1.100:8088. > Password: > ERROR: Unexpected API Error: The username or password was not correct > (HTTP 401, API Error 104) > WangYuntideMacBook-Pro:rbtest wang$ rbt post --username=JiangLiqun > --target-people=admin -d > >>> RBTools 0.7.11 > >>> Python 2.7.10 (default, Oct 6 2017, 22:29:07) > [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] > >>> Running on Darwin-17.5.0-x86_64-i386-64bit > >>> Home = /Users/wang > >>> Current directory = /Users/wang/RZSJ/project/rbtest > >>> Command line: rbt post --username=JiangLiqun --target-people=admin -d > >>> Running: tf vc help > >>> Checking for a Git repository... > >>> Running: git rev-parse --git-dir > >>> Running: git config core.bare > >>> Running: git rev-parse --show-toplevel > >>> Running: git symbolic-ref -q HEAD > >>> Running: git config --get branch.master.merge > >>> Running: git config --get branch.master.remote > >>> Running: git config --get remote.origin.url > >>> repository info: Path: http://47.93.44.77:3000/WangYunti/rbtest.git, > Base path: , Supports changesets: False > >>> Making HTTP GET request to http://192.168.1.100:8088/api/ > > Please log in to the Review Board server at 192.168.1.100:8088. > Password: > >>> Running: git rev-parse refs/heads/master > >>> Running: git merge-base 8baa5f0a627d6178f0b0c8fc59e8a6223acb4cc2 > origin/master > >>> Running: git rev-parse dce7de49360ca16c12e84f7c3670c033f731a14d > >>> Running: git status --porcelain --untracked-files=no > --ignore-submodules=dirty > >>> Running: git rev-parse --git-dir > >>> Running: git version > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules -M --no-ext-diff > dce7de49360ca16c12e84f7c3670c033f731a14d..8baa5f0a627d6178f0b0c8fc59e8a6223acb4cc2 > >>> Generated diff size: 1286 bytes > >>> Making HTTP GET request to > http://192.168.1.100:8088/api/validation/diffs/ > >>> Cached response for HTTP GET > http://192.168.1.100:8088/api/validation/diffs/ expired and was modified > >>> Making HTTP POST request to > http://192.168.1.100:8088/api/validation/diffs/ > >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git > repository: 'None'\n", u'code': 224}} > Traceback (most recent call last): > File "/usr/local/bin/rbt", line 9, in > load_entry_point('RBTools==0.7.11', 'console_scripts', 'rbt')() > File > "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/main.py", > > line 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/__init__.py", > > line 665, in run_from_argv > exit_code = self.main(*args) or 0 > File > "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/post.py", > > line 821, in main > (msg_prefix, e)) > rbtools.commands.CommandError: Error validating diff > > fatal: Not a git repository: 'None' > (HTTP 400, API Error 224) > > > This is a screenshot of the warehouse configuration: > > > <https://lh3.googleusercontent.com/-XiQ7q3SKzbE/WwZsNzopBWI/AsQ/XQDKigzmQRIt--9RWBhXZIOsVR-sPtPwACLcBGAs/s1600/3DA19783-D44C-4EC6-9332-879244FC0C02.png> > > > how to solve this problem. > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/a6bce89b-3863-4ca8-9bcc-f0aa161dc3a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
fatal: Not a git repository: 'None' (HTTP 400, API Error 224)
When I first run command"rbt post --username=JiangLiqun --target-people=admin -d", and input password correct, but I received log like this: Please log in to the Review Board server at 192.168.1.100:8088. Password: ERROR: Unexpected API Error: The username or password was not correct (HTTP 401, API Error 104) WangYuntideMacBook-Pro:rbtest wang$ rbt post --username=JiangLiqun --target-people=admin -d >>> RBTools 0.7.11 >>> Python 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] >>> Running on Darwin-17.5.0-x86_64-i386-64bit >>> Home = /Users/wang >>> Current directory = /Users/wang/RZSJ/project/rbtest >>> Command line: rbt post --username=JiangLiqun --target-people=admin -d >>> Running: tf vc help >>> Checking for a Git repository... >>> Running: git rev-parse --git-dir >>> Running: git config core.bare >>> Running: git rev-parse --show-toplevel >>> Running: git symbolic-ref -q HEAD >>> Running: git config --get branch.master.merge >>> Running: git config --get branch.master.remote >>> Running: git config --get remote.origin.url >>> repository info: Path: http://47.93.44.77:3000/WangYunti/rbtest.git, Base path: , Supports changesets: False >>> Making HTTP GET request to http://192.168.1.100:8088/api/ Please log in to the Review Board server at 192.168.1.100:8088. Password: >>> Running: git rev-parse refs/heads/master >>> Running: git merge-base 8baa5f0a627d6178f0b0c8fc59e8a6223acb4cc2 origin/master >>> Running: git rev-parse dce7de49360ca16c12e84f7c3670c033f731a14d >>> Running: git status --porcelain --untracked-files=no --ignore-submodules=dirty >>> Running: git rev-parse --git-dir >>> Running: git version >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules -M --no-ext-diff dce7de49360ca16c12e84f7c3670c033f731a14d..8baa5f0a627d6178f0b0c8fc59e8a6223acb4cc2 >>> Generated diff size: 1286 bytes >>> Making HTTP GET request to http://192.168.1.100:8088/api/validation/diffs/ >>> Cached response for HTTP GET http://192.168.1.100:8088/api/validation/diffs/ expired and was modified >>> Making HTTP POST request to http://192.168.1.100:8088/api/validation/diffs/ >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git repository: 'None'\n", u'code': 224}} Traceback (most recent call last): File "/usr/local/bin/rbt", line 9, in load_entry_point('RBTools==0.7.11', 'console_scripts', 'rbt')() File "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/main.py", line 133, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/__init__.py", line 665, in run_from_argv exit_code = self.main(*args) or 0 File "/Library/Python/2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/commands/post.py", line 821, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff fatal: Not a git repository: 'None' (HTTP 400, API Error 224) This is a screenshot of the warehouse configuration: <https://lh3.googleusercontent.com/-XiQ7q3SKzbE/WwZsNzopBWI/AsQ/XQDKigzmQRIt--9RWBhXZIOsVR-sPtPwACLcBGAs/s1600/3DA19783-D44C-4EC6-9332-879244FC0C02.png> how to solve this problem. -- 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.
Re: fatal: Not a git repository: 'None'
That worked and the link was helpful. Thank you! On Thursday, June 1, 2017 at 4:11:25 PM UTC-6, Christian Hammond wrote: > > Hi Andrew, > > Git doesn't have a remoting protocol that allows for the kind of > fine-grained access needed by tools like Review Board, so you can't > actually provide a URL to a repository and have it just work like you can > with other repository types. Instead, you'll need to use something like > GitWeb or cgit along with the remote URL. Review Board can use that to > fetch data from the repository. > > See > https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/git/#using-a-gitweb-backed-repository > > for some setup options for Git repositories. > > Christian > > On Thu, Jun 1, 2017 at 1:58 PM, Andrew Wall > wrote: > >> I've found a few related post but I haven't been able to make heads or >> tails of them, so I'm asking again for myself. >> >> People at work generally check out the repo with the following command; >> git clone ssh://g...@git.company.com/repo >> >> For some reason I was only able to add the repo to ReviewBoard by >> modifying the Path field to (I think this may be related, but I'm not sure); >> ssh://g...@git.company.com/~/repo >> >> I've created and added the .reviewboardrc as suggested by my local >> instance of reviewboard. If I use "rbt post" or try to attach a git >> generated diff (by using the 'git diff' command) via the web UI I get the >> following error; >> *fatal: Not a git repository: 'None'* >> >> Using the web I also get the following line; >> Line undefined: undefined >> >> With 'rbt post' I also get the following line; >> (HTTP 400, API Error 224) >> >> Both my local machine and the server from which I'm trying to run >> reviewboard are running Ubuntu 16.04. If there is any more information I >> could provide please let me know. [I've enabled logging but it doesn't seem >> to generate any messages from an attempt to upload a diff]. >> >> Thanks, >> Andrew >> >> -- >> 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. >> > > > > -- > Christian Hammond > President/CEO of Beanbag <https://www.beanbaginc.com/> > Makers of Review Board <https://www.reviewboard.org/> > -- 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.
Re: fatal: Not a git repository: 'None'
Hi Andrew, Git doesn't have a remoting protocol that allows for the kind of fine-grained access needed by tools like Review Board, so you can't actually provide a URL to a repository and have it just work like you can with other repository types. Instead, you'll need to use something like GitWeb or cgit along with the remote URL. Review Board can use that to fetch data from the repository. See https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/git/#using-a-gitweb-backed-repository for some setup options for Git repositories. Christian On Thu, Jun 1, 2017 at 1:58 PM, Andrew Wall wrote: > I've found a few related post but I haven't been able to make heads or > tails of them, so I'm asking again for myself. > > People at work generally check out the repo with the following command; > git clone ssh://g...@git.company.com/repo > > For some reason I was only able to add the repo to ReviewBoard by > modifying the Path field to (I think this may be related, but I'm not sure); > ssh://g...@git.company.com/~/repo > > I've created and added the .reviewboardrc as suggested by my local > instance of reviewboard. If I use "rbt post" or try to attach a git > generated diff (by using the 'git diff' command) via the web UI I get the > following error; > *fatal: Not a git repository: 'None'* > > Using the web I also get the following line; > Line undefined: undefined > > With 'rbt post' I also get the following line; > (HTTP 400, API Error 224) > > Both my local machine and the server from which I'm trying to run > reviewboard are running Ubuntu 16.04. If there is any more information I > could provide please let me know. [I've enabled logging but it doesn't seem > to generate any messages from an attempt to upload a diff]. > > Thanks, > Andrew > > -- > 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. > -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> -- 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.
fatal: Not a git repository: 'None'
I've found a few related post but I haven't been able to make heads or tails of them, so I'm asking again for myself. People at work generally check out the repo with the following command; git clone ssh://g...@git.company.com/repo For some reason I was only able to add the repo to ReviewBoard by modifying the Path field to (I think this may be related, but I'm not sure); ssh://g...@git.company.com/~/repo I've created and added the .reviewboardrc as suggested by my local instance of reviewboard. If I use "rbt post" or try to attach a git generated diff (by using the 'git diff' command) via the web UI I get the following error; *fatal: Not a git repository: 'None'* Using the web I also get the following line; Line undefined: undefined With 'rbt post' I also get the following line; (HTTP 400, API Error 224) Both my local machine and the server from which I'm trying to run reviewboard are running Ubuntu 16.04. If there is any more information I could provide please let me know. [I've enabled logging but it doesn't seem to generate any messages from an attempt to upload a diff]. Thanks, Andrew -- 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.
Re: rbt post with committed git change: "fatal: Not a git repository: 'None'"
Hi Christian, I am also facing this problem. I am also using a third party git repository, it prompts this error too. Any good solution? Thanks, Huan 在 2016年6月7日星期二 UTC+8上午9:45:45,mi...@lastminuterecords.com写道: > > I've tried the suggestions here: > http://stackoverflow.com/questions/11345357/review-board-diff-not-uploading > > without success, and tried uploading a diff manually without luck. Please > advise. > > rbt post --debug > >>> RBTools 0.7.6 > >>> Python 2.7.11+ (default, Apr 17 2016, 14:00:29) > [GCC 5.3.1 20160413] > >>> Running on > Linux-4.6.0-040600rc6-generic-x86_64-with-Ubuntu-16.04-xenial > >>> Home = /home/mt > >>> Current directory = /home/mt/ownCloud/src/git/ANL/RISC/SimDependency > >>> Checking for a Subversion repository... > >>> Unable to execute "svn help": skipping SVN > >>> Checking for a Git repository... > >>> Running: git rev-parse --git-dir > >>> Running: git config core.bare > >>> Running: git rev-parse --show-toplevel > >>> Running: git symbolic-ref -q HEAD > >>> Running: git config --get branch.master.merge > >>> Running: git config --get branch.master.remote > >>> Running: git config --get remote.origin.url > >>> repository info: Path: git@:SimDependency.git, Base path: , > Supports changesets: False > >>> Making HTTP GET request to https://codereview.risc.anl.gov/api/ > >>> Running: git rev-parse refs/heads/master > >>> Running: git merge-base 2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188 > origin/master > >>> Running: git rev-parse cbad9b1b2eb389268abee70e58121e4650da3bf9 > >>> Running: git status --porcelain --untracked-files=no > WARNING: Your working directory is not clean. Any changes which have not > been committed to a branch will not be included in your review request. > >>> Running: git rev-parse --git-dir > >>> Running: git version > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules -M --no-ext-diff > cbad9b1b2eb389268abee70e58121e4650da3bf9..2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188 > >>> Making HTTP GET request to > https://codereview.risc.anl.gov/api/validation/diffs/ > >>> Cached response for HTTP GET > https://codereview.risc.anl.gov/api/validation/diffs/ expired and was > modified > >>> Making HTTP POST request to > https://codereview.risc.anl.gov/api/validation/diffs/ > >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git > repository: 'None'\n", u'code': 224}} > Traceback (most recent call last): > File "/usr/local/bin/rbt", line 11, in > sys.exit(main()) > File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/main.py", > line 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/usr/local/lib/python2.7/dist-packages/rbtools/commands/__init__.py", line > 629, in run_from_argv > exit_code = self.main(*args) or 0 > File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/post.py", > line 756, in main > (msg_prefix, e)) > rbtools.commands.CommandError: Error validating diff > > fatal: Not a git repository: 'None' > (HTTP 400, API Error 224) > > -- 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.
Re: rbt post with committed git change: "fatal: Not a git repository: 'None'"
Hi, The advice in that StackOverflow doesn't really apply here (and it's very comprehensive). The problem has to do more with your repository configuration. It looks like you're using a Git repository, and it may be configured to point to a remote server? If so, unfortunately Git does not have anything but very basic remote protocol support, and you can't point just to a remote server. What you'll need to do is point to something like cgit/gitweb, as per these docs: https://www.reviewboard.org/docs/manual/2.5/admin/configuration/repositories/#raw-file-urls Let me know if you have any questions about that. Christian -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> On Mon, Jun 6, 2016 at 6:45 PM, wrote: > I've tried the suggestions here: > http://stackoverflow.com/questions/11345357/review-board-diff-not-uploading > > without success, and tried uploading a diff manually without luck. Please > advise. > > rbt post --debug > >>> RBTools 0.7.6 > >>> Python 2.7.11+ (default, Apr 17 2016, 14:00:29) > [GCC 5.3.1 20160413] > >>> Running on > Linux-4.6.0-040600rc6-generic-x86_64-with-Ubuntu-16.04-xenial > >>> Home = /home/mt > >>> Current directory = /home/mt/ownCloud/src/git/ANL/RISC/SimDependency > >>> Checking for a Subversion repository... > >>> Unable to execute "svn help": skipping SVN > >>> Checking for a Git repository... > >>> Running: git rev-parse --git-dir > >>> Running: git config core.bare > >>> Running: git rev-parse --show-toplevel > >>> Running: git symbolic-ref -q HEAD > >>> Running: git config --get branch.master.merge > >>> Running: git config --get branch.master.remote > >>> Running: git config --get remote.origin.url > >>> repository info: Path: git@:SimDependency.git, Base path: , > Supports changesets: False > >>> Making HTTP GET request to https://codereview.risc.anl.gov/api/ > >>> Running: git rev-parse refs/heads/master > >>> Running: git merge-base 2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188 > origin/master > >>> Running: git rev-parse cbad9b1b2eb389268abee70e58121e4650da3bf9 > >>> Running: git status --porcelain --untracked-files=no > WARNING: Your working directory is not clean. Any changes which have not > been committed to a branch will not be included in your review request. > >>> Running: git rev-parse --git-dir > >>> Running: git version > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules -M --no-ext-diff > cbad9b1b2eb389268abee70e58121e4650da3bf9..2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188 > >>> Making HTTP GET request to > https://codereview.risc.anl.gov/api/validation/diffs/ > >>> Cached response for HTTP GET > https://codereview.risc.anl.gov/api/validation/diffs/ expired and was > modified > >>> Making HTTP POST request to > https://codereview.risc.anl.gov/api/validation/diffs/ > >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' > > >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git > repository: 'None'\n", u'code': 224}} > Traceback (most recent call last): > File "/usr/local/bin/rbt", line 11, in > sys.exit(main()) > File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/main.py", > line 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/usr/local/lib/python2.7/dist-packages/rbtools/commands/__init__.py", line > 629, in run_from_argv > exit_code = self.main(*args) or 0 > File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/post.py", > line 756, in main > (msg_prefix, e)) > rbtools.commands.CommandError: Error validating diff > > fatal: Not a git repository: 'None' > (HTTP 400, API Error 224) > > -- > 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. > -- 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.
rbt post with committed git change: "fatal: Not a git repository: 'None'"
I've tried the suggestions here: http://stackoverflow.com/questions/11345357/review-board-diff-not-uploading without success, and tried uploading a diff manually without luck. Please advise. rbt post --debug >>> RBTools 0.7.6 >>> Python 2.7.11+ (default, Apr 17 2016, 14:00:29) [GCC 5.3.1 20160413] >>> Running on Linux-4.6.0-040600rc6-generic-x86_64-with-Ubuntu-16.04-xenial >>> Home = /home/mt >>> Current directory = /home/mt/ownCloud/src/git/ANL/RISC/SimDependency >>> Checking for a Subversion repository... >>> Unable to execute "svn help": skipping SVN >>> Checking for a Git repository... >>> Running: git rev-parse --git-dir >>> Running: git config core.bare >>> Running: git rev-parse --show-toplevel >>> Running: git symbolic-ref -q HEAD >>> Running: git config --get branch.master.merge >>> Running: git config --get branch.master.remote >>> Running: git config --get remote.origin.url >>> repository info: Path: git@:SimDependency.git, Base path: , Supports changesets: False >>> Making HTTP GET request to https://codereview.risc.anl.gov/api/ >>> Running: git rev-parse refs/heads/master >>> Running: git merge-base 2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188 origin/master >>> Running: git rev-parse cbad9b1b2eb389268abee70e58121e4650da3bf9 >>> Running: git status --porcelain --untracked-files=no WARNING: Your working directory is not clean. Any changes which have not been committed to a branch will not be included in your review request. >>> Running: git rev-parse --git-dir >>> Running: git version >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff --no-color --full-index --ignore-submodules -M --no-ext-diff cbad9b1b2eb389268abee70e58121e4650da3bf9..2a2dfe98f87440f7a76e2cb0ef31f99f52ef2188 >>> Making HTTP GET request to https://codereview.risc.anl.gov/api/validation/diffs/ >>> Cached response for HTTP GET https://codereview.risc.anl.gov/api/validation/diffs/ expired and was modified >>> Making HTTP POST request to https://codereview.risc.anl.gov/api/validation/diffs/ >>> Got API Error 224 (HTTP code 400): fatal: Not a git repository: 'None' >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"fatal: Not a git repository: 'None'\n", u'code': 224}} Traceback (most recent call last): File "/usr/local/bin/rbt", line 11, in sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/main.py", line 133, in main command.run_from_argv([RB_MAIN, command_name] + args) File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/__init__.py", line 629, in run_from_argv exit_code = self.main(*args) or 0 File "/usr/local/lib/python2.7/dist-packages/rbtools/commands/post.py", line 756, in main (msg_prefix, e)) rbtools.commands.CommandError: Error validating diff fatal: Not a git repository: 'None' (HTTP 400, API Error 224) -- 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.
Re: fatal: Not a git repository: 'None'
Can you run with --debug? You also don't need --parent if you're posting a diff against 'master'. The tracking branch defaults to 'origin/master' -David On Fri, Jan 17, 2014 at 12:14 AM, Sergey Poulikov wrote: > Hello all > > When I try to create a new review request with rbt (for example rbt post > --server=http://rboard.myhost.com --username=*** --password=*** > --parent=master -d ) I get error like this 'fatal: Not a git repository: > 'None'' > > What am I doing wrong? > > -- > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > --- > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > --- > Happy user? Let us know at http://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/groups/opt_out. > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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/groups/opt_out.
fatal: Not a git repository: 'None'
Hello all When I try to create a new review request with rbt (for example rbt post --server=http://rboard.myhost.com --username=*** --password=*** --parent=master -d ) I get error like this 'fatal: Not a git repository: 'None'' What am I doing wrong? -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://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/groups/opt_out.
Re: Error uploading new diff: fatal: Not a git repository: 'None'
Having Review Board manage the clone means adding new pieces of infrastructure for scheduling changes. At that point, you may as well use crontab. We don't want Review Board to do the pulls on demand, because you may end up with two requests happening at once, each causing a pull and generating conflicts. So it's something we basically need admins to handle themselves. The very easiest way is to get gitweb or something going. We're considering rolling our own little thing to stick on a server with a Git repository that Review Board will be able to know about and talk to in an effort to simplify a lot of this, but we're not there yet. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 2, 2011 at 1:47 PM, Christopher Orr wrote: > Thanks for the confirmation. > > Is there any chance of an option that just allows the full local clone > to be done over git (if the user says that's fine)? > Or would that be too strenuous on Review Board, as it would > (presumably) have to call "git clone" any time someone hits "Upload > diff"? > > Chris > > > On Feb 2, 10:18 pm, Christian Hammond wrote: > > Yeah, unfortunately, Git provides no way to access individual files from > a > > remote repository without a full local clone, which is why the only two > > options are having that clone or accessing over gitweb or a similar > service. > > > > We should definitely do better validation to make sure you can never > enter a > > remote URL without the raw file mask. > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > > On Wed, Feb 2, 2011 at 11:42 AM, Stephen Gallagher < > > > > > > > > > > > > > > > > step...@gallagherhome.com> wrote: > > > On 02/02/2011 08:12 AM, Christopher Orr wrote: > > > > I just reproduced this while trying to use RB 1.5.2 with a custom > > > > remote repository (git+ssh://). > > > > By trial-and-error, it seems the 'None' error occurs if the "Raw file > > > > URL mask" field is empty. > > > > > > Is it correct to say there's no way to set up a git repository in > > > > Review Board, if the git server is remote and you have no web-based > > > > access to it? > > > > > In that situation, I think what you would want to do is clone the git > > > repository locally and use a cron job to keep it up to date with the > > > remote repository. That's probably the only way around this. > > > > > Or, if you have control of the remote repository, add a post-commit > hook > > > that notifies your clone to update itself (this would be less wasteful > > > of network resources). > > > > > -- > > > Want to help the Review Board project? Donate today at > > >http://www.reviewboard.org/donate/ > > > Happy user? Let us know athttp://www.reviewboard.org/users/ > > > -~--~~~~--~~--~--~--- > > > To unsubscribe from this group, send email to > > > reviewboard+unsubscr...@googlegroups.com > > > > For more options, visit this group at > > >http://groups.google.com/group/reviewboard?hl=en > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Error uploading new diff: fatal: Not a git repository: 'None'
On Feb 2, 10:47 pm, Christopher Orr wrote: > Is there any chance of an option that just allows the full local clone > to be done over git (if the user says that's fine)? > Or would that be too strenuous on Review Board, as it would > (presumably) have to call "git clone" any time someone hits "Upload > diff"? Oops, I meant "git pull", not a full "clone" each time. -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Error uploading new diff: fatal: Not a git repository: 'None'
Thanks for the confirmation. Is there any chance of an option that just allows the full local clone to be done over git (if the user says that's fine)? Or would that be too strenuous on Review Board, as it would (presumably) have to call "git clone" any time someone hits "Upload diff"? Chris On Feb 2, 10:18 pm, Christian Hammond wrote: > Yeah, unfortunately, Git provides no way to access individual files from a > remote repository without a full local clone, which is why the only two > options are having that clone or accessing over gitweb or a similar service. > > We should definitely do better validation to make sure you can never enter a > remote URL without the raw file mask. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Wed, Feb 2, 2011 at 11:42 AM, Stephen Gallagher < > > > > > > > > step...@gallagherhome.com> wrote: > > On 02/02/2011 08:12 AM, Christopher Orr wrote: > > > I just reproduced this while trying to use RB 1.5.2 with a custom > > > remote repository (git+ssh://). > > > By trial-and-error, it seems the 'None' error occurs if the "Raw file > > > URL mask" field is empty. > > > > Is it correct to say there's no way to set up a git repository in > > > Review Board, if the git server is remote and you have no web-based > > > access to it? > > > In that situation, I think what you would want to do is clone the git > > repository locally and use a cron job to keep it up to date with the > > remote repository. That's probably the only way around this. > > > Or, if you have control of the remote repository, add a post-commit hook > > that notifies your clone to update itself (this would be less wasteful > > of network resources). > > > -- > > Want to help the Review Board project? Donate today at > >http://www.reviewboard.org/donate/ > > Happy user? Let us know athttp://www.reviewboard.org/users/ > > -~--~~~~--~~--~--~--- > > To unsubscribe from this group, send email to > > reviewboard+unsubscr...@googlegroups.com > oups.com> > > For more options, visit this group at > >http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Error uploading new diff: fatal: Not a git repository: 'None'
Yeah, unfortunately, Git provides no way to access individual files from a remote repository without a full local clone, which is why the only two options are having that clone or accessing over gitweb or a similar service. We should definitely do better validation to make sure you can never enter a remote URL without the raw file mask. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 2, 2011 at 11:42 AM, Stephen Gallagher < step...@gallagherhome.com> wrote: > On 02/02/2011 08:12 AM, Christopher Orr wrote: > > I just reproduced this while trying to use RB 1.5.2 with a custom > > remote repository (git+ssh://). > > By trial-and-error, it seems the 'None' error occurs if the "Raw file > > URL mask" field is empty. > > > > Is it correct to say there's no way to set up a git repository in > > Review Board, if the git server is remote and you have no web-based > > access to it? > > In that situation, I think what you would want to do is clone the git > repository locally and use a cron job to keep it up to date with the > remote repository. That's probably the only way around this. > > Or, if you have control of the remote repository, add a post-commit hook > that notifies your clone to update itself (this would be less wasteful > of network resources). > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Error uploading new diff: fatal: Not a git repository: 'None'
On 02/02/2011 08:12 AM, Christopher Orr wrote: > I just reproduced this while trying to use RB 1.5.2 with a custom > remote repository (git+ssh://). > By trial-and-error, it seems the 'None' error occurs if the "Raw file > URL mask" field is empty. > > Is it correct to say there's no way to set up a git repository in > Review Board, if the git server is remote and you have no web-based > access to it? In that situation, I think what you would want to do is clone the git repository locally and use a cron job to keep it up to date with the remote repository. That's probably the only way around this. Or, if you have control of the remote repository, add a post-commit hook that notifies your clone to update itself (this would be less wasteful of network resources). -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Error uploading new diff: fatal: Not a git repository: 'None'
I just reproduced this while trying to use RB 1.5.2 with a custom remote repository (git+ssh://). By trial-and-error, it seems the 'None' error occurs if the "Raw file URL mask" field is empty. Is it correct to say there's no way to set up a git repository in Review Board, if the git server is remote and you have no web-based access to it? Regards, Chris On Jan 26, 6:02 am, Christian Hammond wrote: > Honestly, I have no idea where None is coming from. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Tue, Jan 25, 2011 at 8:25 AM, mhoydis wrote: > > Sure. I think the notable clues here are... > > > >>> Attempting to create review request on git@server:my_project.git for > > None > > > and... > > > >>> Error data: {u'fields': {u'path': [u"fatal: Not a git repository: > > 'None'\n"]}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had > > errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} > > > and... > > > ERROR:root:Error uploading new diff: fatal: Not a git repository: > > 'None' > > > - > > > What value is "None" referring to, here? > > > -Michael > > > On Jan 24, 7:11 pm, Christian Hammond wrote: > > > Hi Michael, > > > > Would you mind (privately, if you like) showing me the repository > > > configuration on the server? > > > > Christian > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > Review Board -http://www.reviewboard.org > > > VMware, Inc. -http://www.vmware.com > > > > On Mon, Jan 24, 2011 at 2:58 PM, mhoydis > > wrote: > > > > Trying to use post-review with our custom git setup. My repository is > > > > configured in ReviewBoard with the path being > > > > git@server:my_project.git. I've setup the SSH key in ReviewBoard to > > > > use that git URL, and confirmed that's working. ReviewBoard 1.6 > > > > alpha 0 (dev) > > > > > I'm running this command on my Mac desktop: > > > > git config reviewboard.urlhttp://reviewboard.mydomain.com > > > > post-review --parent=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee -- > > > > revision-range=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee: > > > > 1015d188c7d28c3b543b1e528ab34e8ee2a62cdf --guess-summary --guess- > > > > description --publish --debug > > > > > - > > > > > This is the error I'm getting from post-review on my Mac desktop: > > > > > >>> svn info > > > > >>> git rev-parse --git-dir > > > > >>> git symbolic-ref -q HEAD > > > > >>> git svn info > > > > >>> git svn --version > > > > >>> git config --get svn-remote.svn.url > > > > >>> git config --get branch.master.merge > > > > >>> git config --get branch.master.remote > > > > >>> git config remote.origin.url > > > > >>> repository info: Path: git@server:my_project.git, Base path: , > > > > Supports changesets: False > > > > >>> git config --get reviewboard.url > > > > >>> git log --pretty=format:%s > > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > > > >>> git log --pretty=format:%s%n%n%b > > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > > > >>> git diff --no-color --full-index > > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > > > >>> Looking for 'reviewboard.mydomain.com /' cookie in > > > > /Users/myuser/.post-review-cookies.txt > > > > >>> Loaded valid cookie -- no login required > > > > >>> Attempting to create review request on git@server:my_project.git > > for > > > > None > > > > >>> HTTP POSTing to > > > >http://reviewboard.mydomain.com/api/json/reviewrequests/new/: > > > > {'repository_path': 'git@server:my_project.git'} > > > > >>> Review request created > > > > >>> Attempting to set field 'summary'
Re: Error uploading new diff: fatal: Not a git repository: 'None'
Honestly, I have no idea where None is coming from. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Jan 25, 2011 at 8:25 AM, mhoydis wrote: > Sure. I think the notable clues here are... > > >>> Attempting to create review request on git@server:my_project.git for > None > > and... > > >>> Error data: {u'fields': {u'path': [u"fatal: Not a git repository: > 'None'\n"]}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had > errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} > > and... > > ERROR:root:Error uploading new diff: fatal: Not a git repository: > 'None' > > - > > > What value is "None" referring to, here? > > -Michael > > > > > > > > > > > On Jan 24, 7:11 pm, Christian Hammond wrote: > > Hi Michael, > > > > Would you mind (privately, if you like) showing me the repository > > configuration on the server? > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > > On Mon, Jan 24, 2011 at 2:58 PM, mhoydis > wrote: > > > Trying to use post-review with our custom git setup. My repository is > > > configured in ReviewBoard with the path being > > > git@server:my_project.git. I've setup the SSH key in ReviewBoard to > > > use that git URL, and confirmed that's working. ReviewBoard 1.6 > > > alpha 0 (dev) > > > > > I'm running this command on my Mac desktop: > > > git config reviewboard.urlhttp://reviewboard.mydomain.com > > > post-review --parent=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee -- > > > revision-range=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee: > > > 1015d188c7d28c3b543b1e528ab34e8ee2a62cdf --guess-summary --guess- > > > description --publish --debug > > > > > - > > > > > This is the error I'm getting from post-review on my Mac desktop: > > > > > >>> svn info > > > >>> git rev-parse --git-dir > > > >>> git symbolic-ref -q HEAD > > > >>> git svn info > > > >>> git svn --version > > > >>> git config --get svn-remote.svn.url > > > >>> git config --get branch.master.merge > > > >>> git config --get branch.master.remote > > > >>> git config remote.origin.url > > > >>> repository info: Path: git@server:my_project.git, Base path: , > > > Supports changesets: False > > > >>> git config --get reviewboard.url > > > >>> git log --pretty=format:%s > > > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > > >>> git log --pretty=format:%s%n%n%b > > > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > > >>> git diff --no-color --full-index > > > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > > >>> Looking for 'reviewboard.mydomain.com /' cookie in > > > /Users/myuser/.post-review-cookies.txt > > > >>> Loaded valid cookie -- no login required > > > >>> Attempting to create review request on git@server:my_project.git > for > > > None > > > >>> HTTP POSTing to > > >http://reviewboard.mydomain.com/api/json/reviewrequests/new/: > > > {'repository_path': 'git@server:my_project.git'} > > > >>> Review request created > > > >>> Attempting to set field 'summary' to 'Blah Blah #3135 - Blah blah > blah > > > yadayadaydada * blH, BAH, bah, New(template) added * blah written > for > > > model, controller(blah, hey), and New hey * Refactored component and > blah > > > authorization specs into seperate files * Added Administration > namespace' > > > for review request '48' > > > >>> HTTP POSTing to > > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > > > {'summary': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, > BAH, > > > bah, New(template) added * blah written for model, controlle
Re: Error uploading new diff: fatal: Not a git repository: 'None'
; >>> Attempting to set field 'description' to 'Blah Blah #3135 - Blah > blah > > > blah yadayadaydada * blH, BAH, bah, New(template) added * blah > written > > > for model, controller(blah, hey), and New hey * Refactored component > and > > > blah authorization specs into seperate files * Added Administration > > > namespace' for review request '48' > > > >>> HTTP POSTing to > > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > > > {'description': 'Blah Blah #3135 - Blah blah blah yadayadaydada * > blH, > > > BAH, bah, New(template) added * blah written for model, > controller(blah, > > > hey), and New hey * Refactored component and blah authorization specs > into > > > seperate files * Added Administration namespace'} > > > >>> Uploading diff, size: 32902 > > > >>> HTTP POSTing to > > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/diff/new/:{}<http://reviewboard.mydomain.com/api/json/reviewrequests/48/diff/new/:%7B%7D> > > > >>> Got API Error 105 (HTTP code 200): One or more fields had errors > > > >>> Error data: {u'fields': {u'path': [u"fatal: Not a git repository: > > > 'None'\n"]}, u'stat': u'fail', u'err': {u'msg': u'One or more fields > had > > > errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} > > > > > Error uploading diff > > > > > The generated diff file was empty. This usually means no files were > > > modified in this change. > > > > > Try running with --output-diff and --debug for more information. > > > > > Your review request still exists, but the diff is not attached. > > > > > - > > > > > This is the error that's in apache's error.log on my server running > > > ReviewBoard: > > > > > ERROR:root:Error uploading new diff: fatal: Not a git repository: > > > 'None' > > > Traceback (most recent call last): > > > File "/usr/local/lib/python2.6/dist-packages/ > > > ReviewBoard-1.6alpha0.dev-py2.6.egg/reviewboard/webapi/json.py", line > > > 1168, in new_diff > > >request.FILES.get('parent_diff_path')) > > > File "/usr/local/lib/python2.6/dist-packages/ > > > ReviewBoard-1.6alpha0.dev-py2.6.egg/reviewboard/reviews/forms.py", > > > line 284, in create > > >history) > > > File "/usr/local/lib/python2.6/dist-packages/ > > > ReviewBoard-1.6alpha0.dev-py2.6.egg/reviewboard/diffviewer/forms.py", > > > line 63, in create > > >diff_file, basedir, check_existance=(not parent_diff_file))) > > > File "/usr/local/lib/python2.6/dist-packages/ > > > ReviewBoard-1.6alpha0.dev-py2.6.egg/reviewboard/diffviewer/forms.py", > > > line 149, in _process_files > > >not tool.file_exists(filename, revision))): > > > File "/usr/local/lib/python2.6/dist-packages/ > > > ReviewBoard-1.6alpha0.dev-py2.6.egg/reviewboard/scmtools/git.py", line > > > 75, in file_exists > > >return self.client.get_file_exists(path, revision) > > > File "/usr/local/lib/python2.6/dist-packages/ > > > ReviewBoard-1.6alpha0.dev-py2.6.egg/reviewboard/scmtools/git.py", line > > > 348, in get_file_exists > > >contents = self._cat_file(path, revision, "-t") > > > File "/usr/local/lib/python2.6/dist-packages/ > > > ReviewBoard-1.6alpha0.dev-py2.6.egg/reviewboard/scmtools/git.py", line > > > 394, in _cat_file > > >raise SCMError(errmsg) > > > SCMError: fatal: Not a git repository: 'None' > > > > > > > > > > Any ideas? I've tried all sorts of variations of flags for the post- > > > review command to no avail. I think the issue is somewhere on the > > > server side. It seems somewhere my git URL is not being set ('None') > > > or perhaps ignored. > > > -Michael > > > > > -- > > > Want to help the Review Board project? Donate today at > > >http://www.reviewboard.org/donate/ > > > Happy user? Let us know athttp://www.reviewboard.org/users/ > > > -~--~~~~--~~--~--~--- > > > To unsubscribe from this group, send email to > > > reviewboard+unsubscr...@googlegroups.com > > > > > > For more options, visit this group at > > >http://groups.google.com/group/reviewboard?hl=en > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Error uploading new diff: fatal: Not a git repository: 'None'
Sure. I think the notable clues here are... >>> Attempting to create review request on git@server:my_project.git for None and... >>> Error data: {u'fields': {u'path': [u"fatal: Not a git repository: >>> 'None'\n"]}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had >>> errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} and... ERROR:root:Error uploading new diff: fatal: Not a git repository: 'None' - What value is "None" referring to, here? -Michael On Jan 24, 7:11 pm, Christian Hammond wrote: > Hi Michael, > > Would you mind (privately, if you like) showing me the repository > configuration on the server? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Mon, Jan 24, 2011 at 2:58 PM, mhoydis wrote: > > Trying to use post-review with our custom git setup. My repository is > > configured in ReviewBoard with the path being > > git@server:my_project.git. I've setup the SSH key in ReviewBoard to > > use that git URL, and confirmed that's working. ReviewBoard 1.6 > > alpha 0 (dev) > > > I'm running this command on my Mac desktop: > > git config reviewboard.urlhttp://reviewboard.mydomain.com > > post-review --parent=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee -- > > revision-range=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee: > > 1015d188c7d28c3b543b1e528ab34e8ee2a62cdf --guess-summary --guess- > > description --publish --debug > > > - > > > This is the error I'm getting from post-review on my Mac desktop: > > > >>> svn info > > >>> git rev-parse --git-dir > > >>> git symbolic-ref -q HEAD > > >>> git svn info > > >>> git svn --version > > >>> git config --get svn-remote.svn.url > > >>> git config --get branch.master.merge > > >>> git config --get branch.master.remote > > >>> git config remote.origin.url > > >>> repository info: Path: git@server:my_project.git, Base path: , > > Supports changesets: False > > >>> git config --get reviewboard.url > > >>> git log --pretty=format:%s > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > >>> git log --pretty=format:%s%n%n%b > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > >>> git diff --no-color --full-index > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > >>> Looking for 'reviewboard.mydomain.com /' cookie in > > /Users/myuser/.post-review-cookies.txt > > >>> Loaded valid cookie -- no login required > > >>> Attempting to create review request on git@server:my_project.git for > > None > > >>> HTTP POSTing to > >http://reviewboard.mydomain.com/api/json/reviewrequests/new/: > > {'repository_path': 'git@server:my_project.git'} > > >>> Review request created > > >>> Attempting to set field 'summary' to 'Blah Blah #3135 - Blah blah blah > > yadayadaydada * blH, BAH, bah, New(template) added * blah written for > > model, controller(blah, hey), and New hey * Refactored component and blah > > authorization specs into seperate files * Added Administration namespace' > > for review request '48' > > >>> HTTP POSTing to > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > > {'summary': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, BAH, > > bah, New(template) added * blah written for model, controller(blah, hey), > > and New hey * Refactored component and blah authorization specs into > > seperate files * Added Administration namespace'} > > >>> Attempting to set field 'description' to 'Blah Blah #3135 - Blah blah > > blah yadayadaydada * blH, BAH, bah, New(template) added * blah written > > for model, controller(blah, hey), and New hey * Refactored component and > > blah authorization specs into seperate files * Added Administration > > namespace' for review request '48' > > >>> HTTP POSTing to > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > > {'description': &
Re: Error uploading new diff: fatal: Not a git repository: 'None'
A, I got this to work. In the repository's configuration in ReviewBoard, the "path" is the path to a local clone of the git project. Like /clones/project/.git The "Mirror Path" is whatever your project's origin is. Like git@server:project.git -Michael On Jan 24, 7:11 pm, Christian Hammond wrote: > Hi Michael, > > Would you mind (privately, if you like) showing me the repository > configuration on the server? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.reviewboard.org > VMware, Inc. -http://www.vmware.com > > On Mon, Jan 24, 2011 at 2:58 PM, mhoydis wrote: > > Trying to use post-review with our custom git setup. My repository is > > configured in ReviewBoard with the path being > > git@server:my_project.git. I've setup the SSH key in ReviewBoard to > > use that git URL, and confirmed that's working. ReviewBoard 1.6 > > alpha 0 (dev) > > > I'm running this command on my Mac desktop: > > git config reviewboard.urlhttp://reviewboard.mydomain.com > > post-review --parent=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee -- > > revision-range=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee: > > 1015d188c7d28c3b543b1e528ab34e8ee2a62cdf --guess-summary --guess- > > description --publish --debug > > > - > > > This is the error I'm getting from post-review on my Mac desktop: > > > >>> svn info > > >>> git rev-parse --git-dir > > >>> git symbolic-ref -q HEAD > > >>> git svn info > > >>> git svn --version > > >>> git config --get svn-remote.svn.url > > >>> git config --get branch.master.merge > > >>> git config --get branch.master.remote > > >>> git config remote.origin.url > > >>> repository info: Path: git@server:my_project.git, Base path: , > > Supports changesets: False > > >>> git config --get reviewboard.url > > >>> git log --pretty=format:%s > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > >>> git log --pretty=format:%s%n%n%b > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > >>> git diff --no-color --full-index > > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > > >>> Looking for 'reviewboard.mydomain.com /' cookie in > > /Users/myuser/.post-review-cookies.txt > > >>> Loaded valid cookie -- no login required > > >>> Attempting to create review request on git@server:my_project.git for > > None > > >>> HTTP POSTing to > >http://reviewboard.mydomain.com/api/json/reviewrequests/new/: > > {'repository_path': 'git@server:my_project.git'} > > >>> Review request created > > >>> Attempting to set field 'summary' to 'Blah Blah #3135 - Blah blah blah > > yadayadaydada * blH, BAH, bah, New(template) added * blah written for > > model, controller(blah, hey), and New hey * Refactored component and blah > > authorization specs into seperate files * Added Administration namespace' > > for review request '48' > > >>> HTTP POSTing to > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > > {'summary': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, BAH, > > bah, New(template) added * blah written for model, controller(blah, hey), > > and New hey * Refactored component and blah authorization specs into > > seperate files * Added Administration namespace'} > > >>> Attempting to set field 'description' to 'Blah Blah #3135 - Blah blah > > blah yadayadaydada * blH, BAH, bah, New(template) added * blah written > > for model, controller(blah, hey), and New hey * Refactored component and > > blah authorization specs into seperate files * Added Administration > > namespace' for review request '48' > > >>> HTTP POSTing to > >http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > > {'description': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, > > BAH, bah, New(template) added * blah written for model, controller(blah, > > hey), and New hey * Refactored component and blah authorization specs into > > seperate files * Added Administration namespace'} > > >>> Uploading diff, size: 32902 > > >>> HTTP POSTing to >
Re: Error uploading new diff: fatal: Not a git repository: 'None'
Hi Michael, Would you mind (privately, if you like) showing me the repository configuration on the server? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Jan 24, 2011 at 2:58 PM, mhoydis wrote: > Trying to use post-review with our custom git setup. My repository is > configured in ReviewBoard with the path being > git@server:my_project.git. I've setup the SSH key in ReviewBoard to > use that git URL, and confirmed that's working. ReviewBoard 1.6 > alpha 0 (dev) > > I'm running this command on my Mac desktop: > git config reviewboard.url http://reviewboard.mydomain.com > post-review --parent=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee -- > revision-range=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee: > 1015d188c7d28c3b543b1e528ab34e8ee2a62cdf --guess-summary --guess- > description --publish --debug > > - > > This is the error I'm getting from post-review on my Mac desktop: > > >>> svn info > >>> git rev-parse --git-dir > >>> git symbolic-ref -q HEAD > >>> git svn info > >>> git svn --version > >>> git config --get svn-remote.svn.url > >>> git config --get branch.master.merge > >>> git config --get branch.master.remote > >>> git config remote.origin.url > >>> repository info: Path: git@server:my_project.git, Base path: , > Supports changesets: False > >>> git config --get reviewboard.url > >>> git log --pretty=format:%s > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > >>> git log --pretty=format:%s%n%n%b > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > >>> git diff --no-color --full-index > aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf > >>> Looking for 'reviewboard.mydomain.com /' cookie in > /Users/myuser/.post-review-cookies.txt > >>> Loaded valid cookie -- no login required > >>> Attempting to create review request on git@server:my_project.git for > None > >>> HTTP POSTing to > http://reviewboard.mydomain.com/api/json/reviewrequests/new/: > {'repository_path': 'git@server:my_project.git'} > >>> Review request created > >>> Attempting to set field 'summary' to 'Blah Blah #3135 - Blah blah blah > yadayadaydada * blH, BAH, bah, New(template) added * blah written for > model, controller(blah, hey), and New hey * Refactored component and blah > authorization specs into seperate files * Added Administration namespace' > for review request '48' > >>> HTTP POSTing to > http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > {'summary': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, BAH, > bah, New(template) added * blah written for model, controller(blah, hey), > and New hey * Refactored component and blah authorization specs into > seperate files * Added Administration namespace'} > >>> Attempting to set field 'description' to 'Blah Blah #3135 - Blah blah > blah yadayadaydada * blH, BAH, bah, New(template) added * blah written > for model, controller(blah, hey), and New hey * Refactored component and > blah authorization specs into seperate files * Added Administration > namespace' for review request '48' > >>> HTTP POSTing to > http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: > {'description': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, > BAH, bah, New(template) added * blah written for model, controller(blah, > hey), and New hey * Refactored component and blah authorization specs into > seperate files * Added Administration namespace'} > >>> Uploading diff, size: 32902 > >>> HTTP POSTing to > http://reviewboard.mydomain.com/api/json/reviewrequests/48/diff/new/: {} > >>> Got API Error 105 (HTTP code 200): One or more fields had errors > >>> Error data: {u'fields': {u'path': [u"fatal: Not a git repository: > 'None'\n"]}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had > errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} > > Error uploading diff > > The generated diff file was empty. This usually means no files were > modified in this change. > > Try running with --output-diff and --debug for more
Error uploading new diff: fatal: Not a git repository: 'None'
Trying to use post-review with our custom git setup. My repository is configured in ReviewBoard with the path being git@server:my_project.git. I've setup the SSH key in ReviewBoard to use that git URL, and confirmed that's working. ReviewBoard 1.6 alpha 0 (dev) I'm running this command on my Mac desktop: git config reviewboard.url http://reviewboard.mydomain.com post-review --parent=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee -- revision-range=aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee: 1015d188c7d28c3b543b1e528ab34e8ee2a62cdf --guess-summary --guess- description --publish --debug - This is the error I'm getting from post-review on my Mac desktop: >>> svn info >>> git rev-parse --git-dir >>> git symbolic-ref -q HEAD >>> git svn info >>> git svn --version >>> git config --get svn-remote.svn.url >>> git config --get branch.master.merge >>> git config --get branch.master.remote >>> git config remote.origin.url >>> repository info: Path: git@server:my_project.git, Base path: , Supports >>> changesets: False >>> git config --get reviewboard.url >>> git log --pretty=format:%s >>> aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf >>> git log --pretty=format:%s%n%n%b >>> aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf >>> git diff --no-color --full-index >>> aa1c05d4bab33156cd3feaeb8ea6ed669eb92eee..1015d188c7d28c3b543b1e528ab34e8ee2a62cdf >>> Looking for 'reviewboard.mydomain.com /' cookie in >>> /Users/myuser/.post-review-cookies.txt >>> Loaded valid cookie -- no login required >>> Attempting to create review request on git@server:my_project.git for None >>> HTTP POSTing to >>> http://reviewboard.mydomain.com/api/json/reviewrequests/new/: >>> {'repository_path': 'git@server:my_project.git'} >>> Review request created >>> Attempting to set field 'summary' to 'Blah Blah #3135 - Blah blah blah >>> yadayadaydada * blH, BAH, bah, New(template) added * blah written for >>> model, controller(blah, hey), and New hey * Refactored component and blah >>> authorization specs into seperate files * Added Administration namespace' >>> for review request '48' >>> HTTP POSTing to >>> http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: >>> {'summary': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, BAH, >>> bah, New(template) added * blah written for model, controller(blah, hey), >>> and New hey * Refactored component and blah authorization specs into >>> seperate files * Added Administration namespace'} >>> Attempting to set field 'description' to 'Blah Blah #3135 - Blah blah blah >>> yadayadaydada * blH, BAH, bah, New(template) added * blah written for >>> model, controller(blah, hey), and New hey * Refactored component and blah >>> authorization specs into seperate files * Added Administration namespace' >>> for review request '48' >>> HTTP POSTing to >>> http://reviewboard.mydomain.com/api/json/reviewrequests/48/draft/set/: >>> {'description': 'Blah Blah #3135 - Blah blah blah yadayadaydada * blH, >>> BAH, bah, New(template) added * blah written for model, controller(blah, >>> hey), and New hey * Refactored component and blah authorization specs >>> into seperate files * Added Administration namespace'} >>> Uploading diff, size: 32902 >>> HTTP POSTing to >>> http://reviewboard.mydomain.com/api/json/reviewrequests/48/diff/new/: {} >>> Got API Error 105 (HTTP code 200): One or more fields had errors >>> Error data: {u'fields': {u'path': [u"fatal: Not a git repository: >>> 'None'\n"]}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had >>> errors', u'code': 105}, u'deprecated': {u'in_version': u'1.5'}} Error uploading diff The generated diff file was empty. This usually means no files were modified in this change. Try running with --output-diff and --debug for more information. Your review request still exists, but the diff is not attached. - This is the error that's in apache's error.log on my server running ReviewBoard: ERROR:root:Error uploading new diff: fatal: Not a git repository: 'None'