bench-forgejo/services
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
..
comments Refactor pull request review (#8954) 2019-11-14 10:57:36 +08:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
gitdiff Fix yet another bug with diff file names (#12771) 2020-09-09 14:08:40 +01:00
issue Change/remove a branch of an open issue (#9080) 2020-09-08 12:29:51 -04:00
mailer Fix "only mail on mention" bug (#12775) 2020-09-09 15:08:55 -04:00
mirror [API] Migration: Change ServiceType String (#12672) 2020-09-10 23:29:19 +01:00
pull [Vendor] Switch go-version lib (#12719) 2020-09-05 12:42:58 -04:00
release Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
repository API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
wiki Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00