1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:54:25 +00:00
gitea/modules/migrations
zeripath 3497efac4a
Add Close() method to gogitRepository (#8901) (#8956)
Backport #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 13:54:04 +00:00
..
base Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +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) (#8956) 2019-11-13 13:54:04 +00:00
github_test.go Update Github Migration Tests (#8938) (#8945) 2019-11-13 00:15:57 -05: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) (#8956) 2019-11-13 13:54:04 +00:00
update.go Allow externalID to be UUID (#8551) (#8624) 2019-10-22 09:12:10 +01:00