I made a tiny change to scratch a itch I mentioned in the webistrano issue tracker: https://github.com/peritor/webistrano/issues/#issue/12
In order to be able to pass a deployment comment to the deployment form, add the following ruby code after line 33 of /var/www/webistrano/app/controllers/deployments_controller.rb:
# Allow description url var to be passed in the URL
@deployment.description = params[:description]
Now the description url variable can be used to pre-fill the deployment comment, e.g. http://webistrano.example.com:8000/projects/1/stages/1/deployments/new?task=deploy&description=my%20comment. We do this to get some integration with the trac bug tracking software.
Allow deployment description to be set via a URL parameter. This is t…
…o scratch the inch mentioned in https://github.com/peritor/webistrano/issues/#issue/12
add test for pull request #17