forgejo/services/pull
zeripath 74179d1b5e Remove SavePatch and generate patches on the fly (#9302)
* Save patches to temporary files

* Remove SavePatch and generate patches on the fly

* Use ioutil.TempDir

* fixup! Use ioutil.TempDir

* fixup! fixup! Use ioutil.TempDir

* RemoveAll LocalCopyPath() in initIntergrationTest

* Default to status checking on PR creation

* Remove unnecessary set to StatusChecking

* Protect against unable to load repo

* Handle conflicts

* Restore original conflict setting

* In TestPullRequests update status to StatusChecking before running TestPatch
2019-12-13 23:21:06 +01:00
..
check.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
check_test.go Move some pull request functions from models to services (#9266) 2019-12-06 21:44:10 -05:00
commit_status.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
lfs.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
main_test.go Move some pull request functions from models to services (#9266) 2019-12-06 21:44:10 -05:00
merge.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
patch.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
pull.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00
review.go Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 2019-12-03 20:08:56 -05:00
temp_repo.go Remove SavePatch and generate patches on the fly (#9302) 2019-12-13 23:21:06 +01:00