mirror of
1
Fork 0
forgejo/modules/migrations/base
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672)
* use different structs for MigrateRepoOptions on UI and API

* Fix TokenAuth and rename UID to an understandable Name

* fix swagger doc

* simplify & mk redable

* R E F A C T O R:
migration has now internal 3 structs to store its options:
 * the Options for WebUI: modules/auth/repo_form.go
 * the Options for API: modules/structs/repo.go
 * the option struct with after validation for internal prossessing: modules/migrations/base/options.go

* Copyright Header

* Deprecate UID - add RepoOwner

* adopt repo.go -> migrate.go

* add comment about each struct purpose

* lint
2020-09-10 23:29:19 +01:00
..
comment.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
downloader.go Ensure that all migration requests are cancellable (#12669) 2020-09-02 13:49:25 -04:00
issue.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
label.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
milestone.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
options.go [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
pullrequest.go When migrating from Gitlab map Approvals to approving Reviews (#11147) 2020-04-20 13:30:46 +01:00
reaction.go Migrate reactions when migrating repository from github (#9599) 2020-01-15 12:14:07 +01:00
release.go Git migration UX (#12619) 2020-08-28 09:36:37 +08:00
repo.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
review.go Migrate reviews when migrating repository from github (#9463) 2020-01-23 19:28:15 +02:00
uploader.go Git migration UX (#12619) 2020-08-28 09:36:37 +08:00