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

Re: The future of gitweb (long term goals)

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Feb 23, 2011, 10:54 UTC
Message-ID
<4D64E75A.3050506@drmicha.warpmail.net>
In-Reply-To
<201102212306.39084.jnareb@gmail.com>
Jakub Narebski venit, vidit, dixit 21.02.2011 23:06:
Show 17 quoted lines
> On Tue, 15 Feb 2011, Michael J Gruber wrote:
>> Jakub Narebski venit, vidit, dixit 14.02.2011 20:39:
> 
>>> Now that we are talking about future of git, including breaking some
>>> of backwards compatibility bugs / misdesigns for 1.8.0, perhaps it is
>>> the time to discuss long term goals and the future of gitweb.
>> ...
>>> Current requirements are:
>>> - Perl 5.8.x (for proper Unicode / UTF-8 support)
>>> - core Perl modules: CGI, Encode, Fcntl, File::Find, File::Basename,...
>>> - non-core Perl modules optional, needed for some of extra features
>>> - backward compatibility (query params and path_info URLs)
>>
>> I'd second that this is important for adaption by some main users.
> 
> You mean here backward compatibility of API (i.e. old links keep working),
> isn't it?
Yep, the last item.
Show 12 quoted lines
> 
>>> - easy installation even without admin rights
>>> - scanning for repositories (as an option)
>>> - lightweight
>>
>> All of these are important for instaweb also. 
> 
> Nowadays git-instaweb uses _installed_ gitweb, so neither easy 
> installation, nor installing / running without admin rights is necessary
> for use of gitweb in git-instaweb.  Strictly speaking neither is scanning
> for repositories; I think git-isnatweb could generate file with list of
> repositories (with repository) to show.

Cool, I didn't know, but it's a great feature. By "easy installation" I mean being able to use it without having to configure a "central" web server, i.e. just the way a git+gitweb in $HOME can run instaweb without admin rights.

Show 6 quoted lines
>> I consider instaweb a very
>> underrated feature! (It also needs some works of love, not just
>> appreciation, of course.)
> 
> Beside adding support for new web servers (like recently added 'plackup'),
> what do you thing needs to be done?
E.g., using an installed gitweb - I just learned it does that already!

Also, the graph viewer, i.e. including it as a module with the same "looks" as the rest of gitweb.

I don't know how customisable gitweb's layout is right now (CSS). That might be important for some. Personally, whenever I'm on the more "modern" repo hosters, I'm longing for the clean interface and high information density of gitweb.

Show 11 quoted lines
>>> 1. Splitting gitweb into modules (packages), for better maintainability.
>>
>> Also, this may help including other optional parts. The graph viewer as
>> used on repo.or.cz sets gitweb apart from quite a few alternatives and
>> would be used more widely if it were an optional module shipping with
>> gitweb. Just imagine instaweb with graphs ;)
>> Also, being part of gitweb, the viewer may attract a few coders.
> 
> Well, adding anything major (like e.g. write functionality, output caching;
> perhaps graph of history is also in this category) really require split
> gitweb.  It is getting hard to maintain gitweb as it is now.

100% agreed. Also, smaller modules make it easier for new gitweb contributors to join and help.

Cheers, Michael

Previous: Jakub NarebskiNext: Jakub Narebski
Message 4 of 30 in “The future of gitweb (long term goals)”
  1. Jakub NarebskiFeb 14, 2011
  2. Michael J GruberFeb 15, 2011
  3. Jakub NarebskiFeb 21, 2011
  4. Michael J GruberFeb 23, 2011
  5. The future of git-instaweb (was: Re: The future of gitweb (long term goals))Jakub Narebski, Feb 25, 2011
  6. Ævar Arnfjörð BjarmasonFeb 22, 2011
  7. Jakub NarebskiFeb 22, 2011
  8. The future of gitweb - part 2: JavaScriptJakub Narebski, Apr 14, 2011
  9. Michał ŁowickiApr 14, 2011
  10. david@lang.hmApr 15, 2011
  11. Peter VereshaginApr 16, 2011
  12. Jakub NarebskiApr 16, 2011
  13. Peter VereshaginApr 16, 2011
  14. Jakub NarebskiApr 16, 2011
  15. Peter VereshaginApr 16, 2011
  16. Jakub NarebskiApr 16, 2011
  17. Jakub NarebskiApr 16, 2011
  18. Peter VereshaginApr 16, 2011
  19. Jakub NarebskiApr 17, 2011
  20. Gitweb != HTTP back-end {Was: Re: The future of gitweb - part 2: JavaScript}Drew Northup, Apr 20, 2011
  21. Jakub NarebskiApr 20, 2011
  22. Pau Garcia i QuilesApr 16, 2011
  23. Jakub NarebskiApr 17, 2011
  24. Pau Garcia i QuilesApr 17, 2011
  25. Jakub NarebskiApr 18, 2011
  26. Petr BaudisApr 17, 2011
  27. Jakub NarebskiApr 18, 2011
  28. Petr BaudisApr 18, 2011
  29. Jakub NarebskiApr 18, 2011
  30. Drew NorthupApr 20, 2011

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.