<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=700415921-02062006><FONT face=Arial
size=2>Bruce,</FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial size=2>I've been referring
to the book at </FONT><A
href="http://svnbook.red-bean.com/nightly/en/svn-book.html"><FONT face=Arial
color=#000000
size=2>http://svnbook.red-bean.com/nightly/en/svn-book.html</FONT></A><FONT
face=Arial size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial size=2>The svn book's quick
start says that you must have a trunk directory before you try and import for
the first time. </FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial size=2>"For reasons that
will be clear later (see </FONT><A
title="Chapter 4. Branching and Merging"
href="http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.branchmerge"><FONT
size=2><FONT color=#000000><FONT face=Arial>Chapter 4, <I>Branching and
Merging</I></FONT></FONT></FONT></A><FONT size=2><FONT face=Arial>), your
project's tree structure should contain three top-level directories named <CODE
class=filename>branches</CODE>, <CODE class=filename>tags</CODE>, and <CODE
class=filename>trunk"</CODE></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><CODE class=filename><FONT
face=Arial></FONT></CODE></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename>The quick start also does not address how to log in with the
credentials necessary to actually do this...</CODE></FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename></CODE></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename>I get...</CODE></FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename>svn import /etc/asterisk
svn://216.187.142.202/usr/subversion</CODE></FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename>Authentication realm: <svn://216.187.142.202:3690> example
realm<BR>Password for 'root': </CODE></FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename></CODE></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename>What's the syntax for specifying a user? Is it svn import
/etc/asterisk <A
href="mailto:user@svn://216.187.142.202/usr/subversion">user@svn://216.187.142.202/usr/subversion</A> ???</CODE></FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename></CODE></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename>Doug</CODE></FONT></SPAN></DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename></CODE></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename></CODE></FONT></SPAN> </DIV>
<DIV><SPAN class=700415921-02062006><FONT face=Arial color=#000000><CODE
class=filename></CODE></FONT></SPAN> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Bruce Reeves
[mailto:asterisk@nortex-networks.com]<BR><B>Sent:</B> Friday, June 02, 2006
3:52 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial
Discussion<BR><B>Subject:</B> Re: [Asterisk-Users] Config Revision
Control<BR><BR></FONT></DIV>Are you following the quickstart in the SVN book?
For the first time to import them in to a "folder" called trunk. Then as Aaron
stated you can check or co the trunk to any folder. <BR><BR>
<DIV><SPAN class=gmail_quote>On 6/2/06, <B class=gmail_sendername>Douglas
Garstang</B> <<A
href="mailto:dgarstang@oneeighty.com">dgarstang@oneeighty.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Aaron,<BR><BR>I'm
trying to check-in (is that the right term?) the files for the first time.
There's nothing in the repository yet.<BR><BR>Doug.<BR><BR>>
-----Original Message-----<BR>> From: Aaron Daniel [mailto:<A
href="mailto:amdtech@shsu.edu"> amdtech@shsu.edu</A>]<BR>> Sent: Friday,
June 02, 2006 3:34 PM<BR>> To: Asterisk Users Mailing List -
Non-Commercial Discussion<BR>> Subject: RE: [Asterisk-Users] Config
Revision Control<BR>><BR>><BR>> No, if you do an "svn co <BR>>
<A
href="http://svn.server.com/svn/configs/trunk">http://svn.server.com/svn/configs/trunk</A>
asterisk"<BR>> in /etc, it'll make a folder called asterisk in your
/etc<BR>> directory. Once<BR>> that's done, any
modifications made that are committed to the <BR>> server can<BR>> be
downloaded into /etc/asterisk by running "svn up" inside<BR>> the
directory.<BR>><BR>> Might need to get your brakes checked if you keep
hitting walls :)<BR>><BR>> On Fri, 2 Jun 2006, Douglas Garstang wrote:
<BR>><BR>> > Ok, does anyone know if anyone has already created a
guide<BR>> for using subversion with Asterisk?<BR>> > I've hit a
wall already, where the subversion docs say that<BR>> your files _must_
go into a directory called trunk(huh? <BR>> What's with that?). That's
going to break Asterisk, who<BR>> obviously wants conf files in
/etc/asterisk.<BR>> > Grrrrr.<BR>> ><BR>> > -----Original
Message-----<BR>> > From: Watkins, Bradley [mailto: <A
href="mailto:Bradley.Watkins@compuware.com">Bradley.Watkins@compuware.com</A>]<BR>>
> Sent: Friday, June 02, 2006 3:06 PM<BR>> > To: Asterisk Users
Mailing List - Non-Commercial Discussion<BR>> > Subject: RE:
[Asterisk-Users] Config Revision Control <BR>> ><BR>> ><BR>>
> The first situation you mention can be solved by creating<BR>>
separate files that contain the unique elements, and then<BR>> including
them in the main files where all the commonality <BR>>
is. That is how we do things, and it works well for
us. It<BR>> may be a little cumbersome if you have a *lot* of
uniqueness,<BR>> but if you really want to share a significant portion of
the<BR>> configs this is the only way I know of to do it. <BR>>
><BR>> > As for revision control, we use Subversion with a
branch<BR>> for each server containing the unique files. All
of our<BR>> configuration scripts also include automatic checkins
of<BR>> changed files (we can always revert if need be). It
also <BR>> makes it easy to spot changes if something goes wrong, as
an<BR>> svn diff will tell you.<BR>> ><BR>> >
Regards,<BR>> > - Brad<BR>> ><BR>> > -----Original
Message-----<BR>> > From: <A
href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</A><BR>>
[mailto:<A
href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</A>]
On Behalf Of <BR>> Douglas Garstang<BR>> > Sent: Friday, June 02,
2006 4:43 PM<BR>> > To: Asterisk Users Mailing List - Non-Commercial
Discussion<BR>> > Subject: [Asterisk-Users] Config Revision
Control<BR>> > <BR>> ><BR>> > Has anyone got any neat
solutions for Asterisk .conf file<BR>> revision control?<BR>>
><BR>> > We have multiple Asterisk boxes here, that we'd like
to<BR>> maintain a _mostly_ common set of conf files on. They aren't
<BR>> all the same though. There's subtle differences. For
example,<BR>> in sip.conf, iax.conf etc, the bindaddr setting is
different.<BR>> Dundi.conf is very different between each system.<BR>>
><BR>> > At the moment I have a file tree on a separate server, and
<BR>> I use the m4 processor to replace certain unique sections
of<BR>> the files. I have a bunch of scripts to build sip.conf
etc<BR>> and then rsync the files out to the servers. It works,<BR>>
mostly, but it isn't elegant. <BR>> ><BR>> > I'd like to
revision control all this. I don't know how it<BR>> could be done with
revision control though. As I said, not<BR>> all the files are the same.
I don't know if we'd run a<BR>> version control client on each Asterisk
box, or if we'd run <BR>> it centrally, and then use rsync again, to copy
the files out.<BR>> ><BR>> > Doug.<BR>> ><BR>>
><BR>> ><BR>> ><BR>> ><BR>> > =00The contents of
this e-mail are intended for the named <BR>> addressee only. It contains
information that may be<BR>> confidential. Unless you are the named
addressee or an<BR>> authorized designee, you may not copy or use it, or
disclose<BR>> it to anyone else. If you received it in error please
notify <BR>> us immediately and then destroy it.<BR>> ><BR>>
><BR>><BR>> --<BR>> Aaron Daniel<BR>> Computer Systems
Technician<BR>> Sam Houston State University<BR>> <A
href="mailto:amdtech@shsu.edu">amdtech@shsu.edu</A><BR>> (936)
294-4198<BR>> _______________________________________________<BR>>
--Bandwidth and Colocation provided by <A
href="http://Easynews.com">Easynews.com</A> --<BR>><BR>>
Asterisk-Users mailing list <BR>> To UNSUBSCRIBE or update options
visit:<BR>> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR>><BR>_______________________________________________
<BR>--Bandwidth and Colocation provided by <A
href="http://Easynews.com">Easynews.com</A> --<BR><BR>Asterisk-Users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Bruce<BR>Nortex Networks </BLOCKQUOTE></BODY></HTML>