phpmyadmin / error-reporting-server

phpMyAdmin server side component for the error reporting system
MIT License
20 stars 28 forks source link

Feature 'Change Error Report Status upon change on SF bug Ticket'. #53

Closed JayNakrani closed 10 years ago

JayNakrani commented 10 years ago

Add feature 'Change Error Report Status upon change in Associated Bug Ticket of SourceForge.' Signed-off-by: Dhananjay Nakrani dhananjaynakrani@gmail.com

Added a generic cron job dispatcher which creates a cron job without breaking MVC of CakePHP. It can be used to set up other cron jobs as well. A seperate log is also added for all the cron jobs.

To synchronize the Report Statuses with SF Tickets, run command: php app/webroot/cron_dispatcher.php /source_forge/sync_ticket_statuses. Run that command periodically, i.e. every X time.

To run any other _action_ as a cron job. <php parser> app/webroot/cron_dispatcher.php <action URL>

nijel commented 10 years ago

Can you please document this in README as well, so that we have all installation instructions in one place.

JayNakrani commented 10 years ago

Sure. I'll push those changes shortly.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 8dc0f2e992b1e055b8f7f86b4e8f05536f31a17c on dhananjay92:dhananjay-gsoc-dev into 3841ead7ad9e7d8e1668445dbb0e25da1fecabac on phpmyadmin:master.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 1c29abcea9b373a27ea2cbb78e93cbf58c92629b on dhananjay92:dhananjay-gsoc-dev into 3841ead7ad9e7d8e1668445dbb0e25da1fecabac on phpmyadmin:master.

JayNakrani commented 10 years ago

I'm not that experienced in documentation. So, please let me know if there needs to be any change in it. :smile:

scrutinizer-notifier commented 10 years ago

The inspection completed: 4 new issues, 2 updated code elements

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 26a430d7fc9df2c40bc3d9f218d95e3e8bbc549f on dhananjay92:dhananjay-gsoc-dev into 3841ead7ad9e7d8e1668445dbb0e25da1fecabac on phpmyadmin:master.

JayNakrani commented 10 years ago

If array Report::status is not the same as ticket statuses on SF.net then it will give errors on L#3 of app/View/Reports/view.ctp.

nijel commented 10 years ago

Thanks, looks good.