Book a Demo

Author Topic: Version control questions  (Read 3366 times)

JasonZ

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Version control questions
« on: January 30, 2009, 07:35:49 am »
Hi,

I am working on enabling version control for EA and I noticed a problem (or simply my lack of knowledge) - there seems to not have an easy way to revert back to older version of a package from within EA. The File History dialog has a Retrieve command, but it is only available when the package is checked in and the retrieved package is read only- therefore I cannot retrieve an old version from VC and simply replace the latest version in VC because I need to checkout the latest version first, which will effectively remove the old revision I retrieved. If I have the package checked out then the retrieve command in the File History dialog is simply disabled - is this the intended behavior?

The other question is that can a model stored in EAP be concurrently accessed by multiple users, assuming the EAP is on a network drive and version control is used?

Thanks,

Jason

D. Miller

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Version control questions
« Reply #1 on: January 30, 2009, 09:29:35 pm »
Hi JasonZ,

I can't provide you with the answer to your first question but I can give you some info to the second.

An EAP model can be accessed concurrently as it is just an Access database. Though, I would not recommend it. If you are using VC then you and someone else can both have a private/local EAP and share the data through the VC.

So as you commit a change the other person will pick this up with a 'Get latest' command.

If you must go down the shared model route then it is best to put your model on SQL Server.

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: Version control questions
« Reply #2 on: January 31, 2009, 06:52:14 am »
Actually Sparx says that up to 10 concurrent users are ok on an EAP file.  Only after that do you need to move to a DBMS server.

We have 3 analysts accessing an EAP file stored on a network share, and we have it set up with ClearCase so that we don't step on each others' toes.

It works great.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

Steve Mudford

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Version control questions
« Reply #3 on: February 03, 2009, 11:57:21 pm »
Quote
The File History dialog has a Retrieve command, but it is only available when the package is checked in and the retrieved package is read only- therefore I cannot retrieve an old version from VC and simply replace the latest version in VC because I need to checkout the latest version first, which will effectively remove the old revision I retrieved. If I have the package checked out then the retrieve command in the File History dialog is simply disabled - is this the intended behavior?

This seems to be the intended behaiour, the help file states "The package revision is retrieved in read-only form, enabling you to view the package but not make any changes to the package." I would guess that this is to maintain the consistency of the model.

I am not sure if it possible to roll back a version as I have never had the need to try it -- yet.

Quote
The other question is that can a model stored in EAP be concurrently accessed by multiple users, assuming the EAP is on a network drive and version control is used?

As the other posters stated you can share the EAP file but you do have to watch out for accidentally treading on each others toes. You can also have this set up with version control if necessary, it is described in the help file as the "Single Shared Model".  We tend to work with the "Multiple Private Model" setup as it gives us more control and allows for easy offline working.