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.
gitea/modules/migrations
zeripath fb5af37b3e
Add Close() method to gogitRepository (#8901) (#8958)
Backport #8901 - Adjusted slightly for 1.9

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) (#8958) 5 years ago
error.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 6 years ago
git.go improve github downloader on migrations (#7049) 6 years ago
gitea.go Add Close() method to gogitRepository (#8901) (#8958) 5 years ago
gitea_test.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 6 years ago
github.go Use batch insert on migrating repository to make the process faster (#7050) 6 years ago
github_test.go Update Github Migration Test (#8946) 5 years ago
main_test.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 6 years ago
migrate.go Add Close() method to gogitRepository (#8901) (#8958) 5 years ago