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

tracking separate branches with RSS

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Nov 14, 2006, 00:44 UTC
Message-ID
<ejb3hh$nvr$1@sea.gmane.org>
Hello,

I think that the shortlog / RSS support in gitweb is really neat. However, it seems to track only the master branch.

In our repository (http://git.sv.gnu.org/gitweb/?p=lilypond.git;a=summary), we track two completely disparate branches in one repository: we have both the project and the website for the project in branches

   master
and
   web/master

Unfortunately, I don't seem to get any updates in my RSS reader when I push something to web/master. Would it be possible have a separate feed for each branch? I tried looking at the gitweb script, but my perl-fu is too weak to figure out how to pass an argument from the URL into a git_rss() to replace the

   git_get_head_hash($project)
call.

A second possibility -less desirable, but better than nothing- is to have commits from all branches show up in the shortlog and the RSS feed.

-- 
  Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Next: Jakub Narebski
Message 1 of 4 in “tracking separate branches with RSS”
  1. Han-Wen NienhuysNov 14, 2006
  2. Jakub NarebskiNov 14, 2006
  3. Han-Wen NienhuysNov 14, 2006
  4. Jakub NarebskiNov 14, 2006

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.