[ciapug] Subversion

Jason Shaw jasonshaw at gmail.com
Tue May 22 08:21:06 CDT 2007


Greetings everyone,
  I completely forgot I even signed up with this mailing list. I was
just wondering if it is still an active group with meetings and such.
I'm located in ames.
--Jason

On 5/21/07, Carl Olsen <carl-olsen at mchsi.com> wrote:
> I have an unusual production environment.  We have a content management
> server that builds the pages using Java Server Pages.  It publishes the
> finished pages to a web server using php for the file extensions.  If I put
> a PHP include file into one of them, I can include PHP code from anywhere on
> the computer, so I keep it in the phpinclude folder since it really doesn't
> need to be in the web root.
>
> It would make sense for me to exclude the web root as well as the folders
> under it, since all I really need in those files is a single include
> statement.  I wasn't having any problem with any of this using CVS because
> CVS versions each file instead of an entire project.  Subversion is
> different, so now I'm seeing problems with the way I have things set up.
>
> I do have both a hard copy of the svnbook (Copyright 2004) as well as the
> most recent version I downloaded today from the website.  I'll take a look
> at the pages you suggested.  I think I want the entire phpinclude directory
> to be one project, but I'll figure that tomorrow.
>
> Since the htdocs folder was installed by Apache and the phpinclude folder
> was created by me, the problem I'm having may be related to permissions on
> the htdocs folder.
>
> I don't understand why I see a checkbox for recursive in subversion.  In CVS
> it made sense because it versions each file separately.  I don't understand
> what it means in Subversion if Subversion is going to give the entire
> project a version number every time I commit.  I should probably play with
> it more before I start asking too many questions.  It will make more sense
> when I get something working.
>
> Thank you!
>
> Carl
>
> -----Original Message-----
> From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On Behalf
> Of Rearick, John P [VDPAM]
> Sent: Monday, May 21, 2007 2:51 PM
> To: ciapug at cialug.org
> Subject: RE: [ciapug] Subversion
>
> A good place to start learning about Subversion is the "book" at
> http://svnbook.red-bean.com/ .  For your specific problem check out the
> ignore options
> http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore
> .html .
>
> However, I would see about not checking in the entire Apache folder and
> rearrange your applications' directory structure so that it is not mixed
> in with the other Apache files.  For example have a directory for your
> application (htdocs/myApplication) and inside that folder have your html
> and phpinclude folder (htdocs/myApplication/html and
> htdocs/myApplication/phpinclude).  If phpinclude is more of a shared
> library, you might want to consider having phpinclude in a separate
> repository.
>
> John
>
> -----Original Message-----
> From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On
> Behalf Of carl-olsen at mchsi.com
> Sent: Monday, May 21, 2007 2:26 PM
> To: ciapug at cialug.org
> Subject: [ciapug] Subversion
>
> I'm trying to figure out how to use Subversion.  I have version 1.4.3
> installed
> on Windows XP Professional and I have Tortoisesvn installed.  I created
> a
> repository at "C:\svn\apache2" and I imported the "C:\apache2" folder
> into it.
> I'm sure that was a mistake because that is where I have Apache 2.2.x
> installed.
> The reason I tried to do it that way is because I have two folders where
> I keep
> my working files "htdocs" and "phpinclude" and I want to be able to have
> them
> both open in Zend Studio 5.5 at the same time.
>
> When I open Zend Studio and try to checkout the files, I get an error
> message saying it
> cannot add the directory "htdocs" because it already exists.  Obviously,
> it does
> exist because that's where I imported the files from.
>
> Is there some way I can set this up so that it only versions the files
> and
> folders I want to version and ignores the rest, as well as allowing me
> to keep
> my working directory the same as the web root for Apache (and my
> "phpinclude"
> folder which is outside the web root)?
>
> Carl Olsen
> Des Moines
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>


More information about the ciapug mailing list