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

Re: [PATCH] gitweb: Support for no project list on gitweb front page

From
JJ.H. <warthog19@eaglescrag.net>
Date
Nov 6, 2009, 19:03 UTC
Message-ID
<4AF472E5.1000602@eaglescrag.net>
In-Reply-To
<1257520265-16699-1-git-send-email-pasky@suse.cz>
Petr Baudis wrote:
> On very large sites like repo.or.cz (but maybe also git.debian.org,
> git.kernel.org, etc.),

I think between our own caching (which I'll be submitting a cleaned up patch for here shortly for mainline inclusion) and our users want to *NOT* deal with searching or pagination this actually isn't that useful to us, despite having a signifigant number of projects, and the front page (at leas for us) only weighing in at 567,710bytes means that we are moving less data to show the git.kernel.org page than facebook does to show their home screen (I.E. anything modern can trivially cope with that)

Show 15 quoted lines
> it is desirable not to have the project list
> on the front page since generating it is significant overhead and it
> takes significant data transfer and load time for the user, who might
> prefer to instead use the search form and possibly content tags to
> navigate to the target project. A link to the full list of projects is
> still available on the front page for users who wish to browse it. The
> whole feature is turned off by default.
> 
> The patch introduces a new config variable $frontpage_no_project_list,
> by default 0 keeping the current behavior; if set to 1, no project list
> will be shown, but all projects will be still scanned if ctags are
> enabled; if set to 2, no project will be shown and no projects will
> be scanned while showing the front page. The compromise value of 1 is
> useful for sites where project scan time is not an issue or which
> use additional project list caching patches.

I question the need for 0,1,2. If the site doesn't want something like the tag cloud they are already going to turn it off with the normal cloud system. I think this should be either a bitmask or an array to explicitly turn particular things on or off, or a binary value that would *ONLY* deal with showing the project listing.

- John 'Warthog9' Hawley
Previous: Petr BaudisNext: Petr Baudis
Message 2 of 3 in “gitweb: Support for no project list on gitweb front page”
  1. gitweb: Support for no project list on gitweb front pagePetr Baudis, Nov 6, 2009
  2. J.H.Nov 6, 2009
  3. Petr BaudisNov 16, 2009

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.