Commit Graph

40 Commits (d2777444d9197c9cbb9b730fdeb2781467dc4ac9)

Author SHA1 Message Date
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
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
wxiaoguang 157b405753
Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
Lunny Xiao 76aa33d884
Move init repository related functions to modules (#19159) 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
Lunny Xiao 5723240490
Some repository refactors (#17950) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 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
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 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
zeripath 8e0548ed4a
Ensure that HEAD is updated to match default branch in template generation (#13948) 4 years ago
zeripath 911d370dad
Push HEAD instead of master when initialising repositories (#13719) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
zeripath de6e427a01
go-version constraints ignore pre-releases (#13234) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
6543 bc11caff94
[Vendor] Switch go-version lib (#12719) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
xenofem d1562bfc34
properly set symbolic-ref HEAD when a repo is created with a non-master default branch (#12135) 4 years ago
techknowlogick 6bf78d2b57
Global default branch setting (#11918) 4 years ago
j.yao.SUSE b252b23f16
[feature] provide `OwnerName` field for README template (#10981) 5 years ago
zeripath 52cfd2743c
Option to set default branch at repository creation (#10803) 5 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854) 5 years ago
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708) 5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago