Create a Management Module for Xinc - Continuous Integration for PHP

Events happening in the community are now at Drupal community events on www.drupal.org.
rpfilomeno's picture

Xinc is an OpenSource continuous integration tool for PHP using PHPUnit Framework.

The idea is to
* create a module to manage the configuration of Xinc (currently on XML format) via Drupal.
* create detailed reports page view for Drupal.
* create overview / statistics page view and blocks view.
* integration with og project.
* integration with ng_workflow or actions.module - allows Xinc to invoke actions for success and failure status such as send emails, promote project to frontpage or add taxonomy terms (eg: add to "failing builds").
* use Drupal hook_cron rather than Xinc server to schedule builds.
* integrate with Calendar.module

Read more about Xinc at http://code.google.com/p/xinc/

Comments and suggestions are welcome.

Comments

This is a really ambitious

platypus media's picture

This is a really ambitious project. I think that it might be shooting a little high for SoC. Maybe trim down a little on the scope? I think this also needs a little bit of clarity on which way this module is supposed to run. Is the drupal module pushing content to Xinc, or is Xinc creating content on a drupal site?

Xinc -> Drupal hook_cron + custom content type

rpfilomeno's picture

I already made some progress on this project and it is being used internally in my company but i wish to create a open source version of it as well.

Basically i move the entire Xinc codes as a Drupal module and used hook_cron to run the Xinc server which is basically a PHP script being called by a script shell inside a loop while the shell script is then called by the init.d/xinc script which basically allows you to start the shell script and capturing its PID or kill the process via its PID. With Drupal hook_cron, all these shell scripts are no longer needed.

Finally I made Xinc write its test result into a Drupal node as custom content type rather than into static html report. Unfortunately i havent figured out yet the update path whenever a new version of Xinc comes out. Then I think its best if we build the Xinc to Drupal integration as Xinc Module rather than rewriting Xinc codes to write directly to Drupal's DB.

Im already working on Views as Web Widget but i would be happy to co-mentor this one also if it generates a lot of interest, anyway even if it doesnt get into the Soc i'll probably still build this one after.

SoC 2008

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: