What version should I use, where from to get it?

Asked by Sasa Stamenkovic

I installed version 0.7.1-3 since that's the current version supported in Ubuntu software center and got:

client, path = get_transport_and_path('https://github.com/symfony/symfony.git')
  File "/usr/lib/python2.7/dist-packages/dulwich/client.py", line 381, in get_transport_and_path
    raise ValueError('Unknown git protocol scheme: %s' % parsed.scheme)
ValueError: Unknown git protocol scheme: https

Then I manually installed 0.8.1 and got:

client, path = get_transport_and_path('https://github.com/symfony/symfony.git')
  File "/usr/local/lib/python2.7/dist-packages/dulwich/client.py", line 719, in get_transport_and_path
    parsed.scheme, parsed.netloc, path='/'))
TypeError: urlunparse() takes exactly 1 argument (3 given)

I see some bug recently closed on github https://github.com/jelmer/dulwich/pull/33.

The question is: is this on github same project as here in lauchpad? What version of dulwich should I use in order to be able to work with https repos and where to get it?

Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Dulwich Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jelmer Vernooij (jelmer) said :
#1

For HTTPS repositories you will need at least version 0.8.0, which added support for https:// and http:// repositories.

The bug you reference indeed seems relevant to https connections, so you might have to use 0.8.2 (which includes that fix) rather than 0.8.0.

Revision history for this message
Sasa Stamenkovic (umpirsky) said :
#2

Thanks for the answer, but isn't 0.8.1 the latest I can get? https://launchpad.net/dulwich/+download

Revision history for this message
Jelmer Vernooij (jelmer) said :
#3

0.8.2 is the latest, see http://www.samba.org/~jelmer/dulwich/

Can you help with this problem?

Provide an answer of your own, or ask Sasa Stamenkovic for more information if necessary.

To post a message you must log in.