Draven
Draven

Reputation: 1467

Versioning Files - Multiple sites, multiple repositories

Right now we are using Subversion as our versioning system but we are open to switching to Git or whatever else to get this to work.

We only know the basic SVN/Git commands so hopefully somebody can explain how to do what we want in a way that would make sense to us.

The image below shows the workflow we would like, and shows it much better then I could explain it.

Versioning Workflow

My questions are:

Is it possible to do? Is Subversion capable of doing it? Or do I need to switch to Git (or Git-SVN)?

Just looking for some information to get me pointed in the right direction.

EDIT: Will I be able to do this if the second repository (Site #2 - Staging & Production) is on a different remote server than Site #1 (Staging & Production)?

Upvotes: 0

Views: 67

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97282

Is it possible to do?

Yes

Is Subversion capable of doing it?

Yes. Six (mandatory) branches in single Repository in easiest case (multirepository setup is also possible, but wil require more tricks with more headache) + rather complex post-commit hook for deploy task

do I need to switch to Git (or Git-SVN)?

You can switch to any pure DVCS (without bridge to abandoned SVN), although this is not necessarily: just for more natural merges and avoiding "SVN Refactoring Hell". With SVN-background I'll recommend to consider Mercurial, not Git - less cry, less headaches, more real work instead of struggle against difficulties and non-obviousnesses

Upvotes: 1

Related Questions