git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH 1/4] gitweb: Move subroutines to Gitweb::Config module

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 9, 2010, 13:13 UTC
Message-ID
<AANLkTimXSfAqMYVIQcepibeDlJPOKE4hTlys9laEFTHo@mail.gmail.com>
In-Reply-To
<201006090138.52125.jnareb@gmail.com>
On Wed, Jun 9, 2010 at 1:38 AM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 14 quoted lines
> On Tue, 8 Jun 2010, Petr Baudis wrote:
>>
>>   I thought we already discussed MVC and sort of agreed that it's an
>> overkill at this point. At least that is still my opinion on it; I'm not
>> opposed to MVC per se, but to me, this modularization is a good
>> intermediate step even if we go the MVC way later, and doing MVC properly
>> would mean much huger large-scale refactoring than just naming a module
>> Gitweb::View instead of Gitweb::HTML. Let's do it not at all, or
>> properly sometime later. I think it's well out-of-scope for GSoC.
>
> So it would be enough to have Gitweb with core of gitweb, gitweb.perl
> top-level script, Gitweb::Write or something like that for new write
> functionality and Gitweb::Util containing things that are needed by Gitweb
> and by Gitweb::Write(r).

Sidenote (something I meant to write, but forgot): SVN::Web[1][2] and Gitalist[3][4] might or might not be good example on how to split gitweb into modules.

[1] http://p3rl.org/SVN::Web
    http://search.cpan.org/dist/SVN-Web/
[2] http://jc.ngo.org.uk/svnweb/jc/browse/nik/CPAN/SVN-Web/trunk/
[3] http://p3rl.org/Gitalist
    http://search.cpan.org/dist/Gitalist/
[4] http://github.com/broquaint/Gitalist
-- 
Jakub Narebski
Previous: Jakub Narebski
Message 17 of 17 in “gitweb: Move subroutines to Gitweb::Config module”
  1. 1/4 gitweb: Move subroutines to Gitweb::Config modulePavan Kumar Sunkara, Jun 7, 2010
  2. 2/4 gitweb: Create Gitweb::HTML::Link modulePavan Kumar Sunkara, Jun 7, 2010
  3. 3/4 gitweb: Create Gitweb::HTML modulePavan Kumar Sunkara, Jun 7, 2010
  4. 4/4 gitweb: Create Gitweb::HTML::String modulePavan Kumar Sunkara, Jun 7, 2010
  5. Pavan Kumar SunkaraJun 7, 2010
  6. Jakub NarebskiJun 8, 2010
  7. Ævar Arnfjörð BjarmasonJun 8, 2010
  8. Jakub NarebskiJun 12, 2010
  9. Ævar Arnfjörð BjarmasonJun 12, 2010
  10. Jakub NarebskiJun 12, 2010
  11. Petr BaudisJun 8, 2010
  12. Pavan Kumar SunkaraJun 8, 2010
  13. Petr BaudisJun 8, 2010
  14. Pavan Kumar SunkaraJun 8, 2010
  15. Petr BaudisJun 8, 2010
  16. Jakub NarebskiJun 8, 2010
  17. Jakub NarebskiJun 9, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.