elrodo1 / pywebdav

Automatically exported from code.google.com/p/pywebdav
0 stars 0 forks source link

Git : unable to clone #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install the product
2. create a repo in /tmp/scm/git with the attached script
3. run the command : $ davserver -D /tmp/scm/git -n -P 8008 -i 0 -J -d start
4. try git clone http://localhost:8008/depo1.git

What is the expected output? What do you see instead?
Cloning into 'depo1'...
* Couldn't find host localhost in the .netrc file; using defaults
* About to connect() to localhost port 8008 (#0)
*   Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 8008 (#0)
> GET /depo1.git/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.7.11.4
Host: localhost:8008
Accept: */*
Pragma: no-cache

* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Server: DAV/0.9.8 Python/2.7.3
< Date: Thu, 20 Sep 2012 08:29:56 GMT
< Content-type: application/octet-stream
< Transfer-Encoding: chunked
< Date: Thu, 20 Sep 2012 08:29:56 GMT
< DAV: 1
< Last-Modified: Thu, 20 Sep 2012 07:10:59 GMT
* HTTP/1.0 connection set to keep alive!
< Connection: Keep-Alive
< Keep-Alive: timeout=15, max=86
< Content-Length: 0
<

That's all, it doesn't clone the repository.

What version of the product are you using? On what operating system?
PyWebDav-0.9.8 from sources on fedora 17-i386 with Git 1.7.11.4.

Please provide any additional information below.
I have attached my logs.

Original issue reported on code.google.com by gautier....@gmail.com on 20 Sep 2012 at 8:33

Attachments:

GoogleCodeExporter commented 8 years ago
Why do you want to use pywebdav to clone a git repository?

Original comment by cedric.krier@b2ck.com on 20 Sep 2012 at 9:21

GoogleCodeExporter commented 8 years ago
In fact I want to use pywebdav to do all the git operations (clone, pull, 
push), isn't it possible?

Original comment by gautier....@gmail.com on 20 Sep 2012 at 11:21