Book a Demo

Author Topic: Shared model on DBMS + SVN  (Read 2649 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Shared model on DBMS + SVN
« on: October 03, 2012, 06:32:31 pm »
Hi,

I'm testing a project that's shared via a DBMS (e.g. MySQL) + SVN (to have a lock on packages, and to allow Undo Checkouts).

I have 2 questions :
1- I can't work offline since there's no EAP. So would it work if I create a local EAP and associate it with the SVN existing VC settings? (e.g. create a blank EAP, associate with the existing VC setting and run a get all latest on the XMI) >> this way I would be able to run a checkout on a package before disconnecting from the network, and work offline

2- As the number of XMI files grows, it tends to take a lot of time committing files onto SVN or running a Checkout Branch >> is there any process/hint to optimise this? Would other VC systems like Perforce or other be more suitable?

thanks,
Guillaume
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Shared model on DBMS + SVN
« Reply #1 on: October 04, 2012, 02:24:21 am »
Hi Guillaume,

Working offline / without connection to DBMS
Do the following:
1. Create an empty EAP-Project
2. Tools, Data Management, Project Transfer, Copy DBMS to *.eap file
3. In Version Control Settings set this project as private
4. I would recommend the XML Setting 'Create Placeholders for missing External References'
5. If you are working in a slow environment you should deploy a current *.eap file from time to time (if get all latest takes to long), see step 1+2.

With 'Get all Latest' or by carefully thinking and only updating the referenced packages you make sure that referenced packages are up to date. The current Checked Out package is always up to date.

We use this procedure to allow remote users with a very slow VPN connection to work. The problems are updated commonly used packages which are sometimes outdated for a longer period. Because of EA "External Reference" Handling in 9. this works.

Number of files checked out
If you often have to check out a lot of files it looks as the project and the version controlled packages are not well organized. I don't think that an other VC tool would save the situation. This is mostly a question of Architecture.

Kind regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)