Author Topic: Sub-folder support for Model Repository plugin  (Read 44 times)

sean.egan

  • Newbie
  • *
  • Posts: 2
Sub-folder support for Model Repository plugin
« 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.

Phil Beauvoir

  • Archi Master
  • Hero Member
  • *****
  • Posts: 922
    • Archi
Re: Sub-folder support for Model Repository plugin
« Reply #1 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.
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

sean.egan

  • Newbie
  • *
  • Posts: 2
Re: Sub-folder support for Model Repository plugin
« Reply #2 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!

Jean-Baptiste Sarrodie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 414
  • Archi Evangelist and Contributor. Visionary.
    • About me...
Re: Sub-folder support for Model Repository plugin
« Reply #3 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 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
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

Hervé

  • Hero Member
  • *****
  • Posts: 369
Re: Sub-folder support for Model Repository plugin
« Reply #4 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 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é