From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Nieder Subject: Re: [PATCHv3] daemon: give friendlier error messages to clients Date: Sat, 15 Oct 2011 03:26:47 -0500 Message-ID: <20111015082647.GA7302@elie.hsd1.il.comcast.net> References: <7vvcrs181e.fsf@alter.siamese.dyndns.org> <20111014131041.GC7808@sigill.intra.peff.net> <20111014192326.GA7713@sigill.intra.peff.net> <20111014210251.GD16371@elie.hsd1.il.comcast.net> <20111014211244.GA16429@sigill.intra.peff.net> <20111014211921.GB16429@sigill.intra.peff.net> <7vk486x0hq.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sitaram Chamarty , Junio C Hamano , Jeff King , Nguyen Thai Ngoc Duy , git@vger.kernel.org, Ilari Liusvaara , Johannes Sixt To: Jakub Narebski X-From: git-owner@vger.kernel.org Sat Oct 15 10:27:18 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1REzaM-0001HG-2i for gcvg-git-2@lo.gmane.org; Sat, 15 Oct 2011 10:27:14 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843Ab1JOI1D (ORCPT ); Sat, 15 Oct 2011 04:27:03 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:45749 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678Ab1JOI1B (ORCPT ); Sat, 15 Oct 2011 04:27:01 -0400 Received: by iaek3 with SMTP id k3so3596462iae.19 for ; Sat, 15 Oct 2011 01:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=PPvMnaDp6YmIUL8LplGDjVbFy7jiyxft9oUAx5DOwxU=; b=KEiS8IThUt9C/IGMfJFplwGTqETTcruTFjfSZGZgogDYxNYz9qIkgQ1XL7cc8CUw8V GzLSLivH41hMht7xLYdiBUc6zJu94DTYaeOAGZmTz/C9mbIk0hzdjYmetmkr/hfSyz+c OjQgZK4haTgmTHEJS/uTv9OFkf3jXBJBgIDtw= Received: by 10.42.159.1 with SMTP id j1mr22069333icx.20.1318667220588; Sat, 15 Oct 2011 01:27:00 -0700 (PDT) Received: from elie.hsd1.il.comcast.net (c-24-1-56-9.hsd1.il.comcast.net. [24.1.56.9]) by mx.google.com with ESMTPS id g16sm15934230ibs.8.2011.10.15.01.26.59 (version=SSLv3 cipher=OTHER); Sat, 15 Oct 2011 01:27:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21+46 (b01d63af6fea) (2011-07-01) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Jakub Narebski wrote: > Sitaram Chamarty writes: >> "Access denied or no such repo" is much better. (The "not exported" >> nuance is not relevant in this context; you can safely ignore it.) > > To join this bike-shedding: > > "Access denied or repository not available" > > or just > > "Repository not available" If such details about the message matter, then I have to say that Sitaram's "access denied or no such repository" is as close to perfect as I can imagine. The admin who is eventually forwarded this message will be reminded to check two things: - that access is not denied, neither globally, using a whitelist, using filesystem permissions, nor by leaving out git-daemon-export-ok, and - that such a repo exists at all, and there was not a typo in the address.