{"thread":{"id":"24465","subject":"GIT over HTTP","startedAt":"2010-07-22T02:03:50Z","lastAt":"2010-07-22T04:01:56Z","messageCount":2,"participants":["Andreas Schneider","Ilari Liusvaara"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"145979","messageId":"AF1397F5-0394-4CCD-937A-7B11513CC174@iamas.ac.jp","threadId":"24465","inReplyTo":null,"subject":"GIT over HTTP","fromName":"Andreas Schneider","fromEmail":"as@gestaltung.com","sentAt":"2010-07-22T02:03:50Z","receivedAt":"2010-07-22T02:03:50Z","isPatch":false,"sender":{"key":"as@gestaltung.com","avatar":null},"body":"after lost of research on the www i am still at a loss on how to\nproperly do push/pull over HTTP\n\nit seems to work on the GIT level, however PUSHS to the remote repository do\nNOT show up in the file-structure: adding a file locally, then pushing to the remote repository - the file will not appear in the remote listing, however it became part of the remote repository.\n\n\nin the httpd.conf i put these directives\n\n<Location /GIT>\n  AllowOverride All\n  DAV on\n</Location>\n<Location /GIT/.git>\n  AuthType Basic\n  AuthName \"Git\"\n  AuthUserFile /etc/httpd/conf/pwd\n  Require valid-user\n</Location>\n\n\nas /GIT is the publicly accessible site- i put authentication in the /GIT/.git\nlocation\n\n\n\nanother issue i can't seem to solve:\nhaving a REWRITE directive in the /GIT directory seems to obstruct any PUSH\nattempt from the local repository...\n\n\n\nany help would be highy appreciated!\n\n\n\tthanx,\n\n\t\tandreas\n\n\n\n\n. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nIAMAS\nInstitute of Advanced Media Arts and Sciences\n\n\tandreas schneider\n\n\tT +81-80-5538 9767\n\tT.F.M +1-206-350 5073, voiceMail/Fax\n\n\n. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nSPAM FILTER notice:\nPlease note that your mail might get caught by SPAM filtering midways.\nUsing an unambiguous SUBJECT line helps to sort out the good from the bad ;-)\n"},{"id":"145980","messageId":"20100722040156.GA7353@LK-Perkele-V2.elisa-laajakaista.fi","threadId":"24465","inReplyTo":"AF1397F5-0394-4CCD-937A-7B11513CC174@iamas.ac.jp","subject":"Re: GIT over HTTP","fromName":"Ilari Liusvaara","fromEmail":"ilari.liusvaara@elisanet.fi","sentAt":"2010-07-22T04:01:56Z","receivedAt":"2010-07-22T04:01:56Z","isPatch":false,"sender":{"key":"ilari.liusvaara@elisanet.fi","avatar":null},"body":"On Thu, Jul 22, 2010 at 11:03:50AM +0900, Andreas Schneider wrote:\n> after lost of research on the www i am still at a loss on how to\n> properly do push/pull over HTTP\n> \n> it seems to work on the GIT level, however PUSHS to the remote repository do\n> NOT show up in the file-structure: adding a file locally, then pushing to the remote repository - the file will not appear in the remote listing, however it became part of the remote repository.\n\nThis is normal. Push does not update working copy. You would need a hook for\nthat.\n\n< snip dav configuration >\n\nAnd hooks will not work with WebDAV. You MUST push over some smart transport,\nlike ssh:// or HTTP with http-backend. HTTP/WebDAV does not cut it.\n\n-Ilari\n"}]}