edavis10 / redmine_hoptoad_server forked from yeah/redmine_hoptoad_server

This plugin turns Redmine (http://redmine.org) into a Hoptoad server, i.e. an API provider which can be used with the hoptoad_notifier which is available at: http://www.hoptoadapp.com/. — Read more

This URL has Read+Write access

edavis10 (author)
Thu Apr 16 09:32:21 -0700 2009
commit  2b3ee4edd6f7248ab41b8ef9d3fe35d6323248fa
tree    3a01832a1146dc42f28b3d1d89c0e286ba4b9542
parent  ea2d7beb7068360d125c8a853e6bbc9bd9c4e881
name age message
file README.rdoc Loading commit data...
directory app/
file init.rb Fri Oct 03 06:58:08 -0700 2008 first commit [yeah]
directory lang/ Fri Oct 03 06:58:08 -0700 2008 first commit [yeah]
directory test/ Fri Oct 03 06:58:08 -0700 2008 first commit [yeah]
README.rdoc

Hoptoad Server

This is a simple Redmine plugin that makes Redmine act like a Hoptoad server. All exceptions caught and sent by HoptoadNotifier will create or update an Issue in Redmine.

Installation & Configuration

Just install the Plugin following the general Redmine plugin installation instructions at www.redmine.org/wiki/redmine/Plugins.

Then, go to Administration -> Settings -> Incoming emails in your Redmine and generate an API key.

Now, download and install the HoptoadNotifier following the excellent instructions on their github page github.com/thoughtbot/hoptoad_notifier.

When it comes to creating your config/initializers/hoptoad.rb file, deviate from the standard and put in something like this:

  HoptoadNotifier.configure do |config|
    config.api_key = {:project => 'my_redmine_project_identifier', # the identifier you specified for your project in Redmine
                      :tracker => 'Bug',                           # the name of your Tracker of choice in Redmine
                      :api_key => 'my_redmine_api_key',            # the key you generated before in Redmine (NOT YOUR HOPTOAD API KEY!)
                      :category => 'Development',                  # the name of a ticket category (optional.)
                      :assigned_to => 'admin',                     # the login of a user the ticket should get assigned to by default (optional.)
                      :priority => 5                               # the default priority (use a number, not a name. optional.)
                     }.to_yaml
    config.host = 'my_redmine_host.com'                            # the hostname your Redmine runs at
    config.port = 443                                              # the port your Redmine runs at
    config.secure = true                                           # sends data to your server via SSL (optional.)
  end

You’re done. You can start receiving your Exceptions in Redmine!