aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/development/migrations.en-us.md
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-07-10 09:46:08 +0800
committerGitHub <noreply@github.com>2024-07-10 01:46:08 +0000
commitaf1f0dfcc6366c01ee05098c34ca8457a0248f70 (patch)
tree17da03206cd974b4321e9bfe449cc3efa6014d25 /docs/content/development/migrations.en-us.md
parentd6f8a60b6579c9a152d930d45e26eb91be685f0a (diff)
downloadgitea-af1f0dfcc6366c01ee05098c34ca8457a0248f70.tar.gz
gitea-af1f0dfcc6366c01ee05098c34ca8457a0248f70.zip
Remove docs sub folder since docs has been moved to https://gitea.com/gitea/docs (#31536)
Diffstat (limited to 'docs/content/development/migrations.en-us.md')
-rw-r--r--docs/content/development/migrations.en-us.md43
1 files changed, 0 insertions, 43 deletions
diff --git a/docs/content/development/migrations.en-us.md b/docs/content/development/migrations.en-us.md
deleted file mode 100644
index 1e72f1b520..0000000000
--- a/docs/content/development/migrations.en-us.md
+++ /dev/null
@@ -1,43 +0,0 @@
----
-date: "2019-04-15T17:29:00+08:00"
-title: "Migrations Interfaces"
-slug: "migrations-interfaces"
-sidebar_position: 55
-toc: false
-draft: false
-aliases:
- - /en-us/migrations-interfaces
-menu:
- sidebar:
- parent: "development"
- name: "Migrations Interfaces"
- sidebar_position: 55
- identifier: "migrations-interfaces"
----
-
-# Migration Features
-
-Complete migrations were introduced in Gitea 1.9.0. It defines two interfaces to support migrating
-repository data from other Git host platforms to Gitea or, in the future, migrating Gitea data to other Git host platforms.
-
-Currently, migrations from GitHub, GitLab, and other Gitea instances are implemented.
-
-First of all, Gitea defines some standard objects in packages [modules/migration](https://github.com/go-gitea/gitea/tree/main/modules/migration).
-They are `Repository`, `Milestone`, `Release`, `ReleaseAsset`, `Label`, `Issue`, `Comment`, `PullRequest`, `Reaction`, `Review`, `ReviewComment`.
-
-## Downloader Interfaces
-
-To migrate from a new Git host platform, there are two steps to be updated.
-
-- You should implement a `Downloader` which will be used to get repository information.
-- You should implement a `DownloaderFactory` which will be used to detect if the URL matches and create the above `Downloader`.
- - You'll need to register the `DownloaderFactory` via `RegisterDownloaderFactory` on `init()`.
-
-You can find these interfaces in [downloader.go](https://github.com/go-gitea/gitea/blob/main/modules/migration/downloader.go).
-
-## Uploader Interface
-
-Currently, only a `GiteaLocalUploader` is implemented, so we only save downloaded
-data via this `Uploader` to the local Gitea instance. Other uploaders are not supported at this time.
-
-You can find these interfaces in [uploader.go](https://github.com/go-gitea/gitea/blob/main/modules/migration/uploader.go).