login
Header Space

 
 

Re: [RFC/PATCH] gitweb: Paginate project list

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Lars Hjemli <hjemli@...>
Cc: <git@...>, Petr Baudis <pasky@...>, John Hawley <warthog19@...>
Date: Tuesday, May 13, 2008 - 1:04 pm

On Tue, 13 May 2008, Lars Hjemli wrote:

First, this is less argument for "cache data" against "cache output",
only against disregarding "cache data" for assumed performance reasons,
while it "cache data" can be useful in some places.


Second, gitweb's projects list page contains "Last Changed" column,
and you _*have*_ to hit repositories for this data, and backwards
compatibility prevents from removing that.

You can configure gitweb in such way that project name, owner, and
project description are read from single 'project_index' file with 
  "gitweb: Allow project description in project_index file"
patch.  repo.or.cz can do this.

On the other hand mechanism to scan directory, getting owner from
filesystem owner (plus GECOS) or repository's gitweb.owner configuration,
and project description from 'description' file in projects repository,
allow to treat gitweb in similar way to mod_userdir i.e. as service.
You don't need to register project with gitweb; you need only to create
it in appropriate place (or put symbolic link there).  kernel.org
functions this way.

I wonder how Freedesktop.org does it: it offers both gitweb and cgit
interfaces, if I remember correctly...
-- 
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:
Re: [RFC/PATCH] gitweb: Paginate project list, Jakub Narebski, (Tue May 13, 1:04 pm)
Re: [RFC/PATCH] gitweb: Paginate project list, Lars Hjemli, (Tue May 13, 3:30 pm)
Re: [RFC/PATCH] gitweb: Paginate project list, Jakub Narebski, (Tue May 13, 7:28 pm)
Re: [RFC/PATCH] gitweb: Paginate project list, Jakub Narebski, (Wed May 14, 3:59 am)
Re: [RFC/PATCH] gitweb: Paginate project list, Kristian , (Tue May 13, 3:11 pm)
speck-geostationary