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

5 messages, 3 authors, 2016-06-15 · open the first message on its own page

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

From: Bennett Todd <hidden>
Date: 2016-06-15 22:42:32

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

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

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:32

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

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

From: Bennett Todd <hidden>
Date: 2016-06-15 22:42:32

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

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

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:33

Bennett Todd wrote:
2006-07-04T21:09:32 Jakub Narebski:
quoted
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

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

From: Matthias Lederhofer <hidden>
Date: 2016-06-15 22:42:33

Jakub Narebski wrote:
Bennett Todd wrote:
quoted
2006-07-04T21:09:32 Jakub Narebski:
quoted
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help