Re: [PATCHv2 GSOC 08/11] gitweb: Create Gitweb::View module

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Sunday, July 18, 2010 - 8:10 am

On Thu, 15 Jul 2010, Pavan Kumar Sunkara wrote:


If it contains subroutines related only to HTML output, why isn't it
called Gitweb::HTML then?  If it contains some subroutines which are
not strictly about HTML, please state it in the commit message.


Whether you use Gitweb::Git or Git.pm, you should be consistent in the
naming you use: either Git.pm, or Gitweb::Parse.

Do I understand correctly trhat Gitweb::Parse and Gitweb::Format are to
be added in subsequent patches?  Please state this fact in the commit
message.


Nitpick: my first thought was "why some of those subroutines are marked
with a star?".  If you want to divide this list of subroutines into
groups by function, you should leave a space between '*' and name of
subroutine (i.e. '* href'), and perhaps also leave empty lines between
groups, though this might make commit this list overly long.

I guess that this separation of subroutines into Gitweb::View module 
was a matter of some compromise: between having too large modules
(containing only barely related subroutines) and having too many
modules.


I have not checked the diff itself...

-- 
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCHv2 00/11] Splitting gitweb, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 01/11] gitweb: fix esc_url, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 02/11] gitweb: Prepare for splitting gitweb, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 03/11] gitweb: Create Gitweb::Git module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 04/11] gitweb: Create Gitweb::Config module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 05/11] gitweb: Create Gitweb::Request module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 06/11] gitweb: Create Gitweb::Escape module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 07/11] gitweb: Create Gitweb::RepoConfig module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 08/11] gitweb: Create Gitweb::View module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 09/11] gitweb: Create Gitweb::Util module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 10/11] gitweb: Create Gitweb::Format module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
[PATCHv2 GSOC 11/11] gitweb: Create Gitweb::Parse module, Pavan Kumar Sunkara, (Thu Jul 15, 12:29 am)
Re: [PATCHv2 GSOC 01/11] gitweb: fix esc_url, Jakub Narebski, (Thu Jul 15, 6:52 am)
Re: [PATCHv2 GSOC 01/11] gitweb: fix esc_url, Junio C Hamano, (Thu Jul 15, 11:57 am)
Re: [PATCHv2 GSOC 01/11] gitweb: fix esc_url, Jakub Narebski, (Thu Jul 15, 12:32 pm)
Re: [PATCHv2 GSOC 03/11] gitweb: Create Gitweb::Git module, Jakub Narebski, (Thu Jul 15, 1:13 pm)
Re: [PATCHv2 GSOC 08/11] gitweb: Create Gitweb::View module, Jakub Narebski, (Sun Jul 18, 8:10 am)
Re: [PATCHv2 GSOC 09/11] gitweb: Create Gitweb::Util module, Jakub Narebski, (Sun Jul 18, 10:45 am)
Re: [PATCHv2 00/11] Splitting gitweb, Sverre Rabbelier, (Sun Aug 1, 1:44 pm)
Re: [PATCHv2 00/11] Splitting gitweb, Jakub Narebski, (Mon Aug 2, 8:03 am)