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

[PATCH/RFC 0/6] gitweb: Improve project search

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 29, 2011, 11:52 UTC
Message-ID
<1311940379-9608-1-git-send-email-jnareb@gmail.com>

This patch series started a bit strange, by noticing that I have had gitweb-Project-search patch in my unapplied StGit stack for gitweb/web branch. I tried to re-do it on top of current codebase... only to realize that gitweb already has project search :-)

So this series turned into enhancing project search to the state that it was in said patch, splitting it into smaller parts (into separate patches), and further improving.

The first patch is not really necessary, at least for now. It was intended for the situation where we could configure gitweb to show _only_ project search form (like on http://repo.or.cz), to be able to show all projects via "search type" show_all... which might be added in the future.

The last two patches are new, and probably should be taken together. The issue with them is that the second patch turns off shortening of project description in project search view. Fixing that would require more complicated code... but perhaps current situation is all right.

CC-ing John 'Warthog9' Hawley of git.kernel.org, and Petr 'Pasky' Baudis of repo.or.cz

Jakub Narebski (6):
  gitweb: Allow underscore in $searchtype ('st')
  gitweb: Improve projects search form
  gitweb: Option for filling only specified info in
    fill_project_list_info
  gitweb: Faster project search
  gitweb: Highlight matched part of project name when searching
    projects
  gitweb: Highlight matched part of project description when searching
    projects
 gitweb/gitweb.perl       |  110 +++++++++++++++++++++++++++++++++++++--------
 gitweb/static/gitweb.css |    7 +++-
 2 files changed, 96 insertions(+), 21 deletions(-)
-- 
1.7.5
Next: Jakub Narebski
Message 1 of 8 in “gitweb: Improve project search”
  1. 0/6 gitweb: Improve project searchJakub Narebski, Jul 29, 2011
  2. 1/6 gitweb: Allow underscore in $searchtype ('st')Jakub Narebski, Jul 29, 2011
  3. 2/6 gitweb: Improve projects search formJakub Narebski, Jul 29, 2011
  4. 3/6 gitweb: Option for filling only specified info in fill_project_list_infoJakub Narebski, Jul 29, 2011
  5. 4/6 gitweb: Faster project searchJakub Narebski, Jul 29, 2011
  6. 5/6 gitweb: Highlight matched part of project name when searching projectsJakub Narebski, Jul 29, 2011
  7. 6/6 gitweb: Highlight matched part of project description when searching projectsJakub Narebski, Jul 29, 2011
  8. 7/6 gitweb: Use esc_html_match_hl in 'grep' searchJakub Narebski, Jul 30, 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.