Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290)
* add migrations * fix package dependency * fix lints * implements migrations except pull requests * add releases * migrating releases * fix bug * fix lint * fix migrate releases * fix tests * add rollback * pull request migtations * fix import * fix go module vendor * add tests for upload to gitea * more migrate options * fix swagger-check * fix misspell * add options on migration UI * fix log error * improve UI options on migrating * add support for username password when migrating from github * fix tests * remove comments and fix migrate limitation * improve error handles * migrate API will also support migrate milestones/labels/issues/pulls/releases * fix tests and remove unused codes * add DownloaderFactory and docs about how to create a new Downloader * fix misspell * fix migration docs * Add hints about migrate options on migration page * fix tests
This commit is contained in:
parent
1c7c739eb9
commit
08069dc465
128 changed files with 33540 additions and 75 deletions
|
@ -301,6 +301,8 @@ password_not_match = The passwords do not match.
|
|||
|
||||
username_been_taken = The username is already taken.
|
||||
repo_name_been_taken = The repository name is already used.
|
||||
visit_rate_limit = Remote visit addressed rate limitation.
|
||||
2fa_auth_required = Remote visit required two factors authentication.
|
||||
org_name_been_taken = The organization name is already taken.
|
||||
team_name_been_taken = The team name is already taken.
|
||||
team_no_units_error = Allow access to at least one repository section.
|
||||
|
@ -597,6 +599,13 @@ form.name_pattern_not_allowed = The pattern '%s' is not allowed in a repository
|
|||
need_auth = Clone Authorization
|
||||
migrate_type = Migration Type
|
||||
migrate_type_helper = This repository will be a <span class="text blue">mirror</span>
|
||||
migrate_items = Migration Items
|
||||
migrate_items_wiki = Wiki
|
||||
migrate_items_milestones = Milestones
|
||||
migrate_items_labels = Labels
|
||||
migrate_items_issues = Issues
|
||||
migrate_items_pullrequests = Pull Requests
|
||||
migrate_items_releases = Releases
|
||||
migrate_repo = Migrate Repository
|
||||
migrate.clone_address = Migrate / Clone From URL
|
||||
migrate.clone_address_desc = The HTTP(S) or Git 'clone' URL of an existing repository
|
||||
|
@ -605,6 +614,7 @@ migrate.permission_denied = You are not allowed to import local repositories.
|
|||
migrate.invalid_local_path = "The local path is invalid. It does not exist or is not a directory."
|
||||
migrate.failed = Migration failed: %v
|
||||
migrate.lfs_mirror_unsupported = Mirroring LFS objects is not supported - use 'git lfs fetch --all' and 'git lfs push --all' instead.
|
||||
migrate.migrate_items_options = When you are migrating from github and inputed username, the migration options will be display.
|
||||
|
||||
mirror_from = mirror of
|
||||
forked_from = forked from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue