Activity log for bug #497274

Date Who What changed Old value New value Message
2009-12-16 03:19:47 Martin Pool bug added bug
2009-12-16 03:30:33 Martin Pool description >> Le mercredi 16 décembre 2009 à 00:52 +0200, Alexander Belchenko a >> écrit : >> > bzr branch https://spyderlib.googlecode.com/hg/ spyderlib >> >> Unfortunately this doesn't actually appear to work. We have a similar >> problem with bzr-hg against Google code as we have for bzr-svn: Google >> will return an error 405 when bzr attempts to access >> .bzr/branch-format. 405 is 'not allowed', which is imo (without rereading the spec) a reasonable thing for an http server to do if it doesn't want to let you post to that url. We should probably cleanly handle that as "no smart server here?" >> Le mercredi 16 décembre 2009 à 00:52 +0200, Alexander Belchenko a >> écrit : >> > bzr branch https://spyderlib.googlecode.com/hg/ spyderlib >> >> Unfortunately this doesn't actually appear to work. We have a similar >> problem with bzr-hg against Google code as we have for bzr-svn: Google >> will return an error 405 when bzr attempts to access >> .bzr/branch-format. 405 is 'not allowed', which is imo (without rereading the spec) a reasonable thing for an http server to do if it doesn't want to let you post to that url. We should probably cleanly handle that as "no smart server here?" --- bzr: ERROR: bzrlib.errors.InvalidHttpResponse: Invalid http response for https://spyderlib.googlecode.com/.bzr/branch-format: Unable to handle http code 503: expected 200 or 404 for full response. Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 843, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1044, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 655, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1059, in ignore_pipe result = func(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 2309, in run revision, file_list) File "/usr/lib/python2.6/dist-packages/bzrlib/log.py", line 1886, in _get_info_for_log_files tree, b, path = bzrdir.BzrDir.open_containing_tree_or_branch(file_list[0]) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 971, in open_containing_tree_or_branch bzrdir, relpath = klass.open_containing(location) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 898, in open_containing return BzrDir.open_containing_from_transport(transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 919, in open_containing_from_transport result = BzrDir.open_from_transport(a_transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 873, in open_from_transport redirected) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1644, in do_catching_redirections return action(transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 860, in find_format transport, _server_formats=_server_formats) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1820, in find_format return format.probe_transport(transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1830, in probe_transport format_string = transport.get_bytes(".bzr/branch-format") File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 609, in get_bytes f = self.get(relpath) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py", line 126, in get code, response_file = self._get(relpath, None) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 169, in _get return self._get_full(relpath) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 213, in _get_full curl, 'expected 200 or 404 for full response.') File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 307, in _raise_curl_http_error url, 'Unable to handle http code %d%s' % (code,msg)) InvalidHttpResponse: Invalid http response for https://spyderlib.googlecode.com/.bzr/branch-format: Unable to handle http code 503: expected 200 or 404 for full response.
2009-12-16 03:30:50 Martin Pool description >> Le mercredi 16 décembre 2009 à 00:52 +0200, Alexander Belchenko a >> écrit : >> > bzr branch https://spyderlib.googlecode.com/hg/ spyderlib >> >> Unfortunately this doesn't actually appear to work. We have a similar >> problem with bzr-hg against Google code as we have for bzr-svn: Google >> will return an error 405 when bzr attempts to access >> .bzr/branch-format. 405 is 'not allowed', which is imo (without rereading the spec) a reasonable thing for an http server to do if it doesn't want to let you post to that url. We should probably cleanly handle that as "no smart server here?" --- bzr: ERROR: bzrlib.errors.InvalidHttpResponse: Invalid http response for https://spyderlib.googlecode.com/.bzr/branch-format: Unable to handle http code 503: expected 200 or 404 for full response. Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 843, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1044, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 655, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1059, in ignore_pipe result = func(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 2309, in run revision, file_list) File "/usr/lib/python2.6/dist-packages/bzrlib/log.py", line 1886, in _get_info_for_log_files tree, b, path = bzrdir.BzrDir.open_containing_tree_or_branch(file_list[0]) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 971, in open_containing_tree_or_branch bzrdir, relpath = klass.open_containing(location) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 898, in open_containing return BzrDir.open_containing_from_transport(transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 919, in open_containing_from_transport result = BzrDir.open_from_transport(a_transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 873, in open_from_transport redirected) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1644, in do_catching_redirections return action(transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 860, in find_format transport, _server_formats=_server_formats) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1820, in find_format return format.probe_transport(transport) File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1830, in probe_transport format_string = transport.get_bytes(".bzr/branch-format") File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 609, in get_bytes f = self.get(relpath) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py", line 126, in get code, response_file = self._get(relpath, None) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 169, in _get return self._get_full(relpath) File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 213, in _get_full curl, 'expected 200 or 404 for full response.') File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 307, in _raise_curl_http_error url, 'Unable to handle http code %d%s' % (code,msg)) InvalidHttpResponse: Invalid http response for https://spyderlib.googlecode.com/.bzr/branch-format: Unable to handle http code 503: expected 200 or 404 for full response. >> Le mercredi 16 décembre 2009 à 00:52 +0200, Alexander Belchenko a >> écrit : >> > bzr branch https://spyderlib.googlecode.com/hg/ spyderlib >> >> Unfortunately this doesn't actually appear to work. We have a similar >> problem with bzr-hg against Google code as we have for bzr-svn: Google >> will return an error 405 when bzr attempts to access >> .bzr/branch-format. 405 is 'not allowed', which is imo (without rereading the spec) a reasonable thing for an http server to do if it doesn't want to let you post to that url. We should probably cleanly handle that as "no smart server here?" --- % bzr -Derror log https://spyderlib.googlecode.com/hg/ bzr: ERROR: bzrlib.errors.InvalidHttpResponse: Invalid http response for https://spyderlib.googlecode.com/.bzr/branch-format: Unable to handle http code 503: expected 200 or 404 for full response. Traceback (most recent call last):   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 843, in exception_to_return_code     return the_callable(*args, **kwargs)   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1044, in run_bzr     ret = run(*run_argv)   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 655, in run_argv_aliases     return self.run(**all_cmd_args)   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1059, in ignore_pipe     result = func(*args, **kwargs)   File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 2309, in run     revision, file_list)   File "/usr/lib/python2.6/dist-packages/bzrlib/log.py", line 1886, in _get_info_for_log_files     tree, b, path = bzrdir.BzrDir.open_containing_tree_or_branch(file_list[0])   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 971, in open_containing_tree_or_branch     bzrdir, relpath = klass.open_containing(location)   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 898, in open_containing     return BzrDir.open_containing_from_transport(transport)   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 919, in open_containing_from_transport     result = BzrDir.open_from_transport(a_transport)   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 873, in open_from_transport     redirected)   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1644, in do_catching_redirections     return action(transport)   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 860, in find_format     transport, _server_formats=_server_formats)   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1820, in find_format     return format.probe_transport(transport)   File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1830, in probe_transport     format_string = transport.get_bytes(".bzr/branch-format")   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 609, in get_bytes     f = self.get(relpath)   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py", line 126, in get     code, response_file = self._get(relpath, None)   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 169, in _get     return self._get_full(relpath)   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 213, in _get_full     curl, 'expected 200 or 404 for full response.')   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 307, in _raise_curl_http_error     url, 'Unable to handle http code %d%s' % (code,msg)) InvalidHttpResponse: Invalid http response for https://spyderlib.googlecode.com/.bzr/branch-format: Unable to handle http code 503: expected 200 or 404 for full response.
2009-12-16 03:42:57 Martin Pool bzr: status Confirmed In Progress
2009-12-16 03:43:01 Martin Pool bzr: assignee Martin Pool (mbp)
2009-12-16 07:00:37 Launchpad Janitor branch linked lp:~mbp/bzr/497274-http-405
2010-03-30 05:42:22 Martin Pool bzr: importance Medium Low
2010-03-30 05:42:22 Martin Pool bzr: status In Progress Confirmed
2010-03-30 05:42:22 Martin Pool bzr: assignee Martin Pool (mbp)
2011-01-14 22:50:26 Jelmer Vernooij bzr: importance Low Medium
2011-01-14 22:52:01 Jelmer Vernooij bug added subscriber Jelmer Vernooij
2011-09-13 18:23:39 Janne Snabb bug added subscriber Janne Snabb
2011-11-17 00:47:04 Jelmer Vernooij bzr: assignee Jelmer Vernooij (jelmer)
2012-04-02 21:37:32 Jelmer Vernooij bzr: assignee Jelmer Vernooij (jelmer)
2017-11-09 00:19:22 Jelmer Vernooij tags easy hpss http check-for-breezy easy hpss http
2018-04-02 23:50:02 Jelmer Vernooij tags check-for-breezy easy hpss http easy hpss http