Dealing with bugs

  • Dealing with bugs

    If you encounter an issue with an Adhearsion application, and you are not certain it is a bug in Adhearsion or in your use of the framework, you should first discuss the problem on the mailing list. If it is then identified to be a fault with Adhearsion, you will be directed to open an issue on the Github issue tracker. See the notes below on filing a bug report for more details.

    Running pre-release Adhearsion

    If you encounter a bug, it's entirely possible that it has already been fixed in Adhearsion but not yet included in a released version. You can establish this by trying to run your application with a pre-release version of Adhearsion direct from source control. You can do this by modifying your application's Gemfile as follows:

      gem 'adhearsion', github: 'adhearsion', branch: 'develop'
      gem 'punchblock', github: 'adhearsion/punchblock', branch: 'develop'

    If it is suggested to you that you try a different branch, substitute that for 'develop' in your Gemfile.

    You may then run bundle install to get the correct dependencies, and then boot your application. If the problem is resolved, feel free to voice your desire for a new release of Adhearsion to the community. If it persists, you should consider filing a bug report.

    Filing a bug report

    • Bug reports should be filed on the Github issue tracker. Bug reports should contain the following things:
      • A sensible subject that helps quickly identify the issue.
      • Full steps to reproduce the issue.
      • Full log output at trace level. Feel free to point out specific log lines which you believe may be relevant, but please provide as much context as possible.
      • Full references for version numbers (of Adhearsion, dependencies, Ruby, etc), environment (including OS, environment settings, mode of deployment, etc). One easy way to do this is to post your Gemfile.lock, though you will still need to tell us what version of Ruby is in use.
      • Where possible, a minimal test case. This would preferably take the form of a git repository containing an adhearsion application which, when cloned and booted, exhibits the issue with minimal modification.
    • Some more guidelines on filing good bug reports:
    Back to Common Problems Continue to Contributing
blog comments powered by Disqus