Skip to contentSkip to conversation

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

DISCUSSION Bennett Todd 3 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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/>

#1 lore raw
Quoted 5 lines · Bennett Todd

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

Quoted 3 lines

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

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
#2 lore raw
2006-07-04T21:09:32 Jakub Narebski:
Quoted 2 lines

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.

Quoted 3 lines

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

#3 lore raw
Quoted 8 lines · Bennett Todd
2006-07-04T21:09:32 Jakub Narebski:
Quoted 3 lines

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...

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
#4 lore raw
Quoted 8 lines · Jakub Narebski
Quoted 6 lines · Bennett Todd
2006-07-04T21:09:32 Jakub Narebski:
Quoted 3 lines

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

Quoted 5 lines
Quoted 2 lines

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.