From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Hommey Subject: Re: [PATCH] Fix problem with authentification on http repository. Date: Wed, 9 Jul 2008 07:51:50 +0200 Organization: glandium.org Message-ID: <20080709055150.GA28482@glandium.org> References: <11911047823308-git-send-email-jean.guyader@linkea.org> <7v8x6pjb4c.fsf@gitster.siamese.dyndns.org> <7v4phdja01.fsf@gitster.siamese.dyndns.org> <7v4p6zmx0l.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Johannes Schindelin , jean.guyader@linkea.org, git@vger.kernel.org, Jean Guyader To: Junio C Hamano X-From: git-owner@vger.kernel.org Wed Jul 09 07:53:12 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KGSbz-0006ws-S1 for gcvg-git-2@gmane.org; Wed, 09 Jul 2008 07:53:08 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821AbYGIFwG (ORCPT ); Wed, 9 Jul 2008 01:52:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751156AbYGIFwG (ORCPT ); Wed, 9 Jul 2008 01:52:06 -0400 Received: from vuizook.err.no ([194.24.252.247]:60214 "EHLO vuizook.err.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbYGIFwF (ORCPT ); Wed, 9 Jul 2008 01:52:05 -0400 Received: from cha92-13-88-165-248-19.fbx.proxad.net ([88.165.248.19] helo=jigen) by vuizook.err.no with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.67) (envelope-from ) id 1KGSai-0002yP-KK; Wed, 09 Jul 2008 07:51:54 +0200 Received: from mh by jigen with local (Exim 4.69) (envelope-from ) id 1KGSal-0007Rb-07; Wed, 09 Jul 2008 07:51:51 +0200 Content-Disposition: inline In-Reply-To: <7v4p6zmx0l.fsf@gitster.siamese.dyndns.org> X-GPG-Fingerprint: A479 A824 265C B2A5 FC54 8D1E DE4B DA2C 54FD 2A58 User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Status: (score 0.1): No, score=0.1 required=5.0 tests=RDNS_DYNAMIC autolearn=disabled version=3.2.3 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Jul 08, 2008 at 10:44:58PM -0700, Junio C Hamano wrote: > Johannes Schindelin writes: > > > On Sat, 29 Sep 2007, Junio C Hamano wrote: > > > >> We never supported URLs with embedded credentials (see > >> Documentation/urls.txt), partly because nobody asked for it, but > >> more importantly because giving -n to curl to have it read from > >> user's .netrc is generally much more preferred approach. > > > > To elaborate on that: if you fetch from somewhere, your url, username and > > password can be read from the output of "ps ax | grep http" very easily. > > Actually Documentation/howto/setup-git-server-over-http.txt > talks about http://user@server/path/ format. How well does this > work in practice? If it does, we should update Documentation/urls.txt > to allow optional user@ there like... AFAIK, there is nothing to deal with asking a password to the user in git in this case, so that doesn't work. Mike