Book a Demo

Author Topic: Git support  (Read 26494 times)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Git support
« Reply #15 on: February 09, 2017, 08:41:41 am »
I need git support and I can handle "lack of locks".
Then just use controlled packages and manually commit to git. The main thing that the version control integration in EA offers is UI integration with the locks provided by version control.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Git support
« Reply #16 on: February 09, 2017, 09:00:47 am »
With a large grain of salt: do NOT use git's merge. Except you like cleaning up your shattered model afterwards.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Git support
« Reply #17 on: February 09, 2017, 11:15:24 am »
With a large grain of salt: do NOT use git's merge. Except you like cleaning up your shattered model afterwards.

q.
As I have said many times. Version control of these types of models is a "chimera".

Models are NOT source code.

As was said (I think) on "The Sopranos", "forgeddaboudit".

Taking snapshots by means of the "Transfer project" functionality has worked for us for over two years at an enterprise scale.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Git support
« Reply #18 on: February 09, 2017, 11:27:08 am »
>> As was said (I think) on "The Sopranos", "forgeddaboudit".

No, it was '<something> Blue Eyes' with Hugh Grant, but I'll go with the intent.
Best Regards, Roy

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Git support
« Reply #19 on: February 09, 2017, 11:58:45 am »
As I have said many times. Version control of these types of models is a "chimera".

Models are NOT source code.

That's true, but I think you'll find that the differences aren't all that great. Mainly the difficulty merging a model comes down to the syntax that is used to represent it in a text form. If a syntax similar to source code was used to serialize a model, existing merge tools would likely find it much easier to work with. Just by using stable ids instead of names to reference things, you would actually solve a lot of problems caused by existing merge. (And if the tools around it were able to display the name instead, you wouldn't be losing human readability)

I'd go so far as to say that code is actually a definition of a model. Although I won't say that existing code models provide easy or one to one mappings between visual models.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Git support
« Reply #20 on: February 09, 2017, 05:59:03 pm »
As I have said many times. Version control of these types of models is a "chimera".

Models are NOT source code.

That's true, but I think you'll find that the differences aren't all that great. Mainly the difficulty merging a model comes down to the syntax that is used to represent it in a text form. If a syntax similar to source code was used to serialize a model, existing merge tools would likely find it much easier to work with. Just by using stable ids instead of names to reference things, you would actually solve a lot of problems caused by existing merge. (And if the tools around it were able to display the name instead, you wouldn't be losing human readability)

I'd go so far as to say that code is actually a definition of a model. Although I won't say that existing code models provide easy or one to one mappings between visual models.
Yes, they aren't that far apart, but it's the differences that are crucial here, in my view.  If you have a single project model in a simple repository you can use version control, because changes are local and pretty coherent.  Indeed since (as you (and I) say) code is the rendering of a model, it's the nature of source code that allows you to use version control.

For enterprise-wide, multi-profile repositories, ALL BETS ARE OFF...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!