zeripath
7934fe5925
Add Close() method to gogitRepository ( #8901 )
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.
This PR adds this Close function and adds the Close functions as necessary.
In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.
Fixes #7947
5 years ago
Lunny Xiao
af128366eb
Move repofiles webhooks to notification ( #8807 )
5 years ago
Lunny Xiao
9dd4aef62d
Move push commits events to notification ( #8783 )
* Move push commits events to notification
* Update modules/notification/base/null.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
Lunny Xiao
33914aee50
Rename HookQueue to hookQueue ( #8778 )
* Rename HookQueue to hookQueue
* fix lint
5 years ago
Lunny Xiao
a01023f251
Move webhook to a standalone package under modules ( #8747 )
* Move webhook to a standalone package under modules
* fix test
* fix comments
5 years ago
Lunny Xiao
c3a5147439
Add file status on API ( #7671 )
* add file status on API
* fix tests
* fix tests
* fix tests
5 years ago
Lunny Xiao
d6fd784ea9
Move commit repo action from models to repofiles package ( #7645 )
* move commit repo action from models to repofiles package
* fix unit tests
6 years ago