Breezy 2019 summer sprint report

Sam Bull bazaar at sambull.org
Mon Aug 12 19:19:30 UTC 2019


On Mon, 2019-08-05 at 01:26 +0000, Jelmer Vernooń≥ wrote:
> Do you have an example BitBucket URL that doesn't work for you, so I can test
> it here?

OK, picked a random public Bitbucket repository and got the same error:

   > brz branch git+ssh://git@bitbucket.org:atlassian/python-bitbucket.git
Enter passphrase for key '/Users/sambull/.ssh/id_rsa':
brz: ERROR: An unexpected error occurred

Also tried it with a random Github https repo, and got another error:

   > brz branch https://github.com/psf/black.git
Not checking SSL certificate for github.com.
brz: ERROR: ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled.

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line 1016, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line 1202, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line 759, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line 784, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/breezy/cleanup.py", line 137, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/breezy/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/breezy/builtins.py", line 1466, in run
    from_location)
  File "/usr/local/lib/python3.7/site-packages/breezy/controldir.py", line 799, in open_tree_or_branch
    controldir = klass.open(location)
  File "/usr/local/lib/python3.7/site-packages/breezy/controldir.py", line 707, in open
    _unsupported=_unsupported)
  File "/usr/local/lib/python3.7/site-packages/breezy/controldir.py", line 737, in open_from_transport
    find_format, transport, redirected)
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections
    return action(transport)
  File "/usr/local/lib/python3.7/site-packages/breezy/controldir.py", line 725, in find_format
    probers=probers)
  File "/usr/local/lib/python3.7/site-packages/breezy/controldir.py", line 1162, in find_format
    return prober.probe_transport(transport)
  File "/usr/local/lib/python3.7/site-packages/breezy/bzr/__init__.py", line 86, in probe_transport
    server_version = medium.protocol_version()
  File "/usr/local/lib/python3.7/site-packages/breezy/bzr/smart/medium.py", line 831, in protocol_version
    client_protocol.query_version()
  File "/usr/local/lib/python3.7/site-packages/breezy/bzr/smart/protocol.py", line 806, in query_version
    self.call(b'hello')
  File "/usr/local/lib/python3.7/site-packages/breezy/bzr/smart/protocol.py", line 644, in call
    self._request.finished_writing()
  File "/usr/local/lib/python3.7/site-packages/breezy/bzr/smart/medium.py", line 613, in finished_writing
    self._finished_writing()
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/__init__.py", line 727, in _finished_writing
    data = self._medium.send_http_smart_request(self._buffer)
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/__init__.py", line 691, in send_http_smart_request
    code, body_filelike = t._post(bytes)
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/__init__.py", line 427, in _post
    accepted_errors=[200, 403]))
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/__init__.py", line 116, in _perform
    response = self._opener.open(request)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/_urllib2_wrappers.py", line 953, in https_open
    return self.do_open(HTTPSConnection, request)
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/_urllib2_wrappers.py", line 827, in do_open
    headers, encode_chunked=False)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1275, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1224, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1016, in _send_output
    self.send(msg)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 956, in send
    self.connect()
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/_urllib2_wrappers.py", line 464, in connect
    self.connect_to_origin()
  File "/usr/local/lib/python3.7/site-packages/breezy/transport/http/_urllib2_wrappers.py", line 495, in connect_to_origin
    ssl_context.verify_mode = cert_reqs
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 548, in verify_mode
    super(SSLContext, SSLContext).verify_mode.__set__(self, value)
ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled.

brz 3.0.1 on python 3.7.3 (Darwin-18.7.0-x86_64-i386-64bit)
arguments: ['/usr/local/bin/brz', 'branch',
    'https://github.com/psf/black.git']
plugins: bash_completion[3.0.1], changelog_merge[3.0.1],
    commitfromnews[unknown], cvs[3.0.1], darcs[unknown], email[unknown],
    fastimport[unknown], launchpad[3.0.1], mtn[3.0.1],
    netrc_credential_store[3.0.1], news_merge[3.0.1], po_merge[3.0.1],
    propose[unknown], repodebug[unknown], stats[3.0.1], upload[3.0.1],
    weave_fmt[3.0.1]
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_GB.UTF-8'

*** Bazaar has encountered an internal error.  This probably indicates a
    bug in Bazaar.  You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/brz/+filebug
    including this traceback and a description of the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20190812/696eba41/attachment.sig>


More information about the bazaar mailing list