MaestroThe UI design product. | Form BuilderPlatform Developer | 17.10 This feature was updated in 17.10.
Journey Maestro allows you to create SCM projects so you can use your favorite version control tools to branch project's source code. If you have a Maestro Standard project, once you are ready use Continuous Integration (CI)Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early. practices on Maestro code base, which consists of templates, forms, components and libraries, you can convert it to the Maestro SCM Project type.
It also works in the opposite direction - if you have a Maestro SCM project, you can migrate it to the Standard project type as the project type doesn't affect the content of forms.
The main problem here is that the SCM project doesn't support multiple versions of any asset types it contains. There must be only a single version number of each form, component, library, and template in the project. It's assumed that the GIT branch it was pulled from identifies what version of the asset this is (or will be deployed as).
Due to the above, we are hitting a big problem in the migration to SCM projects. Generally, there would always be multiple versions of any of the assets in the legacy maestro projects. That's just the way we used to do it. Since the SCM project can have only one version, we need to pick the initial one which will make it to GIT as the first one at the migration time. Picking the right version number of any of the assets is not as of an issue as making sure we pick and migrate only that one while removing (or skipping) all the other ones during the migration process.
Just imagine we are migrating a project with 10 forms where each of them has 30+ versions (same for templates, components, libraries). When creating the SCM project only the most updated version needs to be migrated.
The restriction of a single version only takes us to the next challenge: a new folder structure of the SCM projects. The folder structure of a legacy project downloaded via maestro UI or SCM is different to the folder structure of the scm project type. The version folders were removed decreasing the depth of the folder structure by 1.
There are several ways to migrate an existing Maestro standard project to a SCM one. Let's look at them in details.
As the heading suggest this approach recommends to create an empty SCM project where all necessary assets from the original one will be manually copied to. The coping is done via Maestro dashboard export and import of each asset one by one.
ProsIf you chose to convert an existing legacy project to the SCM project type as it is a few steps must be executed manually. The steps are listed below:
forms/cc-application/1.0.0/* to forms/cc-application/*
.designVersions
node.form-manifest.json
.Next, learn how to use Maestro SCM to implement a Git Feature Branch workflow.