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

Gitweb; ordering of fork list on summary page (was Vanilla gitweb vs repo.or.cz)

From
Mike Ralphson <mike.ralphson@gmail.com>
Date
Jul 23, 2008, 17:10 UTC
Message-ID
<e2b179460807231010m44ff446auc054ead9178c711b@mail.gmail.com>
2008/7/13 Petr Baudis <pasky@suse.cz>:
>  Then, there is the http://repo.or.cz/w/git/gitweb.git repository,
> which was my old attempt at maintaining gitweb actively. Unfortunately,
> this didn't quite work out because of my general lack of time and
> dedication.
Notwithstanding the above, I've pushed a little 'fix' to the mob branch:
http://repo.or.cz/w/git/gitweb.git?a=commitdiff;h=3e8f6e9125071a7e17c88efb69c1780d775025bc

The list of forks on the summary page was unsorted, this just makes them sorted by age, which seems a fair way to decide which forks are shown before the list size cut-off (15) kicks in.

s/noheader/no_header was just to make it obvious what the parameter affects, so all the code can be found with one grep, and s/undef/'age' just shows the intent, although that parameter isn't what actually controls the sort order. Or, I guess, the sorting could be refactored out of the header generation code.

Mike
Next: Petr Baudis
Message 1 of 3 in “Gitweb; ordering of fork list on summary page (was Vanilla gitweb vs repo.or.cz)”
  1. Mike RalphsonJul 23, 2008
  2. gitweb: Clean-up sorting of project listPetr Baudis, Sep 25, 2008
  3. gitweb: Sort the list of forks on the summary page by agePetr Baudis, Sep 25, 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.