Commit Graph

20 Commits (889a8c268ca6a54ff5be19e61b29b10feb4a12e8)

Author SHA1 Message Date
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) 3 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
6543 212fa340cf
Migration: drop to long repo topics (#14152) 4 years ago
zeripath 825efa2605
[API] Add Ref to Issue (#13946) 4 years ago
6543 2b4a08e962
Migrations: Use Process Manager to create own Context (#13792) 4 years ago
zeripath 7dfb2fc176
Add migrated pulls to pull request task queue (#13331) 4 years ago
6543 49b1948cb1
Gitea 2 Gitea migration (#12657) 4 years ago
6543 6c61f498ea
On Migration respect old DefaultBranch (#12843) 4 years ago
6543 fd60ebfe14
[API] Migration: Change ServiceType String (#12672) 4 years ago
John Olheiser 211321fb93
Git migration UX (#12619) 4 years ago
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387) 4 years ago
Lunny Xiao 1dd3f19ee3
Use google/uuid to instead satori/go.uuid (#11943) 4 years ago
6543 12960b9d18
[BugFix] remove nil inserts in models (#11096) 5 years ago
Lunny Xiao e8860ef4f9 Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 5 years ago