Skip to content

Commit 7eb1a8c

Browse files
authored
Merge pull request #28274 from github/repo-sync
Repo sync
2 parents 8f6d9b1 + 1f675f4 commit 7eb1a8c

9 files changed

+272
-83
lines changed

content/migrations/overview/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ versions:
99
children:
1010
- /about-githubs-migration-tooling
1111
- /planning-your-migration-to-github
12+
- /migration-paths-to-github
1213
- /about-locked-repositories
1314
---

content/migrations/overview/migration-paths-to-github.md

Lines changed: 262 additions & 0 deletions
Large diffs are not rendered by default.

content/migrations/overview/planning-your-migration-to-github.md

Lines changed: 1 addition & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -141,88 +141,7 @@ To learn more about expert-led migrations, contact your account representative o
141141

142142
## Deciding what tools to use
143143

144-
Next, determine the best migration tooling for your desired migration fidelity.
145-
146-
### Source, history, and metadata migrations
147-
148-
For some migration paths, we offer specialist tools that allow you to migrate source, history, and metadata. The appropriate tool depends on your migration path.
149-
150-
<table>
151-
<tr>
152-
<th></th>
153-
<th scope="colgroup" colspan="2" style="text-align: center"><b>Destination</b></th>
154-
</tr>
155-
<tr>
156-
<th scope="col"><b>Origin</b></th>
157-
<th scope="col"><b>{% data variables.product.prodname_dotcom_the_website %}, including {% data variables.product.prodname_ghe_cloud %}</b></th>
158-
<th scope="col"><b>{% data variables.product.prodname_ghe_server %}</b></th>
159-
</tr>
160-
<tr>
161-
<th scope="row"><b>Azure DevOps (Cloud only)</b></th>
162-
<td>{% data variables.product.prodname_importer_proper_name %}</td>
163-
<td>None</td>
164-
</tr>
165-
<tr>
166-
<th scope="row"><b>Bitbucket Server</b></th>
167-
<td><ul><li><code>bbs-exporter</code> (expert-led migrations only)</li><li>{% data variables.product.prodname_importer_proper_name %} (public beta)</li></ul></td>
168-
<td><code>bbs-exporter</code> (expert-led migrations only)</td>
169-
</tr>
170-
<tr>
171-
<th scope="row"><b>GitLab (self-managed or SaaS)</b></th>
172-
<td><code>gl-exporter</code> (expert-led migrations only)</td>
173-
<td><code>gl-exporter</code> (expert-led migrations only)</td>
174-
</tr>
175-
<tr>
176-
<th scope="row"><b>{% data variables.product.prodname_dotcom_the_website %}, including {% data variables.product.prodname_ghe_cloud %}</b></th>
177-
<td><ul><li>{% data variables.product.prodname_importer_proper_name %}</li><li>Enterprise Cloud Importer (expert-led migrations only)</li></ul></td>
178-
<td>ghe-migrator</td>
179-
</tr>
180-
<tr>
181-
<th scope="row"><b>{% data variables.product.prodname_ghe_server %}</b></th>
182-
<td><ul><li>{% data variables.product.prodname_importer_proper_name %}</li><li>Enterprise Cloud Importer (expert-led migrations only)</li></ul></td>
183-
<td>ghe-migrator</td>
184-
</tr>
185-
</table>
186-
187-
{% data reusables.enterprise-migration-tool.bbs-release-phase %}
188-
189-
If your migration path is not included in the table, then we don’t offer any specialist tools to migrate source, history and metadata. As an alternative, you could run a "source snapshot" or "source and history" migration.
190-
191-
You can learn more about each tool and its use, review the tool's documentation or contact your expert:
192-
193-
- "[AUTOTITLE]({% ifversion ghae %}/free-pro-team@latest{% endif %}/migrations/using-github-enterprise-importer)"
194-
- "[AUTOTITLE]({% ifversion ghae %}/enterprise-server@latest{% endif %}/migrations/using-ghe-migrator)"
195-
- For tools that are only available with expert-led migrations, contact your account representative or [Expert Services](https://github.com/services/).
196-
197-
### Limitations of specialist tools
198-
199-
Each of our specialist tools has different limitations to consider.
200-
201-
Pay particular attention to restrictions on the repository size. If you need to migrate large repositories, you may need to use a different tool than the one we normally recommend for your migration path.
202-
203-
{% rowheaders %}
204-
205-
| | Tooling available with expert-led migrations | {% data variables.product.prodname_importer_proper_name %} | ghe-migrator |
206-
|---|---|---|---|
207-
Supported sources | <ul><li>Bitbucket Server</li><li>GitLab (self-managed and SaaS)</li></ul> | <ul><li>Azure DevOps</li><li>Bitbucket Server (private beta)</li><li>{% data variables.product.company_short %} products (all)</li></ul> | <ul><li>{% data variables.product.prodname_ghe_cloud %}</li><li>{% data variables.product.prodname_ghe_server %}</li></ul>
208-
Supported targets | {% data variables.product.company_short %} products (all) | {% data variables.product.prodname_dotcom_the_website %}, including {% data variables.product.prodname_ghe_cloud %} | {% data variables.product.prodname_ghe_server %} |
209-
Availability | Only when working with Expert Services or a {% data variables.product.prodname_dotcom %} Partner | Open to all | Open to all
210-
Support | Provided by your Expert Services team member or {% data variables.product.prodname_dotcom %} Partner | Open to all | Open to all
211-
Repository size | < 30GB |< 10GB | Unlimited, but subject to your server’s resources
212-
Data migrated | <ul><li>For Bitbucket, see the [`bbs-exporter`](https://github.github.com/enterprise-migrations/#/./2.2.3.0-export-from-bitbucket-features) documentation</li><li>For GitLab, see the [`gl-exporter`](https://github.github.com/enterprise-migrations/#/./2.2.2.0-export-from-gitlab-features) documentation</li><li>For {% data variables.product.product_name %}, see "[AUTOTITLE]({% ifversion ghae %}/enterprise-server@latest{% endif %}/migrations/using-ghe-migrator/about-ghe-migrator#migrated-data)"</li></ul> | See "[AUTOTITLE]({% ifversion ghae %}/free-pro-team@latest{% endif %}/migrations/using-github-enterprise-importer/understanding-github-enterprise-importer/migration-support-for-github-enterprise-importer)" | See "[AUTOTITLE]({% ifversion ghae %}/enterprise-server@latest{% endif %}/migrations/using-ghe-migrator/about-ghe-migrator#migrated-data)"
213-
214-
{% endrowheaders %}
215-
216-
### Source code and history migrations
217-
218-
If your migration path isn’t listed above, then you won’t be able to complete a source, history, and metadata migration. Instead, you’ll be limited to a source snapshot migration or a source and history migration.
219-
220-
- If your repository is hosted on a code hosting service using Git, Subversion (SVN), Mercurial, or Team Foundation Version Control (TFVC/TFS) and is accessible from the public internet, you can use {% data variables.product.company_short %}-provided tools to migrate your source and history.
221-
- If you're migrating to {% data variables.product.prodname_dotcom_the_website %}, use {% data variables.product.prodname_dotcom %} Importer. For more information, see "[AUTOTITLE]({% ifversion ghes or ghae %}/free-pro-team@latest{% endif %}/migrations/importing-source-code/using-github-importer)."
222-
- If you're migrating to {% data variables.product.prodname_ghe_server %}, use the administrative shell. For more information, see "[AUTOTITLE]({% ifversion not ghes %}/enterprise-server@latest{% endif %}/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-from-other-version-control-systems-with-the-administrative-shell)."
223-
- If your repository uses SVN for version control and is not accessible from the public internet, you can use the `git svn` command to convert your repository to Git, then push the repository to {% data variables.product.prodname_dotcom %}. For more information, see [Migrating to Git](https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git) in the "Pro Git" book.
224-
- If your repository uses Mercurial for version control and is not accessible from the public internet, you can use `hg-fast-export` to convert your repository to Git, then push the repository to {% data variables.product.prodname_dotcom %}. For more information, see [Migrating to Git](https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git) in the "Pro Git" book.
225-
- If your repository uses Team Foundation Version Control (TFVC) for version control and is not accessible from the public internet, you can use `git-tfs` to convert your repository to Git, then push the repository to {% data variables.product.prodname_dotcom %}. For more information, see the [git-tfs/git-tfs](https://github.com/git-tfs/git-tfs) repository.
144+
{% data reusables.migrations.about-migration-paths %} For more information, see "[AUTOTITLE](/migrations/overview/migration-paths-to-github)."
226145

227146
## Designing your organization structure for the migration destination
228147

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
To plan for your migration, consider the destination and source. These considerations determine the path for your migration.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
If youre moving between {% data variables.product.company_short %} products, such as from {% data variables.product.prodname_ghe_server %} to {% data variables.product.prodname_ghe_cloud %}, or from another code hosting platform, such as Bitbucket Server or GitLab, to {% data variables.product.company_short %}, youll want to bring your work with you: your code, the code's history, and all of your past conversations and collaboration.
1+
If you're moving between {% data variables.product.company_short %} products, such as from {% data variables.product.prodname_ghe_server %} to {% data variables.product.prodname_ghe_cloud %}, or from another code hosting platform, such as Bitbucket Server or GitLab, to {% data variables.product.company_short %}, you'll want to bring your work with you: your code, the code's history, and all of your past conversations and collaboration.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
For complex repositories larger than around 5 GB, you may need to use `ghe-migrator` and Enterprise Cloud Importer instead. Enterprise Cloud Importer is only available for expert-led migrations.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
If an expert-led migration isn't right for you, you can perform a "source and history" migration of the affected repositories instead. For more information, see "[Any Git repository to {% data variables.product.prodname_ghe_server %}](#any-git-repository-to-github-enterprise-server)."
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
If an expert-led migration isn't right for you, you can perform a "source and history" migration of the affected repositories instead. For more information, see "[Migrations from any Git repository to {% data variables.product.prodname_dotcom_the_website %}](#any-git-repository-to-githubcom)."

data/variables/product.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ prodname_student_leader_program_singular: 'GitHub Campus Expert'
6060
prodname_octernships: 'GitHub Octernships'
6161
prodname_octernship_singular: 'GitHub Octernship'
6262

63+
# GitHub Expert Services
64+
prodname_expert_services: 'GitHub Expert Services'
65+
6366
# GitHub CLI
6467
prodname_cli: 'GitHub CLI'
6568

0 commit comments

Comments
 (0)