61 Commits (111c822a309adc7a6d8ce052d32ee1abe2ce920d)

Author SHA1 Message Date
wxiaoguang 9ea91e036f
Refactor git command context & pipeline (#36406) 2 weeks ago
wxiaoguang 72be55f7d3
Refactor git command stderr handling (#36402) 2 weeks ago
Lunny Xiao 69f5ee970c
Move some functions to gitrepo package (#35543) 4 months ago
Lunny Xiao 9332ff291b
Move git command to git/gitcmd (#35483) 5 months ago
wxiaoguang 4fe1066a17
Replace gobwas/glob package (#35478) 5 months ago
Lunny Xiao 37958e486a
Rename pull request GetGitRefName to GetGitHeadRefName (#35093) 7 months ago
Brecht Van Lommel a9343896f4
Option to delay conflict checking of old pull requests until page view (#27779) 9 months ago
Lunny Xiao 32b97b3ce8
Uniform all temporary directories and allow customizing temp path (#32352) 10 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 10 months ago
TheFox0x7 ae3a18e01a
Remove context from git struct (#33793) 11 months ago
Lunny Xiao b8b690feb9
Refactor getpatch/getdiff functions and remove unnecessary fallback (#32817) 1 year ago
Lunny Xiao 751fe8b714
Move some errors to their own sub packages (#32880) 1 year ago
Lunny Xiao df7f1c2ead
Fix protected branch files detection on pre_receive hook (#31778) 2 years ago
Brecht Van Lommel b88e5fc72d
Fix slow patch checking with commits that add or remove many files (#31548) 2 years ago
wxiaoguang 7c613f100e
Make sure git version&feature are always prepared (#30877) 2 years ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 2 years ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 2 years ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 2 years ago
Lunny Xiao 36eb3c433a
Add transaction when creating pull request created dirty data (#26259) 3 years ago
zeripath 8598356df1
Refactor and tidy-up the merge/update branch code (#22568) 3 years ago
wxiaoguang 6bc3079c00
Refactor git command package to improve security and maintainability (#22678) 3 years ago
zeripath 3c5655ce18
Improve trace logging for pulls and processes (#22633) 3 years ago
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825) 3 years ago
zeripath d6b96627c1
Add setting to disable the git apply step in test patch (#22130) 3 years ago
zeripath cdc43454a4
Correctly handle moved files in apply patch (#22118) 3 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 3 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 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
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 3 years ago
zeripath 7a428fae4b
Ensure that all unmerged files are merged when conflict checking (#20528) 4 years ago
Ing. Jaroslav Šafka 8420c1bf4c
Fix checks in PR for empty commits #19603 (#20290) 4 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
Gusted ebe569a268
Set correct PR status on 3way on conflict checking (#19457) 4 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 4 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 4 years ago
zeripath 1eebbf23f0
When conflicts have been previously detected ensure that they can be resolved (#19247) 4 years ago
Martin Scholz 26718a785a
Change git.cmd to RunWithContext (#18693) 4 years ago
zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality (#17902) 4 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 4 years ago
zeripath 92e81e97e8
Detect conflicts with 3way merge (#18536) 4 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 4 years ago
zeripath 431e482e3f
Reset the conflicted files list in testpatch (#18139) 4 years ago
zeripath f1e85622da
Improve TestPatch to use git read-tree -m and implement git-merge-one-file functionality (#18004) 4 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 4 years ago
Norwin f48dce3176
Don't return binary file changes in raw PR diffs by default (#17158) 4 years ago