SVN:howto

From Vicidial Wiki
Jump to: navigation, search

Contents

SVN / Subversion in Vicidial

We recently switched to doing all development of the astguiclient vicidial project on a Subversion (or) SVN server. Below are instructions for how to download and use the code from the SVN server.

-Now with a howto access it using windows

There are currently one trunk: - 2-X, the current 2.X tree code base

SVN server: svn://svn.eflo.net:3690/agc_2-X/trunk 2.x development tree of astguiclient (will become 2.4 branch)

 mkdir /usr/src/astguiclient
 cd /usr/src/astguiclient
 svn checkout svn://svn.eflo.net:3690/agc_2-X/trunk

All code is inside of the trunk directory

We use RapidSVN for the desktop file browser: http://www.rapidsvn.org


The 2.2 release branch: svn://svn.eflo.net:3690/agc_2-X/branches/agc_2.2.0


Accessing the SVN using windows use Rapid SVN(link above) or

Download the tortoisesvn from http://tortoisesvn.tigris.org/

It will be installed as a windows explorer extension.



For more information on Subversion: http://svnbook.red-bean.com/nightly/en/index.html

Upgrade from 2.4 with SVN to latest 2.4 on Vicibox Redux

Back Up Your System! Database and web! Do it NOW! See /usr/share/astguiclient/ADMIN_backup.pl

AFTER backing up, proceed

cd /usr/src/astguiclient/trunk

Download the newest code (makes no changes to any files in use, merely makes the new code available for when you need it!)

svn up

Get the LATEST instructions for what to do next

nano UPGRADE

You are now reading the UPGRADE document with the latest step by step instructions for upgrading your system.

Notes

  • There are multiple sections to allow incremental upgrades from 1.1.12-3 to the latest 2.4.
  • The FIRST section covers UPGRADING FROM 2.2.0 TO 2.4.
  • But you are already AT 2.4. The steps SHOULD be the same, but you may encounter an error when executing the sql statements to update your database.
  • The important thing is that when you are done the database schema should match the last line of the .sql file.
  • A good solution if you have any problems with the database upgrade would be to find your present database schema (in Admin->System Settings) and delete all the lines in the .sql upgrade document BEFORE that dbschema line (as they have already been run, you are already at that db schema!).

If upgrading an existing installation

Consider this "sticky" forum topic: http://www.vicidial.org/VICIDIALforum/viewtopic.php?t=16326&highlight=

Personal tools