Commit Graph

18 Commits (6afb22448b7845fb8f570d64ce2ad6c4c81b9d2f)

Author SHA1 Message Date
JakobDev f3ba3e922d
Don't run push mirrors for archived repos (#27140) 10 months ago
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
KN4CK3R c766140dad
Add `RemoteAddress` to mirrors (#26952) 1 year ago
Chongyi Zheng 43652746f2
Move `modules/mirror` to `services` (#26737) 1 year ago
puni9869 ab388deb0e
Allow editing push mirrors after creation (#26151) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
KN4CK3R 3fef47b41c
Use ErrInvalidArgument in packages (#22268) 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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
zeripath fc4680ea71
In PushMirrorsIterate and MirrorsIterate if limit is negative do not set it (#20837) 2 years ago
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
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao b75ad7b87f
Improve mirror iterator (#18928) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
zeripath 188fd2dd1a
Add `PULL_LIMIT` and `PUSH_LIMIT` to cron.update_mirror task (#17568) 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
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago