archimatetool / archi-modelrepository-plugin

coArchi - a plug-in to share and collaborate on Archi models.
153 stars 52 forks source link

Project is seen modified without any modification [Collaboration plugin v0.5.0] #91

Closed rchevallier closed 5 years ago

rchevallier commented 5 years ago

After importing brand new a remote model inside archi (plugin v0.5.0, archi v4.4 beta2), the collaboration thinks there are modification. Trying to do a simple refresh makes it ask to commit changes before although there were absolutely no modification.

Using "Abort uncommitted changes" action doesn't make any difference.

System: Windows 10

When looking with git, there is an empty change for the model.xml file

~/workspace/models/gluttony (master)$ git status On branch master Your branch is up-to-date with 'origin/master'.

Changes to be committed: (use "git reset HEAD ..." to unstage)

    modified:   model/folder.xml

~/workspace/models/gluttony (master)$ git diff model/folder.xml

~/workspace/models/gluttony (master)$

Phillipus commented 5 years ago

This will be because you are using Archi 4.4. The metamodel version number changes inside of model/folder.xml version="4.4.0"

rchevallier commented 5 years ago

Indeed. Any functional impact if an older version of archi is modifiying the model or everyone working on the model must have the same version?

Phillipus commented 5 years ago

Any functional impact if an older version of archi is modifiying the model or everyone working on the model must have the same version?

No. It's just a nuisance. But, having said that, somebody with an older version will also be asked to commit...as it will change back again.

When the Archi metamodel is updated in a new version, the metamodel version attribute is updated (which may or may not be the same version number as Archi itself). So this shows up as something that needs to be committed.

I guess we need a way to indicate this to the user somehow. Needs some thought.

jbsarrodie commented 5 years ago

Needs some thought.

I already thought about it and have some ideas for future features... I just need to find some funding for that :-(

Phillipus commented 5 years ago

See #92