Commit Graph

40 Commits (fc7b5afd9b23a2b194b498dc6f4802ee31339639)

Author SHA1 Message Date
Lunny Xiao 110fc57cbc
Move some code into models/git (#19879) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
6543 8d34c2fab9
fix #19545 (#19563) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
Peter Gardfjäll e28cc79c92
Improve sync performance for pull-mirrors (#19125) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
zeripath 889a8c268c
Use full output of git show-ref --tags to get tags for PushUpdateAddTag (#19235) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
zeripath 2d21d2af9e
Make migrations SKIP_TLS_VERIFY apply to git too (#19132) 3 years ago
zeripath 75eb6cc9c1
Improve SyncMirrors logging (#19045) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 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
6543 ff00b8688b
Fix NPE on try to get tag reference via API (#18245) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 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 7a03473159
Use a standalone struct name for Organization (#17632) 3 years ago
Lunny Xiao 7e1ae38097
Move migrations into services and base into modules/migration (#17663) 3 years ago
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
6543 77f604a928
Add skip and limit to git.GetTags (#16897) 3 years ago
Lunny Xiao f9acad82ca
Add proxy settings and support for migration and webhook (#16704) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
Paul Barton 7576e37a65
Add MirrorInterval to the API (#14163) 4 years ago
6543 2b4a08e962
Migrations: Use Process Manager to create own Context (#13792) 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
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
yisiliang 9fc9c1de98
Update the wiki repository remote origin while update the mirror repository's Clone From URL (#12053) 4 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854) 5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago
Lunny Xiao 99d869fa63
Move push commits from models to modules/repository (#9370) 5 years ago
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602) 5 years ago
Lunny Xiao 7b2ff82d20 Move some repository methods from models to modules/repository (#9353) 5 years ago