Skip to content

Updated migration page for 10.24 #9592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If your main line is Studio Pro version 9.24.28 or above and your team role is S

## When to Migrate from SVN to Git

Mendix recommends to combine a migration to Git with an upgrade to Mendix 10, as the advantages of Git in Mendix 9 are limited. For more details on this recommendation, see the [Recommendation on Avoiding Git Issues](/refguide/troubleshoot-repository-size/#recommendation) section in *Troubleshooting Repository Size*.
Mendix recommends to combine a migration to Git with an upgrade to Studio Pro version 10.24 LTS, as the advantages of Git in Studio Pro version 9 are limited. For more details on this recommendation, see the [Recommendation on Avoiding Git Issues](/refguide/troubleshoot-repository-size/#recommendation) section in *Troubleshooting Repository Size*.

## Apps Eligible for Migration

Expand All @@ -43,7 +43,15 @@ In addition to the hard criteria mentioned above, a check is performed to determ

#### Eligible for Migrating With History

If your repository is eligible for migrating with full history, you can choose whether to retain your history during migration or not. For the smoothest experience after the migration, Mendix advises to migrate without history.
If your repository is eligible for migrating with full history, you can choose whether to retain your history during migration or not.

{{% alert color="info" %}}

For the smoothest experience after the migration, Mendix advises to [migrate without history](#without-history).

{{% /alert %}}

Read more about the process of [migrating without history](#with-history).

#### Eligible for Migrating Without History

Expand All @@ -55,6 +63,8 @@ You will receive a full backup of your SVN repository after completing the migra

{{% /alert %}}

Read more about the process of [migrating without history](#without-history).

#### Not Eligible for Migration

If your app is not eligible for migration the reason(s) will be listed on a page. To continue the process, resolve these reasons and try again.
Expand All @@ -64,7 +74,7 @@ If your app is not eligible for migration the reason(s) will be listed on a page
When the size of the *.mpr* file exceeds the threshold, migration is blocked to prevent rapid repository growth after migrating to Git. To get your app approved for migration, you have to agree on the following steps with Support or your Customer Success Manager:

1. [Migrate without history](#without-history). This requires converging all branches which you want to retain.
2. Update your app to Studio Pro version 10.18 or above, and convert to [MPRv2](/refguide/troubleshoot-repository-size/#mprv2).
2. Update your app to Studio Pro version 10.24 LTS, to automatically convert to [MPRv2](/refguide/troubleshoot-repository-size/#mprv2).
3. Execute a [Git cleanup](/refguide/troubleshoot-repository-size/#cleanup-tool).

The first two steps need to be executed within a short timeframe. The last step is technically optional, but is strongly recommended for the best experience.
Expand Down Expand Up @@ -142,11 +152,17 @@ Previously deleted SVN branches will not be mapped to Git branches by the migrat

## Steps After Migration

### Developers

After migration, existing local copies are no longer linked to a working version control system. To be able to work on your app and store your changes in the version control system, you need to check out (re-download) the app from Team Server. Do the following:

1. Open Studio Pro, then select the app that was migrated to Git. You can identify it by its Git icon. Click **Open** in Studio Pro to download the Git version of your app. Once this is completed you can make changes and store them in version control.
2. Remove previous local copies of the app to avoid working on the wrong app version.

### Upgrade Planning

To prevent issues with rapid repository growth, we strongly recommend to upgrade to Studio Pro version 10.24 LTS as soon as possible, which will automatically convert your app to [MPRv2](/refguide10/troubleshoot-repository-size/#mprv2-format).

## If Migration Failed

If the migration process failed, all changes are rolled back. This means access to SVN is restored and you can keep developing your app.
Expand Down