wiki:LimsGridctlUpds

The source files -- primarily PHP scripts -- that govern LIMS and GridCtl functions on LIMS servers are persisted in repositories on svn.aucsolutions.com. All committing of new revisions is done from a sandbox owned by a developer (gegorbet, alexey). In the case of developer gegorbet, that sandbox is on Gorbet's home linux box at

/srv/www/htdocs/src .

Updates of LIMS server source are done in production directories with commands like

	sudo su us3
	cd /srv/www/htdocs/common/class
	svn up

or

	sudo su us3
	cd ~us3/lims/database
	./update_dblist.sh
	./update-us3-lims.sh

To be explicit: for updates to directories other than uslims3/uslims3_inst, go to the server directory and, as user us3, execute an "svn up". For any updates to the instance scripts, go to ~us3/lims/database and, as user us3, insure the list of instances (file dblist.txt) is up to date and execute script update-us3-lims.sh to do svn up for each of the instance subdirectories.

Here are the URLs for sandbox and servers directories:

Path: /srv/www/htdocs/src/gridctl
URL: svn+ssh://gegorbet@svn.aucsolutions.com/us3_gridctl/trunk
Path: /srv/www/htdocs/src/uslims3
URL: svn+ssh://gegorbet@svn.aucsolutions.com/uslims3_webinfo/trunk
Path: /srv/www/htdocs/src/uslims3/uslims3_inst
URL: svn+ssh://gegorbet@svn.aucsolutions.com/us3_lims/trunk
Path: /srv/www/htdocs/src/uslims3_newlims
URL: svn+ssh://gegorbet@svn.aucsolutions.com/limsv3_new_instance/trunk
Path: /srv/www/htdocs/src/common
URL: svn+ssh://gegorbet@svn.aucsolutions.com/ultrascan_common/trunk
Path: /srv/www/htdocs/src/common/class
URL: svn+ssh://gegorbet@svn.aucsolutions.com/ultrascan_common/trunk/class
Path: /srv/www/htdocs/src/common/class_local
URL: svn+ssh://gegorbet@svn.aucsolutions.com/ultrascan_common/trunk/class_local
Path: /home/us3/lims/bin
URL: svn://svn.aucsolutions.com/us3_gridctl/trunk
Path: /srv/www/htdocs/uslims3
URL: svn://svn.aucsolutions.com/uslims3_webinfo/trunk
Path: /srv/www/htdocs/uslims3/uslims3_AUCSOL
URL: svn://svn.aucsolutions.com/us3_lims/trunk
Path: /srv/www/htdocs/uslims3/uslims3_newlims
URL: svn://svn.aucsolutions.com/limsv3_new_instance/trunk
Path: /srv/www/htdocs/common
URL: svn://svn.aucsolutions.com/ultrascan_common/trunk
Path: /srv/www/htdocs/common/class
URL: svn://svn.aucsolutions.com/ultrascan_common/trunk/class
Path: /srv/www/htdocs/common/class_local
URL: svn://svn.aucsolutions.com/ultrascan_common/trunk/class_local

So, the general procedure for LIMS/GridCtl update is:

  • Make and test changes in server directories (on one of the LIMS servers);
  • Copy updated scripts to sandbox directories;
  • Commit changes to subversion (as developer user);
  • On each LIMS server, update server directories (as user us3).
Last modified 3 months ago Last modified on Sep 28, 2018 3:23:47 PM