Commit Graph

32 Commits (94549bcd115e4b6da9f636293e50f65c708df681)

Author SHA1 Message Date
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Chongyi Zheng 966e7bdc9b
Correctly handle draft releases without a tag (#20314) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 3 years ago
zeripath 7948cb3149
Prevent NPE whilst migrating if there is a team request review (#19855) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao 2728f0c213
Fix migrate release from github (#19510) 3 years ago
6543 fe274c148b
Add notags to fetch (#19487) 3 years ago
chavacava deffe9e525
Fix datarace in gitea_uploader.go (#19409) 3 years ago
Lunny Xiao 1dfa26e00e
Move milestone to models/issues/ (#19278) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
Lunny Xiao d4f84f1c93
Move reaction to models/issues/ (#19264) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
Aravinth Manivannan fa73cbf5a7
Store the foreign ID of issues during migration (#18446) 3 years ago
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader (#18752) 3 years ago
singuliere 54dd0fc88b
migrations: remove dead code in gitea uploader (#18725) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
singuliere 8bd89ca294
preserve users if restoring a repository on the same Gitea instance (#18604) 3 years ago
Gusted cafd19c1a3
Replace `sync.Map` with normal maps (#18584) 3 years ago
singuliere 367894adc8
add test coverage for original author conversion during migrations (#18506) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Aravinth Manivannan 076cead40d
Fix CheckRepoStats and reuse it during migration (#18264) 3 years ago
zeripath ffc08c1914
Do not read or write git reference files directly (#18079) 3 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
99rgosse e1d655991b
Fix Migrate Description (#17692) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
Gusted ebaf4c48ea
Avoid double imports (#17569) 3 years ago
99rgosse 88fa9f3fb1
Remove heads pointing to missing old refs (#17076) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Lunny Xiao de2e96e37b
Ignore review comment when ref commit is missed (#16905) 3 years ago
Lunny Xiao 8d7704b5a2
Fix dump and restore respository (#16698) 3 years ago
KN4CK3R cee5f7c5e2
Add migrate from OneDev (#16356) 3 years ago
KN4CK3R 422c30d315
Refactored and fixed migration tests. (#16714) 3 years ago
6543 3a6edd3685
Update issue_index to finish migration (#16685) 3 years ago
Lunny Xiao 7979c3654e
Copy git data from disk when restore repository (#16066) 4 years ago
Lunny Xiao a9daebca22
Fix get tag when migration (#16014) 4 years ago
6543 e0c93fed05
GitHub: migrate draft releases too (#15884) 4 years ago
zeripath d0ea10b21f
Close the gitrepo when deleting the repository (#15876) 4 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
zeripath 0bb8bd8190
Add size to Save function (#15264) 4 years ago
zeripath 3d8b5ad5f3
Fix a couple of CommentAsPatch issues. (#14804) 4 years ago
6543 81c833d92d
Add support to migrate from gogs (#14342) 4 years ago
Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163) 4 years ago
Lunny Xiao dd08853b10
Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago