Commit Graph

74 Commits (8080e23c9bc4e37102f63bec36603a540ff6ea9b)

Author SHA1 Message Date
Mohamed Sekour 0e61a74e5a
Add new API endpoints for push mirrors management (#19841) 2 years ago
Chongyi Zheng 49f9d43afe
Implement sync push mirror on commit (#19411) 2 years ago
Gusted f0ce5470e5
Always try to fetch repo for mirrors (#19975) 2 years ago
Lunny Xiao ce3dd04c63
Fix some mirror bugs (#18649) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
zeripath e32ab429ff
Prevent NPE on update mirror settings (#19864) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
wxiaoguang c83168104b
Use a more general (and faster) method to sanitize URLs with credentials (#19239) 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
zeripath d2ca021df0
Touch mirrors on even on fail to update (#19217) 3 years ago
Lunny Xiao c29fbc6d23
Hide sensitive content on admin panel progress monitor (#19218) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
zeripath 75eb6cc9c1
Improve SyncMirrors logging (#19045) 3 years ago
Gusted a14b6f3aae
Refactor mirror code & fix `StartToMirror` (#18904) 3 years ago
Lunny Xiao b75ad7b87f
Improve mirror iterator (#18928) 3 years ago
Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 3 years ago
zeripath df44017328
Restart zero worker if there is still work to do (#18658) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
zeripath a82fd98d53
Pause queues (#15928) 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
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
mscherer 34b5436ae1
Refactor various strings (#17784) 3 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 3 years ago
zeripath 188fd2dd1a
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568) 3 years ago
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security (#17605) 3 years ago
Lunny Xiao 3c3855a05c
Move user functions into user.go (#17659) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
zeripath 053b2f4dce
Handle broken references in mirror sync (#17013) 3 years ago
zeripath 7117c7774a
Make the Mirror Queue a queue (#17326) 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 63d7cbcef1
Make mirror feature more configurable (#16957) 3 years ago
Lunny Xiao f9acad82ca
Add proxy settings and support for migration and webhook (#16704) 3 years ago
KN4CK3R d9ef43a712
Replace `list.List` with slices (#16311) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
KN4CK3R 2b39357443
Fixed sanitize errors. (#15240) 3 years ago
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726) 4 years ago
a1012112796 83cf1a894e
Create tag on ui (#13467) 4 years ago
6543 0d1444751f
[API] Add pagination to ListBranches (#14524) 4 years ago
Chester Liu 632800eda7
Check for 'main' as potential default branch name (#14193) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
manuelluis 8561f26695
Fix branch/tag notifications in mirror sync (#13855) 4 years ago
6543 2b4a08e962
Migrations: Use Process Manager to create own Context (#13792) 4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363) 4 years ago
zeripath e2740b32b5
Update Mirror IsEmpty status on synchronize (#13185) 4 years ago
zeripath de6e427a01
go-version constraints ignore pre-releases (#13234) 4 years ago