[Asterisk-Users] Config Revision Control
Michiel van Baak
michiel at vanbaak.info
Mon Jun 5 23:37:23 MST 2006
On 12:33, Mon 05 Jun 06, Douglas Garstang wrote:
> I guess this is waaaay beyond my knowledge of subversion. I just started playing with the directory structure I might use, and first thought was something like this:
>
> dougg at monitor ~/cfg $ ls -l
> total 16
> drwxr-xr-x 2 dougg users 4096 Jun 5 12:24 acd
> drwxr-xr-x 2 dougg users 4096 Jun 5 12:28 common
> drwxr-xr-x 2 dougg users 4096 Jun 5 12:28 pbx
> drwxr-xr-x 2 dougg users 4096 Jun 5 12:24 vm
>
> where acd, pbx and vm refer to a function, or class of systems. pbx/ would have systems pbx1, pbx2 and pbx3 beneath it. Some files, such as sound files, and AGI are common to all systems, and hence the common/ directory. However, I have no idea what to do with it beyond that. I don't know how to push common changes out to all the other servers, or inherit, or whatever, or how to stop a common directory being created on the servers instead of putting the files from common under /var/lib/asterisk/agi-bin and /usr/lib/asterisk/sounds etc. Arrgh.
>
To push the common changes you need to setup the automerge
script.
To checkout multiple trees inside one you can use the svn
properties. There's this property svn:external.
You can read more about it in the svnbook.
Good luck.
--
Michiel van Baak
http://michiel.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D
"Why is it drug addicts and computer afficionados are both called users?"
More information about the asterisk-users
mailing list