Book a Demo

Author Topic: Multiple SVN repositories  (Read 3043 times)

Piotrek

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Multiple SVN repositories
« on: May 29, 2009, 10:48:28 pm »
Hi,
I wonder if working with two or more separate version control systems is possible?

I’ll write a short background, why this topic is interesting for me. We are working with subcontractors. Both of us, we and subcontractor, are using EA models in our project. Subcontractor sends us a model in XMI format, when it is ready. This didn’t work fine, so we decided to work out different solution.

The idea was to have two SVN repositories: one available only for subcontractors, used by them in everyday work, where they can store working copies of packages, and second SVN repository accessible by both sites, where subcontractor stores official releases of the model.
Unfortunately, when I tried out this solution, I realized it may not be possible. Switching to different versions control (defined in EA) is obvious, but when you switch it back, you got the error message, that the package already exists in the repository.

Is it possible, to persuade EA to work with previous repository, to check out model from it without the need of checking it in before?

Regards,
Piotrek

aap

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Multiple SVN repositories
« Reply #1 on: June 02, 2009, 01:20:28 am »
You could use different sections of the same SVN repository. For example:

1. Subcontractors work in svn:branches/SubContractor/ModelPackages
2. Your model is linked to svn:trunk/ModelPackages
3. When ready for release, do svn-copy into svn:trunk/ModelPackages

The SVN history will contain a full audit trail. Plus you can see what your subcontractor is doing!

You can repeat this model, using a SVN repository per subsystem to build up a complete system.

Regards

Andy

Piotrek

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Multiple SVN repositories
« Reply #2 on: June 02, 2009, 05:32:07 pm »
Thanks a lot. I'm going to try this out today.

Regards,
Piotr