[Vtigercrm-developers] daily tests

Matthew Brichacek mmbrich at fosslabs.com
Thu Jun 15 13:29:37 PDT 2006


You know, thats actually the best way to do it, I was looking at our
upgrade script while I wrote that (which does a full snapshot of the
current system in case of problems).
OK, so svn update it is on the current vtiger root, now.. how about the
DB?  It could be interesting to build a new clean db from the schema,
then do a dump and maybe compare it to the current DB and try to make
changes?  Sounds confusing but I bet it wouldn't be _too_ bad, and no
settings, etc are lost in most cases.

Matt

On Thu, 2006-06-15 at 16:09 -0400, Jeff Kowalczyk wrote:
> Matthew Brichacek wrote:
> > My idea for the update script so far is to use a shell script to back up
> > the current uploads and other things that aren't stored in the DB,
> > delete and recreate the DB, then fire off a php script that will build
> > the db from the xml schema.  We could also snapshot some of the settings
> > in the system but that adds a level of complexity.
> 
> Why not install a subversion post-commit hook to run 'svn export' or
> 'svn update' into the demo directory?
> 
> We already have at least one such hook installed for the trac ticket
> integration with checkin messages.
> 
> We need to continue to refine our svn ignores and also omit config.inc.php
> from the repository. config.inc.php should be handled by the installer to:
> 
> a) create config.inc.php if non-existent (e.g. first use)
> 
> b) config.inc.php use values as installer defaults if exists (e.g.
> reinstall/redeploy)
> 
> c) svn ignore config.inc.php on all commits and imports.
> 
> With the svn hook and proper handling of temp and config.inc.php, the test
> installation can't be updated with each commit to the repository.
> 
> This would be the ideal setup to run a Selenium in-browser test suite
> against.
> 
> There is an extraordinary tool called buildbot that runs such smoke tests
> continually, but can be difficult to set up. If we run the tests often on
> a volunteer basis, it will be a big help.
> 
> _______________________________________________
> This vtiger.com email is sponsored by: Zoho Writer. Are you still using your desktop word processor for typing documents? Try the AJAX enabled, collaboration-friendly online word processor, Zoho Writer for FREE instead!
> http://zohowriter.com/?vt 




More information about the vtigercrm-developers mailing list