{"thread":{"id":"15075","subject":"[PATCH] Documentation: setup-git-server-over-http: Mention davfs2","startedAt":"2008-08-18T21:05:13Z","lastAt":"2008-08-19T07:48:21Z","messageCount":6,"participants":["Giovanni Funchal","Marcus Griep","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"87572","messageId":"1219093513-11248-1-git-send-email-gafunchal@gmail.com","threadId":"15075","inReplyTo":null,"subject":"[PATCH] Documentation: setup-git-server-over-http: Mention davfs2","fromName":"Giovanni Funchal","fromEmail":"gafunchal@gmail.com","sentAt":"2008-08-18T21:05:13Z","receivedAt":"2008-08-18T21:05:13Z","isPatch":true,"sender":{"key":"gafunchal@gmail.com","avatar":"https://gravatar.com/avatar/96f8068bdfb134f61682ec4a9741b71b582efa9d102055028a88643507644e9c?d=mp&s=160"},"body":"I just came across an interesting file system driver that allows to mount\nWebDAV resources into file system tree: davfs2. I though it would be worth\nmentioning this on setup-git-server-over-http.txt.\n\nI also added a header for the \"testing\" section.\n\nSigned-off-by: Giovanni Funchal <gafunchal@gmail.com>\n---\n\ndavfs2 seems pretty stable and performance is quite good.\n\n Documentation/howto/setup-git-server-over-http.txt |   19 ++++++++++++++++---\n 1 files changed, 16 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/howto/setup-git-server-over-http.txt b/Documentation/howto/setup-git-server-over-http.txt\nindex 4032748..cde6f56 100644\n--- a/Documentation/howto/setup-git-server-over-http.txt\n+++ b/Documentation/howto/setup-git-server-over-http.txt\n@@ -164,6 +164,10 @@ Now go to http://<username>@<servername>/my-new-repo.git in your\n browser to check whether it asks for a password and accepts the right\n password.\n \n+\n+Step 2 1/2: testing your WebDAD server\n+--------------------------------------\n+\n On Debian:\n \n    To test the WebDAV part, do:\n@@ -173,9 +177,18 @@ On Debian:\n \n    Most tests should pass.\n \n-A command line tool to test WebDAV is cadaver. If you prefer GUIs, for\n-example, konqueror can open WebDAV URLs as \"webdav://...\" or\n-\"webdavs://...\".\n+An alternative is to use davfs2, a driver that allows monting a WebDAV\n+resource into the system tree. This requires root access and kernel\n+support (probably your kernel includes this).\n+\n+  $ apt-get install davfs2\n+  $ mkdir -p /mnt/webdav\n+  $ mount -t davfs http://<servername>/ /mnt/webdav\n+  $ ls /mnt/webdav\n+  $ umount /mnt/webdav\n+\n+If you prefer GUIs, for example, konqueror can open WebDAV URLs as\n+\"webdav://...\" or \"webdavs://...\".\n \n If you're into Windows, from XP onwards Internet Explorer supports\n WebDAV. For this, do Internet Explorer -> Open Location ->\n-- \n1.5.4.3\n"},{"id":"87573","messageId":"48A9E8BE.9040807@gmail.com","threadId":"15075","inReplyTo":"1219093513-11248-1-git-send-email-gafunchal@gmail.com","subject":"Re: [PATCH] Documentation: setup-git-server-over-http: Mention davfs2","fromName":"Marcus Griep","fromEmail":"neoeinstein@gmail.com","sentAt":"2008-08-18T21:25:18Z","receivedAt":"2008-08-18T21:25:18Z","isPatch":true,"sender":{"key":"neoeinstein@gmail.com","avatar":"https://gravatar.com/avatar/75d467077b37e56699d408fb97545e9a92a2907ff1feea4ba3a4b861f7cb7af4?d=mp&s=160"},"body":"Giovanni Funchal wrote:\n> +++ b/Documentation/howto/setup-git-server-over-http.txt\n> @@ -164,6 +164,10 @@ Now go to http://<username>@<servername>/my-new-repo.git in your\n> +\n> +Step 2 1/2: testing your WebDAD server\n> +--------------------------------------\n> +\n\nTypo? (s/WebDAD/WebDAV/)\n\n> @@ -173,9 +177,18 @@ On Debian:\n> +An alternative is to use davfs2, a driver that allows monting a WebDAV\n> +resource into the system tree. This requires root access and kernel\n> +support (probably your kernel includes this).\n\ns/monting/mounting/\n\n-- \nMarcus Griep\nGPG Key ID: 0x5E968152\n——\nhttp://www.boohaunt.net\nאת.ψο´\n"},{"id":"87577","messageId":"1219095967-15971-1-git-send-email-gafunchal@gmail.com","threadId":"15075","inReplyTo":"48A9E8BE.9040807@gmail.com","subject":"[PATCH] Documentation: setup-git-server-over-http: Mention davfs2","fromName":"Giovanni Funchal","fromEmail":"gafunchal@gmail.com","sentAt":"2008-08-18T21:46:07Z","receivedAt":"2008-08-18T21:46:07Z","isPatch":true,"sender":{"key":"gafunchal@gmail.com","avatar":"https://gravatar.com/avatar/96f8068bdfb134f61682ec4a9741b71b582efa9d102055028a88643507644e9c?d=mp&s=160"},"body":"I just came across an interesting file system driver that allows to mount\nWebDAV resources into file system tree: davfs2. I though it would be worth\nmentioning this on setup-git-server-over-http.txt.\n\nI also added a header for the \"testing\" section.\n\nSigned-off-by: Giovanni Funchal <gafunchal@gmail.com>\n---\n Documentation/howto/setup-git-server-over-http.txt |   19 ++++++++++++++++---\n 1 files changed, 16 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/howto/setup-git-server-over-http.txt b/Documentation/howto/setup-git-server-over-http.txt\nindex 4032748..827eb43 100644\n--- a/Documentation/howto/setup-git-server-over-http.txt\n+++ b/Documentation/howto/setup-git-server-over-http.txt\n@@ -164,6 +164,10 @@ Now go to http://<username>@<servername>/my-new-repo.git in your\n browser to check whether it asks for a password and accepts the right\n password.\n \n+\n+Step 2 1/2: testing your WebDAV server\n+--------------------------------------\n+\n On Debian:\n \n    To test the WebDAV part, do:\n@@ -173,9 +177,18 @@ On Debian:\n \n    Most tests should pass.\n \n-A command line tool to test WebDAV is cadaver. If you prefer GUIs, for\n-example, konqueror can open WebDAV URLs as \"webdav://...\" or\n-\"webdavs://...\".\n+An alternative is to use davfs2, a driver that allows mounting a WebDAV\n+resource into the system tree. This requires root access and kernel\n+support (probably your kernel includes this).\n+\n+  $ apt-get install davfs2\n+  $ mkdir -p /mnt/webdav\n+  $ mount -t davfs http://<servername>/ /mnt/webdav\n+  $ ls /mnt/webdav\n+  $ umount /mnt/webdav\n+\n+If you prefer GUIs, for example, konqueror can open WebDAV URLs as\n+\"webdav://...\" or \"webdavs://...\".\n \n If you're into Windows, from XP onwards Internet Explorer supports\n WebDAV. For this, do Internet Explorer -> Open Location ->\n-- \n1.6.0.6.g8822b\n"},{"id":"87644","messageId":"7vwsidh7hi.fsf@gitster.siamese.dyndns.org","threadId":"15075","inReplyTo":"1219095967-15971-1-git-send-email-gafunchal@gmail.com","subject":"Re: [PATCH] Documentation: setup-git-server-over-http: Mention davfs2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-08-19T05:57:45Z","receivedAt":"2008-08-19T05:57:45Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Giovanni Funchal <gafunchal@gmail.com> writes:\n\n> I just came across an interesting file system driver that allows to mount\n> WebDAV resources into file system tree: davfs2. I though it would be worth\n> mentioning this on setup-git-server-over-http.txt.\n\nI might agree with \"It would be worth mentioning\", but I do not think that\nis what you did.\n\n> +\n> +Step 2 1/2: testing your WebDAV server\n> +--------------------------------------\n> +\n> ...\n> -A command line tool to test WebDAV is cadaver. If you prefer GUIs, for\n> -example, konqueror can open WebDAV URLs as \"webdav://...\" or\n> -\"webdavs://...\".\n> +An alternative is to use davfs2, a driver that allows mounting a WebDAV\n> +resource into the system tree. This requires root access and kernel\n> +support (probably your kernel includes this).\n> +\n> +  $ apt-get install davfs2\n> +  $ mkdir -p /mnt/webdav\n> +  $ mount -t davfs http://<servername>/ /mnt/webdav\n> +  $ ls /mnt/webdav\n> +  $ umount /mnt/webdav\n> +\n> +If you prefer GUIs, for example, konqueror can open WebDAV URLs as\n> +\"webdav://...\" or \"webdavs://...\".\n\nYou are dropping mention of cadaver and the only remaining suggestion for\ncommand line testing is via davfs2.\n\nGoogling for \"davfs2 WebDAV\" returns 13,600 hits, while \"cadaver WebDAV\"\nhits 39,100.  In addition, testing with davfs2 requires you to have root\naccess.  \n\nWhen troubleshooting a nonworking system, it often is easier to do it from\na command line tool than from GUI (one of whose main point is to hide away\nthe low-level details).  And I thought the title of this semi-section was\n\"Testing\"?\n\nOffering alternatives for command line tools is good, but that is not what\nthis patch does.\n"},{"id":"87651","messageId":"c475e2e60808190023r2984cea3r11bd27fd331234b4@mail.gmail.com","threadId":"15075","inReplyTo":"7vwsidh7hi.fsf@gitster.siamese.dyndns.org","subject":"Re: [PATCH] Documentation: setup-git-server-over-http: Mention davfs2","fromName":"Giovanni Funchal","fromEmail":"gafunchal@gmail.com","sentAt":"2008-08-19T07:23:39Z","receivedAt":"2008-08-19T07:23:39Z","isPatch":true,"sender":{"key":"gafunchal@gmail.com","avatar":"https://gravatar.com/avatar/96f8068bdfb134f61682ec4a9741b71b582efa9d102055028a88643507644e9c?d=mp&s=160"},"body":"> Googling for \"davfs2 WebDAV\" returns 13,600 hits, while \"cadaver WebDAV\"\n> hits 39,100.\n\nWoops, sorry for that, in fact I greatly misunderstood the statement\n\"A command line tool to test WebDAV is cadaver.\" I though this meant\n\"The command line tool is dead / It does not exist anymore\". I didn't\nrealize \"cadaver\" was its name!\n\n> In addition, testing with davfs2 requires you to have root access.\n\nWhen davfs2 is properly configured, the file system can be mounted in\nuser space by non-root users. Root access is needed only when\ninstalling. Cadaver also needs root access for installation,\n\n-- Giovanni\n\nOn Tue, Aug 19, 2008 at 7:57 AM, Junio C Hamano <gitster@pobox.com> wrote:\n> Giovanni Funchal <gafunchal@gmail.com> writes:\n>\n>> I just came across an interesting file system driver that allows to mount\n>> WebDAV resources into file system tree: davfs2. I though it would be worth\n>> mentioning this on setup-git-server-over-http.txt.\n>\n> I might agree with \"It would be worth mentioning\", but I do not think that\n> is what you did.\n>\n>> +\n>> +Step 2 1/2: testing your WebDAV server\n>> +--------------------------------------\n>> +\n>> ...\n>> -A command line tool to test WebDAV is cadaver. If you prefer GUIs, for\n>> -example, konqueror can open WebDAV URLs as \"webdav://...\" or\n>> -\"webdavs://...\".\n>> +An alternative is to use davfs2, a driver that allows mounting a WebDAV\n>> +resource into the system tree. This requires root access and kernel\n>> +support (probably your kernel includes this).\n>> +\n>> +  $ apt-get install davfs2\n>> +  $ mkdir -p /mnt/webdav\n>> +  $ mount -t davfs http://<servername>/ /mnt/webdav\n>> +  $ ls /mnt/webdav\n>> +  $ umount /mnt/webdav\n>> +\n>> +If you prefer GUIs, for example, konqueror can open WebDAV URLs as\n>> +\"webdav://...\" or \"webdavs://...\".\n>\n> You are dropping mention of cadaver and the only remaining suggestion for\n> command line testing is via davfs2.\n>\n> Googling for \"davfs2 WebDAV\" returns 13,600 hits, while \"cadaver WebDAV\"\n> hits 39,100.  In addition, testing with davfs2 requires you to have root\n> access.\n>\n> When troubleshooting a nonworking system, it often is easier to do it from\n> a command line tool than from GUI (one of whose main point is to hide away\n> the low-level details).  And I thought the title of this semi-section was\n> \"Testing\"?\n>\n> Offering alternatives for command line tools is good, but that is not what\n> this patch does.\n>\n>\n>\n"},{"id":"87657","messageId":"7vtzdhfnsq.fsf@gitster.siamese.dyndns.org","threadId":"15075","inReplyTo":"c475e2e60808190023r2984cea3r11bd27fd331234b4@mail.gmail.com","subject":"Re: [PATCH] Documentation: setup-git-server-over-http: Mention davfs2","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-08-19T07:48:21Z","receivedAt":"2008-08-19T07:48:21Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Giovanni Funchal\" <gafunchal@gmail.com> writes:\n\n>> In addition, testing with davfs2 requires you to have root access.\n>\n> When davfs2 is properly configured, the file system can be mounted in\n> user space by non-root users. Root access is needed only when\n> installing.\n\nOk, then I misread your description.  This part should be clarified:\n\n>>> +An alternative is to use davfs2, a driver that allows mounting a WebDAV\n>>> +resource into the system tree. This requires root access and kernel\n\ns/This/Installing this module/;\n\n>>> +support (probably your kernel includes this).\n>>> +\n>>> +  $ apt-get install davfs2\n\ns/\\$ /# /;\n\n>>> +  $ mkdir -p /mnt/webdav\n\nditto.\n\n>>> +  $ mount -t davfs http://<servername>/ /mnt/webdav\n>>> +  $ ls /mnt/webdav\n>>> +  $ umount /mnt/webdav\n"}]}