gitea/modules/migrations
zeripath 722a7c902d
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
2019-11-13 07:01:19 +00:00
..
base Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
error.go
git.go Import topics during migration (#7851) 2019-08-14 14:16:12 +08:00
gitea_test.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
gitea.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
github_test.go Update Github Migration Tests (#8938) 2019-11-12 22:48:21 +00:00
github.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
main_test.go
migrate.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
update.go Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00