# git2rss --- publish changes from git-log via RSS

5 messages from 2006-07-04 to 2006-07-07. Participants: Bennett Todd, Jakub Narebski, Matthias Lederhofer.
Thread: https://gitlist.dev/t/4765

## Bennett Todd, 2006-07-04 19:11

Subject: git2rss --- publish changes from git-log via RSS
Message-ID: <20060704191135.GB10534@rahul.net>
URL: https://gitlist.dev/e/20060704191135.GB10534%40rahul.net

```
Just switched Bent Linux[1] from darcs to git (darcs is sexy, but I
can build git; ghc defeats me). So I hacked up a quick and simple
git2rss to replace my use of darcs2rss for publishing updates.

<URL:http://bent.latency.net/git2rss>

I hardcoded a couple of Bent-linux-specific bits in there, if
anybody else is actually interested in this, let me know, we can
discuss how to peel 'em out.

I like to read the back archives before posting to a list I've just
subscribed to, but couldn't find a downloadable version of the git
list. If anybody could point me to one, I'd appreciate it.

-Bennett

[1] Bent Linux probably isn't of interest to anybody else, it's my
mid-life crisis project, sound bite "unix as I came to love hear in
the early '80s, when she and I were both much younger, slimmer, and
healthier". uClibc, static linking only, no dynamic loading, no
i18n, nothing gui. Handy for building initrds, perhaps useful for
embedded applications. Nobody but a total crank like me would use it
as their favoured workstation OS.
<URL:http://bent.latency.net/bent/>

```

## Jakub Narebski, 2006-07-04 21:09

Subject: Re: git2rss --- publish changes from git-log via RSS
Message-ID: <e8elej$4sa$1@sea.gmane.org>
URL: https://gitlist.dev/e/e8elej%244sa%241%40sea.gmane.org
In-Reply-To: <20060704191135.GB10534@rahul.net>

```
Bennett Todd wrote:

> Just switched Bent Linux[1] from darcs to git (darcs is sexy, but I
> can build git; ghc defeats me). So I hacked up a quick and simple
> git2rss to replace my use of darcs2rss for publishing updates.
> 
> <URL:http://bent.latency.net/git2rss>

Added to http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#git2rss
Please correct/expand the info if needed.

BTW. gitweb includes RSS feed, see e.g.:
  http://www.kernel.org/git/?p=git/git.git;a=rss
  http://www.kernel.org/git/?p=git/git.git;a=opml

> I like to read the back archives before posting to a list I've just
> subscribed to, but couldn't find a downloadable version of the git
> list. If anybody could point me to one, I'd appreciate it.

Both GitWiki and Wikipedia

  http://git.or.cz/gitwiki/GitCommunity
  http://en.wikipedia.org/wiki/Git_%28software%29

mentions several git mailing list archives

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Bennett Todd, 2006-07-06 12:53

Subject: Re: git2rss --- publish changes from git-log via RSS
Message-ID: <20060706125328.GA19414@rahul.net>
URL: https://gitlist.dev/e/20060706125328.GA19414%40rahul.net
In-Reply-To: <e8elej$4sa$1@sea.gmane.org>

```
2006-07-04T21:09:32 Jakub Narebski:
> Added to http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#git2rss
> Please correct/expand the info if needed.

Thanks. But I'm not sure it belongs there. If anybody else turns out
to be interested, and we work out how to update it to pull out the
Bent-specific stuff hardcoded in it, and document the result, then
maybe. At best it might be an example someone could copy, if they
wanted to publish an rss of git-log, with some hardwired assumptions
about the log format and the archive structure. It's not based on
darcs2rss, it's a complete rewrite, and much simpler since I used
XML::RSS::SimpleGen.

> BTW. gitweb includes RSS feed, see e.g.:
>   http://www.kernel.org/git/?p=git/git.git;a=rss
>   http://www.kernel.org/git/?p=git/git.git;a=opml

Can it be used for offline generation? I don't run any CGIs on my
webserver, I re-generate bent.xml whenever I push any updates.

-Bennett

```

## Jakub Narebski, 2006-07-07 18:38

Subject: Re: git2rss --- publish changes from git-log via RSS
Message-ID: <e8m9m2$m37$1@sea.gmane.org>
URL: https://gitlist.dev/e/e8m9m2%24m37%241%40sea.gmane.org
In-Reply-To: <20060706125328.GA19414@rahul.net>

```
Bennett Todd wrote:

> 2006-07-04T21:09:32 Jakub Narebski:

>> BTW. gitweb includes RSS feed, see e.g.:
>>   http://www.kernel.org/git/?p=git/git.git;a=rss
>>   http://www.kernel.org/git/?p=git/git.git;a=opml
> 
> Can it be used for offline generation? I don't run any CGIs on my
> webserver, I re-generate bent.xml whenever I push any updates.

Just run it as a script. IIRC there is a way to pass CGI params
to a script...

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Matthias Lederhofer, 2006-07-07 19:23

Subject: Re: git2rss --- publish changes from git-log via RSS
Message-ID: <E1Fyvuz-0007rM-BD@moooo.ath.cx>
URL: https://gitlist.dev/e/E1Fyvuz-0007rM-BD%40moooo.ath.cx
In-Reply-To: <e8m9m2$m37$1@sea.gmane.org>

```
Jakub Narebski wrote:
> Bennett Todd wrote:
> 
> > 2006-07-04T21:09:32 Jakub Narebski:
> 
> >> BTW. gitweb includes RSS feed, see e.g.:
> >>   http://www.kernel.org/git/?p=git/git.git;a=rss
> >>   http://www.kernel.org/git/?p=git/git.git;a=opml
> > 
> > Can it be used for offline generation? I don't run any CGIs on my
> > webserver, I re-generate bent.xml whenever I push any updates.
> 
> Just run it as a script. IIRC there is a way to pass CGI params
> to a script...

env REQUEST_METHOD=GET QUERY_STRING='p=git/git.git;a=rss' \
./gitweb.cgi | (read; read; cat)

works fine if gitweb.cgi is setup correctly.

```
