archimatetool / archi-modelrepository-plugin

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

[Feature Request] Commit specific diagrams / objects #98

Open VinceAxe opened 5 years ago

VinceAxe commented 5 years ago

It would be nice to select the content to commit, instead of what is saved.

Use Case :

jbsarrodie commented 5 years ago

That would be nice, but this can't be done (at least not without lot's of work) because committing a diagram also requires to commit changes done on objects that appear in the diagram.

VinceAxe commented 5 years ago

I don't know how Archi works on that side : I have two diagrams with an object I change the name of the object in the model tree What does the git-diff shows ?

jbsarrodie commented 5 years ago

I change the name of the object in the model tree What does the git-diff shows ?

a single file change for the object ?

Yes

I change the name of the object through a diagram same question, same answer ?

Same answer ;-)

jbsarrodie commented 5 years ago

At the end, each archimate concept (element and relationship), each folder and each view ends up in a single XML file (one per concept, folder or view).

For more details, see https://github.com/archi-contribs/archi-grafico-plugin/wiki/GRAFICO-explained