From: Petr Baudis Subject: Re: gitweb: cloud tags feature produces malformed XML for errors Date: Thu, 3 Mar 2011 12:58:56 +0100 Message-ID: <20110303115856.GH24584@machine.or.cz> References: <20110301190229.11297.17767.reportbug@cassiopeia.kleinek> <20110301222141.GB7918@elie> <4D6D97FB.3050106@kernel.org> <201103022218.46640.jnareb@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "J.H." , Jonathan Nieder , git@vger.kernel.org, Uwe =?iso-8859-2?Q?Kleine-K=F6nig?= , admin@repo.or.cz To: Jakub Narebski X-From: git-owner@vger.kernel.org Thu Mar 03 13:06:28 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 1Pv7IZ-0006Rn-Sd for gcvg-git-2@lo.gmane.org; Thu, 03 Mar 2011 13:06:28 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754914Ab1CCMGW (ORCPT ); Thu, 3 Mar 2011 07:06:22 -0500 Received: from w241.dkm.cz ([62.24.88.241]:49583 "EHLO machine.or.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754522Ab1CCMGW (ORCPT ); Thu, 3 Mar 2011 07:06:22 -0500 X-Greylist: delayed 441 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Mar 2011 07:06:21 EST Received: by machine.or.cz (Postfix, from userid 2001) id 0EDD517000E9; Thu, 3 Mar 2011 12:58:56 +0100 (CET) Content-Disposition: inline In-Reply-To: <201103022218.46640.jnareb@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, Mar 02, 2011 at 10:18:44PM +0100, Jakub Narebski wrote: > Well, neither does README.html follow the repository when it is cloned, > and usually neither does description ('description' file is generated by > git default template, and description file overrides `gitweb.description' > config variable). > > Documentation always can be added, either as comments for the 'ctags' > feature, or in gitweb/README (or, in the future, in gitweb manpage). > > > What is most important that makes this feature to be considered for > removal (or rehauling) is that only half of this feature is implemented > in gitweb: the displaying part. There is half-attempt of providing > some web interface for managing tags... which needs external script with > strict coupling, doesn't offer any access control as far as I know, do > not allow deleting tags, etc. Well, but your argument above also applies here - gitweb does not allow users to modify README.html or desrciption either. Who knows where ctags may come from, they might even be autogenerated based on something. I admit that the code could be a bit more resilient to invalid contents of the files, but I do not see that as a major problem either (it is possible to confuse gitweb by putting invalid stuff into other repository files too). -- Petr "Pasky" Baudis Computer science education cannot make an expert programmer any more than studying brushes and pigment can make an expert painter. --esr