Commit Graph

67 Commits (main)

Author SHA1 Message Date
Zettat123 74664b08a0
Support migrating GitHub/GitLab PR draft status (#32242) 1 month ago
wxiaoguang edbf74c418
Fix "force private" logic (#31012) 6 months ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 7 months ago
Lunny Xiao 58ce1de994
Move migration functions to services layer (#29497) 9 months ago
Sebastian Brückner 17f170ee37
Include resource state events in Gitlab downloads (#29382) 9 months ago
Sebastian Brückner 6e5966597c
Properly migrate target branch change GitLab comment (#29340) 9 months ago
Lunny Xiao b79c30435f
Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 9 months ago
Sebastian Brückner a70c00b80b
Properly migrate automatic merge GitLab comments (#27873) 9 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
JakobDev 1af45689f9
Only migrate the first 255 chars of a Github issue title (#28902) 10 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
Nanguan Lin 49b98e45bc
Fix migration panic due to an empty review comment diff (#28334) 12 months ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
Lunny Xiao e3ed67859a
Move some functions to service layer (#26969) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055) 1 year ago
wxiaoguang f6e029e6c7
Make repo migration cancelable and fix various bugs (#24605) 2 years ago
wxiaoguang ce9dee5a1e
Introduce path Clean/Join helper functions (#23495) 2 years ago
Lunny Xiao b116418f05
Use CleanPath instead of path.Clean (#23371) 2 years ago
Lauris BH 58b4143803
Add loading yaml label template files (#22976) 2 years ago
Sybren b383652e02
Fix assignment to `cm.AssigneeID` when importing comments (#22528) 2 years ago
Sybren 151b1a9508
Support importing comment types (#22510) 2 years ago
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
techknowlogick 9e2f37404c
Foreign ID conflicts if ID is 0 for each item (#21271) 2 years ago
zeripath e6b3be4608
Add more checks in migration code (#21011) 2 years ago
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) 2 years ago
zeripath 7948cb3149
Prevent NPE whilst migrating if there is a team request review (#19855) 2 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