Commit Graph

14 Commits (33850a83fe4ebd23a762a7aac81614c42e303bfa)

Author SHA1 Message Date
Lunny Xiao 276500c314
Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 3 weeks ago
delvh 7bb3835811
Add `YEAR`, `MONTH`, `MONTH_ENGLISH`, `DAY` variables for template repos (#31584) 5 months ago
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 9 months ago
Lunny Xiao b5188cd55c
Move generate from module to service (#29465) 9 months ago
techknowlogick a346a8c852
bump to use go 1.22 (#29119) 9 months ago
Lunny Xiao 34633d85f1
Fix bug for generated repository object format (#28969) 10 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 408a484224
Adjust object format interface (#28469) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 12 months ago
Lunny Xiao b9df9fa2e2
Move createrepository from module to service layer (#26927) 1 year ago
Lunny Xiao 037c9895a7
Support copy protected branch from template repository (#25889) 1 year ago
John Olheiser 8afc1b1cb5
Move some regexp out of functions (#25430) 1 year ago
Kyle D 8220e50b56
Substitute variables in path names of template repos too (#25294) 1 year ago
techknowlogick 2741546bed
Repositories: by default disable all units except code and pulls on forks (#22541) 2 years ago
Felipe Leopoldo Sologuren Gutiérrez 04c97aa364
Change use of Walk to WalkDir to improve disk performance (#22462) 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
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
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) 3 years ago
silverwind 318f360252
Update go tool dependencies (#19676) 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
Abheek Dhawan f316582458
Set the default branch for repositories generated from templates (#19136) 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 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
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 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
zeripath 8e0548ed4a
Ensure that HEAD is updated to match default branch in template generation (#13948) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
zeripath 7a7f56044a
Adopt repositories (#12920) 4 years ago
zeripath 4979f15c3f
Add configurable Trust Models (#11712) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
zeripath 52cfd2743c
Option to set default branch at repository creation (#10803) 5 years ago
John Olheiser 28216bde46 More expansions in template repositories (#10021) 5 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 5 years ago