1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
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 Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
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 Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
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