Archi Forum

Archi Plug-ins => coArchi => Topic started by: sean.egan on December 11, 2018, 16:21:05 PM

Title: Sub-folder support for Model Repository plugin
Post by: sean.egan on December 11, 2018, 16:21:05 PM
Hi,

We've been looking at using the Model Repository plugin to store/share models via Git.
It appears that each model needs to have its own git repo.
Is it possible to have more than one model inside a single git repo (in some sub-folders)?
i.e. repo/model1 repo/model2, etc.

Thanks, Sean.
Title: Re: Sub-folder support for Model Repository plugin
Post by: Phil Beauvoir on December 11, 2018, 16:38:01 PM
No, it's not possible for technical and practical reasons. For example, a refresh action ("pull") would update more than one model and the user might then have to manage multiple situations (conflicts, etc) for many models.
Title: Re: Sub-folder support for Model Repository plugin
Post by: sean.egan on December 11, 2018, 16:50:26 PM
OK. I understand those reasons.

Given that at an enterprise level, you would expect to have multiple models. What would be a good way to enable a team access them?
I'm concerned cloning tens of repositories would become cumbersome for architects/developers to manage.

Thanks!
Title: Re: Sub-folder support for Model Repository plugin
Post by: Jean-Baptiste Sarrodie on December 11, 2018, 19:25:50 PM
Hi,

In fact at enterprise level I wouldn't expect multiple models, or at least not that much. Being able to collaborate means that you can maintain a large scope inside one, big, model. In addition, the new version of plugin (https://github.com/archimatetool/archi-modelrepository-plugin/releases/tag/0.4.0_alpha) adds support for branching, meaning that you can work on project related changes in isolation before merging them into the current state architecture branch (ie. master).

Regards,

JB
Title: Re: Sub-folder support for Model Repository plugin
Post by: Hervé on December 11, 2018, 20:48:37 PM
Hi Sean,

May I suggest you give a try to the database plugin that allows to store models in a central SQL database. It does not have branches, but still manage versions of models and all their components. In addition, it also allows to share components (event full views) between models.

To install it, please download the JAR file (https://github.com/archi-contribs/database-plugin/raw/master/v2/org.archicontribs.database_v2.1.7.jar (https://github.com/archi-contribs/database-plugin/raw/master/v2/org.archicontribs.database_v2.1.7.jar) in Archi's "plugins" folder.

You'll find more details in the Github wiki or in the plugin help files that can be accessed through Archi help mechanism.

Best regards
Hervé