127 Commits (main)

Author SHA1 Message Date
Lunny Xiao d2a372fc59
Move some functions to gitrepo package to reduce RepoPath reference directly (#36126) 6 days ago
Lunny Xiao 24b81ac8b9
Use gitrepo's clone and push when possible (#36093) 1 week ago
Lunny Xiao a7eceb57a9
Use gitrepo.Repository instead of wikipath (#35398) 2 months ago
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543) 2 months ago
Lunny Xiao 9332ff291b
Move git command to git/gitcmd (#35483) 3 months ago
Lunny Xiao d2e994db2c
Move git config/remote to gitrepo package and add global lock to resolve possible conflict when updating repository git config file (#35151) 4 months ago
Lunny Xiao 4e1b8db1fc
Move HasWiki to repository service package (#33912) 4 months ago
Lunny Xiao 780e92ea99
Only git operations should update `last changed` of a repository (#34388) 7 months ago
Lunny Xiao c27d87a9ac
Refactor Branch struct in package modules/git (#33980) 9 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
Royce Remer e0ad72e223
Fail mirroring more gracefully (#34002) 9 months ago
Lunny Xiao a9e8ac0fe0
Don't create duplicated functions for code repositories and wiki repositories (#33924) 9 months ago
Lunny Xiao 3e2e7bf4e5
Add lock for a repository pull mirror (#33876) 9 months ago
TheFox0x7 ae3a18e01a
Remove context from git struct (#33793) 10 months ago
ericLemanissier 57997f1518
Fix mirror bug (#33597) 10 months ago
wxiaoguang e741448a14
Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) (#33569) 10 months ago
Lunny Xiao be4e961240
Fix mirror bug (#33224) 11 months ago
yp05327 0d7d2ed39d
Support the new exit code for `git remote` subcommands for git version >=2.30.0 (#33129) 11 months ago
wxiaoguang 34dfc25b83
Make git clone URL could use current signed-in user (#33091) 11 months ago
wxiaoguang 52b319bc00
Refactor pprof labels and process desc (#32909) 1 year ago
Lunny Xiao 696fbe6036
Refactor push mirror find and add check for updating push mirror (#32539) 1 year ago
wxiaoguang e524f63d58
Fix git error handling (#32401) 1 year ago
yp05327 70b7df0e5e
Support repo license (#24872) 1 year ago
Chongyi Zheng e80466f734
Resolve lint for unused parameter and unnecessary type arguments (#30750) 2 years ago
Chongyi Zheng 4ae6b1a553
Remove unused parameter for some functions in `services/mirror` (#30724) 2 years ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 2 years ago
Jason Song fd59cd9450
Avoid losing token when updating mirror settings (#30429) 2 years ago
yp05327 b4d86912ef
Fix mirror error when mirror repo is empty (#30432) 2 years ago
Lunny Xiao 3c6fc25a77
Use repo object format name instead of detecting from git repository (#29702) 2 years ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 2 years ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 2 years ago
delvh 778ad795fd
Refactor deletion (#28610) 2 years ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 2 years ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 2 years ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 2 years ago
delvh e709bc199f
Differentiate between `push` and `pull` `mirror sync in progress` (#27390) 2 years ago
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265) 2 years ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 2 years ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 2 years ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915) 2 years ago
Chongyi Zheng 43652746f2
Move `modules/mirror` to `services` (#26737) 2 years ago
Lunny Xiao 45ac90eb54
Sync branches when mirroring (#25722) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 3 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 3 years ago
Jason Song 7b9e23cc1d
Fill head commit to in payload when notifying push commits for mirroring (#23215) 3 years ago
Gusted 1cb8d14bf7
Use proxy for pull mirror (#22771) 3 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago