Forum: Ruby Pure Ruby GIT repository reader

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
519a4d4a2a70c0c6ad0447575d71d4cc?d=identicon&s=25 Stephan Maka (Guest)
on 2007-05-12 21:24
(Received via mailing list)
Friends of decentralized version control,

I've written a reader for GIT repositories in pure Ruby. It's not much
but if you need it you haven't to write what others have written
already.

Repository:
  http://cthulhu.c3d2.de/~astro/git/gitnotification.git/
Source browser:
  http://cthulhu.c3d2.de/~astro/gitweb/?p=gitnotific...

My intention was to write a Jabber bot for GIT commit notification. This
hasn't been finished, but I needed a way to navigate through commits
without fetching the whole repository. I didn't find a way to do this
with vanilla GIT or Cogito.

Features:
* Access only via HTTP (found git:// too hard to implement)
* Small HTTP backend for partial retrieval and handling HTTP resources
  like IO
* Can handle packs and their .idx files
* GIT::CommitTracer grabs all commits from HEAD until a specific rev to
  determine what's new

As I said, this is not much. But maybe anyone could need it, and I would
love to help at some ruby-git project.


Stephan
This topic is locked and can not be replied to.