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

Re: [PATCH 0/2] gitweb use sections

From
GBGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Date
Jul 31, 2008, 20:58 UTC
Message-ID
<b1f2b8c40807311358k4132ba8bw931279d7a6a7bcb5@mail.gmail.com>
In-Reply-To
<20080731203250.GO10151@machine.or.cz>
On Thu, Jul 31, 2008 at 5:32 PM, Petr Baudis <pasky@suse.cz> wrote:
Show 10 quoted lines
>  Hi,
>
> On Thu, Jul 31, 2008 at 04:43:35PM -0300, Gustavo Sverzut Barbieri wrote:
>> Since nobody replied and I missed some gitweb guys in CC, I'm adding
>> Petr and Jakub, as some guys said on IRC.
>>
>> Have anyone tried this patch, any problems?
>
>  sorry, I have it in my review queue. At first pass it was looking
> good, but I wanted to look at it better before commenting.
no problem, just to see it was noticed or not :-)
>  One thing I'm wondering about is how to make this stuff configurable,
> since I'm not very comfortable with adding more "unbound" configuration
> variables and would rather prefer stuff to be added to the $features
> array... I'm not at all sure about my own sentiment here, however.
Path comparison (first patch), Sections (second), both?
I know path comparison can be a performance hit on large listings on
sites with heavy traffic. However, I don't see many people accessing
the projects page at the same time for long periods, it's not like
slashdot... people mostly use it to know about repositories and then
use git to track it.
    The slowness is due O(n^2) worst case of sort and each step is not
a bit heavier since it need to split path into components and walk
these. Maybe cache the split?
-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbieri@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
Previous: Petr BaudisNext: Gustavo Sverzut Barbieri
Message 7 of 8 in “gitweb use sections”
  1. 0/2 gitweb use sectionsGustavo Sverzut Barbieri, Jul 29, 2008
  2. 1/2 gitweb: sort projects by path.Gustavo Sverzut Barbieri, Jul 29, 2008
  3. 2/2 gitweb: add section support to gitweb project listing.Gustavo Sverzut Barbieri, Jul 29, 2008
  4. 1/2 gitweb: sort projects by path.Gustavo Sverzut Barbieri, Jul 29, 2008
  5. Gustavo Sverzut BarbieriJul 31, 2008
  6. Petr BaudisJul 31, 2008
  7. Gustavo Sverzut BarbieriJul 31, 2008
  8. Gustavo Sverzut BarbieriAug 10, 2008

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.