gitea/services/migrations
TheFox0x7 1ec8d80fa3
refactor: decouple context from migration structs ()
Use context as much as possible.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-07 05:37:32 +00:00
..
codebase.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
codebase_test.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
codecommit.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
common.go Adjust object format interface () 2023-12-17 11:56:08 +00:00
dump.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
error.go Bump `github.com/google/go-github` to v61 () 2024-04-28 01:20:23 -04:00
git.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gitbucket.go Change the default maxPerPage for gitbucket () 2024-04-11 22:51:40 -04:00
gitea_downloader.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gitea_downloader_test.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gitea_uploader.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gitea_uploader_test.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
github.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
github_test.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gitlab.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gitlab_test.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gogs.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
gogs_test.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
http_client.go Support allowed hosts for migrations to work with proxy () 2024-09-11 05:47:00 +00:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
migrate.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
migrate_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
onedev.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
onedev_test.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
restore.go refactor: decouple context from migration structs () 2025-02-07 05:37:32 +00:00
update.go Use db.Find instead of writing methods for every object () 2023-11-24 03:49:41 +00:00