From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FUZZY_XPILL, NORMAL_HTTP_TO_IP,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cyFnKLwtRIxixGFisb+Mt1J/XvdeuAWQ/10vgZ8cd5Y=; b=TyK7twsNr2mPwtsXzYnHGdTbGsqtyKRbIg5YYgsv7hvWPCUX/QyPg4JNJTpJkKOuei +XmM1S2VxR4iQZ/VS4FG1iKELOqsZq7+NYKQcmEYmQyaBEqa2sXdFq578B/NB6DHtWfg u1tY82Uq/x9ivPv9GVeBCbyizLER/hSN0tW0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=HtoW7jD3XR1UjzyaUWevG0qAIYDiwY8buyzmrXIAQYrzQAGfQZau9kMASkhwyASjXQ QFRpT+B8jYhUNyjhM1AIXhn1jiQyxmPKsIwNf31U//QKRazZcFyCl3AF83ajEYy6Dr3C RtGFV6HZCNTlUM2mfUK+HEU4E4aS5Fd0r5P0w= MIME-Version: 1.0 Sender: eugene.prokopiev@gmail.com Date: Wed, 28 Jan 2009 18:03:13 +0300 X-Google-Sender-Auth: d3c8048e055aec9e Message-ID: From: Eugene Prokopiev To: Devel@lists.altlinux.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Subject: [devel] Export git repo via http X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 15:06:09 -0000 Archived-At: List-Archive: List-Post: =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5! =F0=CF=CD=CF=C7=C9=D4=C5 =DC=CB=D3=D0=CF=D2=D4=C9=D2=CF=D7=C1=D4=D8 git-=D2= =C5=D0=CF=DA=C9=D4=C1=D2=C9=CA =D0=CF http. =F3=CF=DA=C4=C1=C0 =D2=C5=D0=CF=DA=C9=D4=C1=D2=C9=CA =CE=C1 =D3=C5=D2=D7=C5= =D2=C5: $ mkdir myrepo $ cd myrepo $ git init $ echo hello > README $ git add . $ git commit -a -m 'first commit' $ git update-server-info $ cp .git/hooks/post-update.sample .git/hooks/post-update =F0=D2=CF=D7=C5=D2=D1=C0, =D7=C9=C4=C5=CE =CC=C9 =CF=CE =CE=C1 =CB=CC=C9=C5= =CE=D4=C5: $ curl --netrc --location -v http://10.0.101.110/myrepo/ * About to connect() to 10.0.101.110 port 80 (#0) * Trying 10.0.101.110... connected * Connected to 10.0.101.110 (10.0.101.110) port 80 (#0) * Server auth using Basic with user 'enp' > GET /myrepo/ HTTP/1.1 > Authorization: Basic ZW5wOmVucHB3ZA=3D=3D > User-Agent: curl/7.18.1 (i586-alt-linux-gnu) libcurl/7.18.1 OpenSSL/0.9.8= d zlib/1.2.3 libidn/1.8 > Host: 10.0.101.110 > Accept: */* > < HTTP/1.1 200 OK < Server: nginx/0.6.34 < Date: Wed, 28 Jan 2009 15:00:13 GMT < Content-Type: text/html < Transfer-Encoding: chunked < Connection: keep-alive < Index of /myrepo/

Index of /myrepo/


../
README
 28-Jan-2009 14:57                   6

* Connection #0 to host 10.0.101.110 left intact * Closing connection #0 =F0=D9=D4=C1=C0=D3=D8 =CB=CC=CF=CE=C9=D2=CF=D7=C1=D4=D8: $ git-clone http://10.0.101.110/myrepo/ Initialized empty Git repository in /home/enp/git/myrepo/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? =FE=D4=CF =D1 =C4=C5=CC=C1=C0 =CE=C5=D0=D2=C1=D7=C9=CC=D8=CE=CF? --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =F0=D2=CF=CB=CF=D0=D8=C5=D7 =E5=D7=C7=C5=CE=C9=CA