Skip to main content
This guide explains how to migrate a repository from Azure DevOps to AL-Go for GitHub without including the commit history. This approach is simpler and faster, making it ideal when historical commits aren’t needed.
This migration process leaves your existing Azure DevOps repository untouched. You can continue working in Azure DevOps if needed while testing AL-Go for GitHub.

Overview

This migration method uses VS Code and File Explorer to copy files from your Azure DevOps repository to a new AL-Go for GitHub repository. It’s similar to setting up CI/CD for an existing app, but uses a more manual file transfer approach.

Prerequisites

Before starting the migration, ensure you have:
  • Access to your Azure DevOps repository
  • A GitHub account
  • VS Code installed on your PC
  • Git credentials configured for both Azure DevOps and GitHub

Migration Process

1

Clone Your Azure DevOps Repository

Navigate to your Azure DevOps repository and click the Clone button.Azure DevOps CloneClone the repository to your PC by selecting Clone in VS Code (or use your preferred cloning method). Once cloned, open the files in your file explorer.Files in Explorer
2

Create a New GitHub Repository from Template

Choose the appropriate AL-Go template for your project:

Per-Tenant Extension

Use this template for Per-Tenant Extensions (PTE)

AppSource App

Use this template for AppSource applications
Click Use this template, select Create a new repository, and choose:
  • Repository owner
  • Repository name
  • Public or private visibility
Click Create repository from template to create your new repository.Create Repository
3

Clone the New GitHub Repository

In your new GitHub repository, click the Code button (shown as <>) and copy the git URL.Clone GitHub RepoIn VS Code:
  1. Press Ctrl+Shift+P
  2. Select Git Clone
  3. Paste the git URL
  4. Select a location and clone the repository
  5. Open the cloned repository in VS Code
4

Copy Your Application Files

Return to the File Explorer window containing your cloned Azure DevOps files.
Do NOT copy the following folders:
  • .git
  • .github
  • .azureDevOps
  • .pipelines
  • scripts
These contain Azure DevOps-specific configurations that won’t be used in AL-Go for GitHub.
Select all folders containing:
  • Apps
  • Test apps
  • Other necessary files
Drag these files to VS Code and select Copy Folders.Copy Files
5

Configure AL-Go Settings

Modify the necessary settings for your application. Common settings to configure:

Repository Settings

Typical settings you may need to modify include:

Code Analysis Settings

AppSource-Specific Settings

  • appSourceMandatoryAffixes - Define required affixes (documentation)

Required Secrets

Secrets must be created in your GitHub repository settings under Settings > Secrets and variables > Actions.
For AppSource Apps:
  • LicenseFileUrl - Secure direct download URL to your license file
For Code Signing (Optional):
  • CodeSignCertificateUrl - Secure direct download URL to your PFX certificate
  • CodeSignCertificatePassword - Password for the PFX certificate
6

Commit and Push Your Changes

In VS Code’s Source Control area:
  1. Click the + icon to Add all changed files to staging
  2. Enter a commit message (e.g., “Migrate from Azure DevOps”)
  3. Click Commit
  4. Click Sync Changes to push to GitHub
Commit Changes
7

Verify the Migration

Navigate back to your GitHub repository to verify your files have been uploaded.Files Uploaded
8

Monitor the CI/CD Workflow

Click Actions to see that the CI/CD workflow was automatically triggered by your commit.CI/CD WorkflowOpen the running workflow to monitor status and view the summary. Wait for the build to complete.Workflow Success
9

Review Build Artifacts and Test Results

Once the workflow completes, scroll down to view:
  • Artifacts - Built app files ready for deployment
  • Test Results - Automated test execution results
Test Results
10

Verify Repository History

Navigate to Code and click Commits to see the repository history.
Since this migration method doesn’t preserve history, you’ll only see commits made after the migration.
Commit History

Next Steps

After successfully migrating your repository:

Configure Environments

Set up deployment environments for your applications

Set Up Continuous Deployment

Configure automatic deployments to your environments

Add Collaborators

Invite team members to your GitHub repository

Explore AL-Go Actions

Learn about available workflows and automation

When to Use This Method

This migration approach is ideal when:
  • You don’t need to preserve commit history
  • You want a clean start in GitHub
  • You’re migrating a small to medium-sized project
  • You want the simplest migration process
If you need to preserve your full commit history, use the migration with history guide instead.

Troubleshooting

Workflow Fails to Start

If the CI/CD workflow doesn’t automatically trigger:
  1. Go to Settings > Actions > General
  2. Select Allow all actions and reusable workflows
  3. Click Save
  4. Manually trigger the workflow from the Actions tab

Build Errors

If the build fails:
  1. Check that appFolders and testFolders settings are correct
  2. Verify that all required secrets are configured
  3. Review the workflow logs for specific error messages
  4. Ensure your app.json files are valid

Missing Dependencies

If dependencies are missing:
  1. Ensure all dependency apps are included in your repository
  2. Configure dependency download settings if using external dependencies
  3. Check that app dependencies are correctly specified in app.json files

Build docs developers (and LLMs) love