Hoptracker – Part II

Part II

Step by Step guide to get hoptracker working for your app.

Softwire Intro:
Base app for Hoptracker which pulls errors from Hoptoad and adds them as bugs in Pivotal Tracker Project. It is still an alpha stage app with very basic user interface, no administration module yet, so all details of projects available for all, essentially for internal use as of now.

Steps in softwire:
1. Goto http://softwire.sapps.in

2. Click on New app. This will ask you to provide app related details:
a) name of your app
b) Hoptoad app name (.hoptoadapp.com : Its the portion that softwire is interested in.)
c) Hoptoad Auth Key (Get this from hoptoadapp.com)
d) Pivotal Tracker Project Id
e) Pivotal Tracker Auth Key (Again log into Pivotal to get this)

3. Create the app and see it listed in the listings page. Note the “Id” field of your app (as you will later use it to configure the hoptracker in your app). Bear with me at this point in time for atleast the Id should have been hashed. The next release will have a better approach to this.

Thats it, you are done with the registration of your app with softwire and it is now ready to do the bug movement provided it is notified to do so. This notification happens via hoptracker plugin in your app. Lets see how that is done in a bit.

Hoptracker Intro:
A Rack based app to log hoptoad errors onto Pivotal Tracker. This plugin communicates with softwire (http://softwire.sapps.in) application and notifies whenever an exception occurs. Softwire, then pulls the error from Hoptoad and adds it as a bug in Pivotal Tracker.

Steps in hoptracker
1. Drop the plugin in your projects’ vendor/plugins folder (script/plugin install git@github.com:sapnasolutions/hoptracker.git).
2. In the environment.rb add the following line:
config.middleware.use ‘Hoptracker::Rack’
3. Create hoptracker.rb file in your initializers and drop in this line:
Hoptracker.app_id= (This is the Id that you got as part of app creation on softwire.)
4. Restart your server and start getting your hoptoad errors onto your pivotal tracker project.

Enjoy!

P.S: This is still a work in progress project and does not contain an admin interface nor does it have any test cases! :( . Contributions are welcome and appreciated!

Advertisement
  1. Hey, I would suggest to chante ‘Pivotal Tracker’ to ‘Pivotal Tracker ID’ on the ‘new app’ signup form, and auth token – I believe that’s called API key in Hoptoad? Same with Tracker Auth Token / API Key

    I found it a bit confusing there.

    Also – maybe as a basic security measure, can we somehow either put in a simple apache password before we have authentication, or maybe not display the auth tokens and API keys on softwire? I think that’s a bit dangerous at this stage.

    Other than that, looking good!

    • Mike Schroll
    • May 19th, 2010

    Already gone from github?
    Is this code still available anywhere?

      • Hari
      • June 1st, 2010

      This is still a private repo and is being tested internally. I do not have a date at the moment, but very soon we should open it to public use. Do check this space.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.