39 Commits (main)

Author SHA1 Message Date
Lunny Xiao 5454fdacd4
Use git model to detect whether branch exist instead of gitrepo method (#35459) 2 months ago
Lunny Xiao 662a44d924
Fix merge panic (#35606) 2 months ago
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543) 2 months ago
Lunny Xiao e1c2fef593
Fix creating pull request failure when the target branch name is the same as some tag (#35552) 3 months ago
Lunny Xiao 9332ff291b
Move git command to git/gitcmd (#35483) 3 months ago
Lunny Xiao 37958e486a
Rename pull request GetGitRefName to GetGitHeadRefName (#35093) 5 months ago
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view (#27779) 8 months ago
Lunny Xiao 32b97b3ce8
Uniform all temporary directories and allow customizing temp path (#32352) 8 months ago
Lunny Xiao 0056fdb942
Move git references checking to gitrepo packages to reduce expose of repository path (#33891) 9 months ago
TheFox0x7 ae3a18e01a
Remove context from git struct (#33793) 10 months ago
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 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
Lunny Xiao 6e19484f4d
Sync branches into databases (#22743) 3 years ago
zeripath 8598356df1
Refactor and tidy-up the merge/update branch code (#22568) 3 years ago
Brecht Van Lommel 0268ee5c37
Do not create commit graph for temporary repos (#23219) 3 years ago
yp05327 bd66fa586a
Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 3 years ago
Jason Song 6cf09ccab4
Use complete SHA to create and query commit status (#22244) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 3 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 3 years ago
wxiaoguang dcd9fc7ee8
Refactor git command arguments and make all arguments to be safe to be used (#21535) 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 4 years ago
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355) 4 years ago
6543 06e4687cec
more context for models (#19511) 4 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 4 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 4 years ago
Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 4 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 4 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 4 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
zeripath 01087e9eef
Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 4 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 4 years ago
Jimmy Praet 78118a3b02
Add checkbox to delete pull branch after successful merge (#16049) 5 years ago
zeripath 0973c03601
Handle more pathological branch and tag names (#11843) 6 years ago
6543 a291a0eddc
Prevent deadlock in pull_service.GetDiverging(pr) (#10905) 6 years ago
Lunny Xiao 5abe1c52de
Display pull request head branch even the branch deleted or repository deleted (#10413) 6 years ago
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302) 6 years ago