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 [email protected]: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!











