Skip to content

Commit 3b789f9

Browse files
committed
On-premises Git screenshot update + Subversion removal
1 parent dd35510 commit 3b789f9

24 files changed

+42
-62
lines changed

content/en/docs/refguide/version-control/on-premises-git.md

Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,7 @@ For the previous checkout method do the following:
148148
1. Open from previous checkout.
149149
2. Enable the **Private server** radio button and enter the link to the repository.
150150
3. Click **Connect**.
151-
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open (shown here with two previous checkouts):
152-
153-
{{< figure src="/attachments/refguide/version-control/on-premises-git/open-app-dialog.png" alt="Open App dialog" class="no-border" >}}
151+
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open.
154152

155153
For the previous local disk method do the following:
156154

@@ -169,25 +167,31 @@ The repository has to be completely empty (this includes the `README.md` and `.g
169167

170168
To upload your app, do the following:
171169

172-
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**:
173-
174-
{{< figure src="/attachments/refguide/version-control/on-premises-git/upload-to-vc-menu.png" alt="Upload to Version Control Server Menu" class="no-border" >}}
175-
170+
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**.
176171
2. In the **Upload to Version Control Server** dialog box, select **Private server**.
177-
3. Select **Git** as the private server type (if you have both **Subversion** and **Git** enabled in the **Preferences Form**).
178-
4. Enter the link to the repository you want to upload this app to and click **OK**:
172+
3. Enter the link to the repository you want to upload this app to and click **OK**:
179173

180174
{{< figure src="/attachments/refguide/version-control/on-premises-git/upload-to-vc-server.png" alt="Upload to Version Control Server dialog" class="no-border" >}}
181175
It might ask you to sign into the server, depending on whether you have previously signed in and choose to stay logged in.
182-
5. You can see the upload process in the **Upload Project to Team Server** pop-up window.
176+
4. You can see the upload process in the **Upload Project to Team Server** pop-up window.
183177

184178
The app is uploaded successfully. You can check on your private server and see that the app is now on the selected repository:
185179

186180
{{< figure src="/attachments/refguide/version-control/on-premises-git/project-uploaded-confirmation.png" alt="App Uploaded confirmation window" class="no-border" >}}
187181

188-
### Moving a Subversion App to Git
182+
### Moving an Existing Versioned App to Private Git
183+
184+
If you already have an existing versioned app that you would like to upload to your Git private server instead, you can fully migrate the history or start with a fresh repository.
185+
186+
#### Retaining History
187+
188+
To migrate from on Git server to another private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
189+
190+
After migration, download a fresh clone in Studio Pro from your private Git server.
191+
192+
{{% alert color="warning" %}} If you are migrating from Mendix Team Server, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro when redirecting an existing clone by updating the `config` file in the `.git` folder. {{% /alert %}}
189193

190-
If you already have an existing versioned app (with Subversion) that you would like to upload to your Git private server instead, you can export it, then re-import it, and uploading it to your server.
194+
#### Starting with a Fresh Repository
191195

192196
{{% alert color="info" %}}
193197
This creates an unversioned app, based on the branch you are working on in Studio Pro. This means that you will not get version history or other branches in the Git repo.
@@ -202,37 +206,23 @@ Follow the steps below:
202206

203207
{{< figure src="/attachments/refguide/version-control/on-premises-git/export-project-package-dialog.png" alt="Export App Package dialog" class="no-border" >}}
204208

205-
3. The **Progress** pop-up window appears, and once it is completed, you can close the app in **Studio Pro**:
206-
207-
{{< figure src="/attachments/refguide/version-control/on-premises-git/progress-dialog.png" alt="Progress dialog" class="no-border" >}}
208-
209-
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**:
210-
211-
{{< figure src="/attachments/refguide/version-control/on-premises-git/import-project-package-menu.png" alt="Import App Package menu" width="250" class="no-border" >}}
209+
3. The **Progress** pop-up window appears, and once it is completed, you can close the app in **Studio Pro**.
212210

211+
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**.
213212
5. Once the file browser dialog box is open, navigate to the location you save the *.mpk* file during the export process.
214213
6. In the **Import App Package** dialog box, select **Private server** option in the **Where should we store your App?** section.
215-
7. In the **Private Server Type** option, select **Git** (if you have both **Subversion** and **Git** enabled in the **Preferences** form).
216-
8. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
214+
7. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
217215

218216
{{< figure src="/attachments/refguide/version-control/on-premises-git/import-project-package-git-dialog.png" alt="Import Git Package menu" class="no-border" >}}
219217

220-
9. Click **OK**.
218+
8. Click **OK**.
221219

222-
After the import process is completed, your previous Subversion app will be now versioned using Git.
220+
After the import process is completed, your previously version controlled app will be now versioned using Private Git.
223221

224222
Note that your previous app still exists, **Studio Pro** will simply make an unversioned copy and upload it to your private Git server. So, in your **Recent Apps** list, you will still see both:
225223

226224
{{< figure src="/attachments/refguide/version-control/on-premises-git/recent-apps.png" alt="Recent Apps form" class="no-border" >}}
227225

228-
### Moving from Team Server to a Private Git Server
229-
230-
To migrate from Mendix Team Server to a private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
231-
232-
After migration, download a fresh clone in Studio Pro from your private Git server.
233-
234-
{{% alert color="warning" %}} When redirecting an existing clone by updating the `config` file in the `.git` folder, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro. {{% /alert %}}
235-
236226
## Read More
237227

238228
* [Version Control Reference Guide](/refguide/version-control/)

content/en/docs/refguide10/version-control/on-premises-git.md

Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,7 @@ For the previous checkout method do the following:
149149
1. Open from previous checkout.
150150
2. Enable the **Private server** radio button and enter the link to the repository.
151151
3. Click **Connect**.
152-
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open (shown here with two previous checkouts):
153-
154-
{{< figure src="/attachments/refguide10/version-control/on-premises-git/open-app-dialog.png" alt="Open App dialog" class="no-border" >}}
152+
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open.
155153

156154
For the previous local disk method do the following:
157155

@@ -170,25 +168,31 @@ The repository has to be completely empty (this includes the `README.md` and `.g
170168

171169
To upload your app, do the following:
172170

173-
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**:
174-
175-
{{< figure src="/attachments/refguide10/version-control/on-premises-git/upload-to-vc-menu.png" alt="Upload to Version Control Server Menu" class="no-border" >}}
176-
171+
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**.
177172
2. In the **Upload to Version Control Server** dialog box, select **Private server**.
178-
3. Select **Git** as the private server type (if you have both **Subversion** and **Git** enabled in the **Preferences Form**).
179-
4. Enter the link to the repository you want to upload this app to and click **OK**:
173+
3. Enter the link to the repository you want to upload this app to and click **OK**:
180174

181175
{{< figure src="/attachments/refguide10/version-control/on-premises-git/upload-to-vc-server.png" alt="Upload to Version Control Server dialog" class="no-border" >}}
182176
It might ask you to sign into the server, depending on whether you have previously signed in and choose to stay logged in.
183-
5. You can see the upload process in the **Upload Project to Team Server** pop-up window.
177+
4. You can see the upload process in the **Upload Project to Team Server** pop-up window.
184178

185179
The app is uploaded successfully. You can check on your private server and see that the app is now on the selected repository:
186180

187181
{{< figure src="/attachments/refguide10/version-control/on-premises-git/project-uploaded-confirmation.png" alt="App Uploaded confirmation window" class="no-border" >}}
188182

189-
### Moving a Subversion App to Git
183+
### Moving an Existing Versioned App to Private Git
184+
185+
If you already have an existing versioned app that you would like to upload to your Git private server instead, you can fully migrate the history or start with a fresh repository.
186+
187+
#### Retaining History
188+
189+
To migrate from on Git server to another private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
190+
191+
After migration, download a fresh clone in Studio Pro from your private Git server.
192+
193+
{{% alert color="warning" %}} If you are migrating from Mendix Team Server, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro when redirecting an existing clone by updating the `config` file in the `.git` folder. {{% /alert %}}
190194

191-
If you already have an existing versioned app (with Subversion) that you would like to upload to your Git private server instead, you can export it, then re-import it, and uploading it to your server.
195+
#### Starting with a Fresh Repository
192196

193197
{{% alert color="info" %}}
194198
This creates an unversioned app, based on the branch you are working on in Studio Pro. This means that you will not get version history or other branches in the Git repo.
@@ -203,37 +207,23 @@ Follow the steps below:
203207

204208
{{< figure src="/attachments/refguide10/version-control/on-premises-git/export-project-package-dialog.png" alt="Export App Package dialog" class="no-border" >}}
205209

206-
3. The **Progress** pop-up window appears, and once it is completed, you can close the app in **Studio Pro**:
207-
208-
{{< figure src="/attachments/refguide10/version-control/on-premises-git/progress-dialog.png" alt="Progress dialog" class="no-border" >}}
209-
210-
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**:
211-
212-
{{< figure src="/attachments/refguide10/version-control/on-premises-git/import-project-package-menu.png" alt="Import App Package menu" width="250" class="no-border" >}}
210+
3. The **Progress** pop-up window appears, and once it is completed, you can close the app in **Studio Pro**.
213211

212+
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**.
214213
5. Once the file browser dialog box is open, navigate to the location you save the *.mpk* file during the export process.
215214
6. In the **Import App Package** dialog box, select **Private server** option in the **Where should we store your App?** section.
216-
7. In the **Private Server Type** option, select **Git** (if you have both **Subversion** and **Git** enabled in the **Preferences** form).
217-
8. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
215+
7. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
218216

219217
{{< figure src="/attachments/refguide10/version-control/on-premises-git/import-project-package-git-dialog.png" alt="Import Git Package menu" class="no-border" >}}
220218

221-
9. Click **OK**.
219+
8. Click **OK**.
222220

223-
After the import process is completed, your previous Subversion app will be now versioned using Git.
221+
After the import process is completed, your previously version controlled app will be now versioned using Private Git.
224222

225223
Note that your previous app still exists, **Studio Pro** will simply make an unversioned copy and upload it to your private Git server. So, in your **Recent Apps** list, you will still see both:
226224

227225
{{< figure src="/attachments/refguide10/version-control/on-premises-git/recent-apps.png" alt="Recent Apps form" class="no-border" >}}
228226

229-
### Moving from Team Server to a Private Git Server
230-
231-
To migrate from Mendix Team Server to a private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
232-
233-
After migration, download a fresh clone in Studio Pro from your private Git server.
234-
235-
{{% alert color="warning" %}} When redirecting an existing clone by updating the `config` file in the `.git` folder, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro. {{% /alert %}}
236-
237227
## Read More
238228

239229
* [Version Control Reference Guide](/refguide10/version-control/)
Loading
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading

0 commit comments

Comments
 (0)