You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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
5 years ago
..
base Add Close() method to gogitRepository (#8901) 5 years ago
error.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 5 years ago
git.go Import topics during migration (#7851) 5 years ago
gitea.go Add Close() method to gogitRepository (#8901) 5 years ago
gitea_test.go Move migrating repository from frontend to backend (#6200) 5 years ago
github.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 5 years ago
github_test.go Update Github Migration Tests (#8938) 5 years ago
main_test.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 5 years ago
migrate.go Add Close() method to gogitRepository (#8901) 5 years ago
update.go Allow externalID to be UUID (#8551) 5 years ago