summaryrefslogtreecommitdiffstats
path: root/modules/migrations/base
Commit message (Collapse)AuthorAgeFilesLines
* Import topics during migration (#7851)Antoine GIRARD2019-08-142-0/+2
| | | | | | | | * add GetTopics interface * CreateTopics * remove un-needed comment
* Display original author and URL information when showing migrated ↵mrsdizzie2019-07-085-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issues/comments (#7352) * Store original author info for migrated issues and comments Keep original author name for displaying in Gitea interface and also store original author user ID for potential future use in linking accounts from old location. * Add original_url for repo Store the original URL for a migrated repo Clean up migrations/tests * fix migration * fix golangci-lint * make 'make revive' happy also * Modify templates to use OriginalAuthor if set Use the original author name in templates if it is set rather than the user who migrated/currently owns the issues * formatting fixes * make generate-swagger * Use default avatar for imported comments * Remove no longer used IgnoreIssueAuthor option * Add OriginalAuthorID to swagger also
* Detect migrating batch size (#7353)Lunny Xiao2019-07-061-0/+1
| | | | | | | | * Make migrating batch size as configurable * detect different table batch insert size and remove config item * remove unrelated changes
* Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337)Lunny Xiao2019-07-011-1/+1
| | | | | | | | * fix bug conflict between SyncReleasesWithTags and InsertReleases * fix tests * fix fmt
* Use batch insert on migrating repository to make the process faster (#7050)Lunny Xiao2019-06-292-7/+8
| | | | | | | | | | * Use batch insert on migrating repository to make the process faster * fix lint * fix tests * fix comments
* improve github downloader on migrations (#7049)Lunny Xiao2019-05-301-2/+2
| | | | | | | | * improve github downloader on migrations * fix tests * fix uppercase function parameters
* Improve migrations to support migrating ↵Lunny Xiao2019-05-0711-0/+259
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