Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: f on March 27, 2019, 06:39:59 pm

Title: Check In/Out if nothing has changed on the model
Post by: f on March 27, 2019, 06:39:59 pm
I noticed "Package Control --> Check In" commits to SVN also if nothing has changed. It will change some internal timestamps then. How can I prevent a commit in that case?
Title: Re: Check In/Out if nothing has changed on the model
Post by: Geert Bellekens on March 27, 2019, 07:13:08 pm
I don't think you can.

Geert
Title: Re: Check In/Out if nothing has changed on the model
Post by: f on March 27, 2019, 09:26:00 pm
The SVN support of the package control urgently needs an improvement. It's already hard for me to convince developers to use UML at all, but such basic technical difficulties in daily work makes it even harder for them to accept Sparx EA.
Title: Re: Check In/Out if nothing has changed on the model
Post by: Geert Bellekens on March 27, 2019, 10:00:23 pm
It's already hard for me to convince developers to use UML at all
Maybe you shouldn't.
I'm inclined to agree with your developers. It's easier to write code directly then model UML and generate code from it.

I'm all for modelling when it's done on another level of abstraction, such as functional or business analysis.
But unless you can do 100% code generation, and it there is an objective benefit to doing it this way, I'm not sure if modelling code (instead of writing code) is really such a good idea.

Geert
Title: Re: Check In/Out if nothing has changed on the model
Post by: qwerty on March 27, 2019, 10:46:18 pm
I agree with Geert. Modeling and documenting with UML is superb. But getting code and model in synch is still a PITA.

q.
Title: Re: Check In/Out if nothing has changed on the model
Post by: f on March 28, 2019, 12:22:59 am
We do not generate code from the model. IMHO, that will never work.

But in addition to doxygen, which is good at the level of being a dictionary for operations and attributes, UML modelling is very good above that, on a higher level of abstraction (explaining context and interaction of modules and classes).

As the C4 approach of Simon Brown says, use UML to
Title: Re: Check In/Out if nothing has changed on the model
Post by: PeterHeintz on March 28, 2019, 10:12:14 pm
Yes, using SVN is a kind of overhead.
In our environment we typically use just MS-SQL DB without an external version control system as long as possible.
If we really need to compare or revert old stuff with new stuff, we use the Package Baseline feature. Later maybe when the stuff goes to maintenance we switch to SVN.
This does not mean that you should do the same, but you should not just handle model elements as your users handle source code without thinking.