I want to SVN my webdevelopment.... I think...

Joined: 06/02/2008

o.k.
as you might remember I am looking for a way to maintain, develop, and work on my drupal sites... I have started using Aptana http://www.aptana.com/, and I really like it.

Next step... can I svn my website development?

How is it even possible to do with the database?

I can see how it might work with static pages, or a non modular development, but how is it possible. I am a total newbie to svn (and even cvs).

I came across this very interesting info: http://sachachua.com/wp/2008/06/11/setting-up-your...

I think it would be awesome if it's possible. And seeing as how you both are so good at "breaking it down", a how-to show or informational episode would be pretty cool!

Thanks,
Sean

Joined: 06/02/2008
More fuel for the fire....

Painless Drupal Revision: http://nicksergeant.com/blog/drupal/painless-drupa...

Small Scale Devel: http://nicksergeant.com/blog/drupal/my-thoughts-sm...

Drupal staging environment: http://drupal.org/node/140430

Database Prefixes: http://groups.drupal.org/node/10116

M.F., your knowledge, explanations, and experience have been major help to me (and you don't even know it). I am really hoping you might be the one to help me solve this puzzle....
Rob... yours too... LOVE the CSS stuff!!
You are like batman and robin (don't make me choose tho)

If anyone can chime in here, please do...

THANKS!!

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
SVN is a great and more expert way

There are a lot of people who setup different types of SVN (and CVS) setups to run their development off of.

You may want to check out http://www.devguard.com/ for some svn hosting.

You might, also, want to check out http://svnbook.red-bean.com/

Now, SVN makes for a great repo but the data is stored in a database and not in files on a server. So, you're checked in location/server file store in the SVN Repo isn't accessible to a web browser.

Typically, what I do is store my work in an SVN Repo and check it out to the locations on my servers I need it for. So, I have my SVN Repo, my dev server, and my production server. I do all the work on my dev server and periodically check in changes to the SVN Repo. When I have a stable and actual release I just check that out (via an update) into my production area which is a checkout of a previous snapshot of the repo. I, also, use tags at each of my snapshots to know which were production releases.

Does that make sense?

Matt Farina
Geeks and God Co-Host
www.innovatingtomorrow.net
www.mattfarina.com

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com

Joined: 06/02/2008
Not Yet

I have not tried any SVN yet, so it's all Greek to me. I totally understand the concept, and the work flow makes sense.... and I really like how you are doing it, I think it would work for my style/needs. It's the actual implementation and use of svn that I am going to start working on :)

THANKS!!

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
Command Line or Program

If you are just getting started use a program like TortoiseSVN or a SVN plugin for your editor of choice. It makes using it a lot easier than trying to manage it from the command line.

Matt Farina
Geeks and God Co-Host
www.innovatingtomorrow.net
www.mattfarina.com

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com

Joined: 06/02/2008
And Aptana

I have them installed, but still having some issues. I started using Aptana Studio and it has some cool SVN capabilities... Trying to understand how to really use the branches, trees, trunks, etc... still think it sounds like a good g&g show :)

Joined: 04/07/2007
If you're first starting out

If you're first starting out with SVN, I would recommend that you do everything in TRUNK for now and just get used to what SVN Update and SVN Commit do.

Next, I recommend you learn how to create "Tags" (which is just Branching your Trunk and NEVER, EVER merging it back).

Finally, I would tackle the whole large topic of branches, merging. That can be confusing and I've seen it really screw people up when they're trying to learn everything at once.

Joined: 01/22/2009
SVN for Core updates

I am a newbie to this side of things. I was under the impression that SVN might be good for updating Drupal Core on production sites. But it sounds like you guys don't really do that. I've got site on a Shared Hosting that has people with SVN Repos on their site. Is this a good idea? Is it even doable? I'm for an easier way of updating sites.