Book a Demo

Author Topic: repositories and version control process question  (Read 3379 times)

david.rioux

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
repositories and version control process question
« on: July 12, 2005, 10:28:11 am »
I have reviewed some threads concerning how best to share models and repositories, but I tend to agree with some previous comments that the documentation provides many options and caveats without really providing a best approach for a given scenario.

Therefore, I would like to solicit comments on how best to set up EA for use within a small project team with relatively low concurrency (especially within packages - use cases would likely be the responsibility of one person, data models another, and class/sequence models yet another person).  

Setting up multiple database repositories to support multiple models (please correct me if my reading of the docs in this is wrong) seems overkill, since we work on smaller projects that have little to do with each other and so should not be lumped into the same model/repository.

The XMI Import/Export seems to facilitate team members working in isolation and then merging their work in a manner amenable to version control systems, but this seems inconvenient for business analyst types who just want to open a project, do some work, and save it someplace.

The SCC/CVS version control integration would seem to suffice in a small project team environment with low concurrency in terms of work going on within a given package.  It seems as though retrieving a project from source control, doing some work, and checking it back in is relatively painless from EA?  

So, to avoid the trial and error as much as possible, any feedback on what would work most efficiently to support a small project team on small software development projects from end to end (requirements, analysis, planning, developing, stabilizing, deploying...) in terms of setting up EA with a repository and/or version control and/or shared/replicas/etc. would be most appreciated.

DR

lex_cz

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: repositories and version control process quest
« Reply #1 on: July 13, 2005, 01:07:32 am »
Hi David,
several days ago I managed to set up EA to work with CVS on the Windows platform. Here is how I did it.

1. I set up a new CVS repository on the Linux server
2. I created a new module in this repository called "project"
3. Each Windows client has the TortoiseCVS (CVS with GUI) application installed
4. Using TortoiseCVS I checked out the "project"
module on local hard drive to c:\ea\project
5. I created new project.eap (c:\ea\project\project.eap)
6. Under EA i created new "Version Control Configuration" where "Local Project Path=c:\ea\project"
7. I assigned to each package in the EA project that is under "Version Control" the configuration from point 6
8. Now if everything works, you will see the "Check in, Check out" functions in the package menu. So every user must "Check out", make the changes, "Check in"
9. Others can then use the "Get All latest" function to refresh packages from CVS

Note: EA supports only the :pserver: method to connect to CVS ! We are using here the :ext: or :ssh: methods which are more secure. To make this work you must override CVS_RSH enviroment variable on each Windows client or else EA hangs (I posted it as bug to Sparx).

david.rioux

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: repositories and version control process quest
« Reply #2 on: July 13, 2005, 05:53:07 am »
Hi:

Thanks for the reply.
You didn't mention making any use of a database repository for your model(s) - so I take it you're using CVS / version control only and picking the packages that you need to place in version control for your projects?

I'm hoping this will suffice - it seems more straightforward than adding the database repository to the mix...

Any thoughts on this would be appreciated.

DR

lex_cz

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: repositories and version control process quest
« Reply #3 on: July 13, 2005, 11:54:23 pm »
Hi,
the EAP file is not in CVS if this is what you mean with database repository, only the packages.

Martin