Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Send Github Commit Emails
Ruby
Tree: e7d88dc1ab

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README.txt
github-commit-email.rb

README.txt

Github Commit Emails
====================

This is a Merb "very-flat" application.  You need to first do:

$ gem install merb-core merb-mailer json

In order to get Merb installed. 

Before you start sending things through it, I recommend you pop open the source and edit the
variables at the top.  Specifically:

  c[:mailto] = "<adam@example.com>",
  c[:mailfrom] = "Commit Bot <noreply@example.com>",

  Merb::Mailer.config = {
     :host   => 'localhost',
     :port   => '25',
     :domain => "commitbot" # the HELO domain provided by the client to the server
  }


You'll want to set all of those to reasonable settings.

Once that's done, you can fire up your new github commit email
bot with:

merb -I github-commit-email.rb -p SOMEPORT -d

The user running the merb application will need to be able to clone and pull from your repository.

Good luck!

Adam & Andrew
Something went wrong with that request. Please try again.