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
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
..
auth Template Repositories (#8768) 5 years ago
avatar Improve handling of non-square avatars (#7025) 5 years ago
base Use gitea forked macaron (#7933) 5 years ago
cache Use gitea forked macaron (#7933) 5 years ago
charset Reduce test sensibility (#8393) 5 years ago
context Add Close() method to gogitRepository (#8901) 5 years ago
convert Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 5 years ago
cron Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 5 years ago
generate Integrate OAuth2 Provider (#5378) 5 years ago
git Add Close() method to gogitRepository (#8901) 5 years ago
graceful Graceful fixes (#8645) 5 years ago
gzip Use gitea forked macaron (#7933) 5 years ago
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 5 years ago
httplib Add golangci (#6418) 5 years ago
indexer Allow cross-repository dependencies on issues (#7901) 5 years ago
lfs Add basic repository lfs management (#7199) 5 years ago
log Fix data race (#8204) 5 years ago
markup Convert EOL to UNIX-style to render MD properly (#8925) 5 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations Add Close() method to gogitRepository (#8901) 5 years ago
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 7 years ago
notification Add Close() method to gogitRepository (#8901) 5 years ago
options Use gitea forked macaron (#7933) 5 years ago
password Fix password complexity regex for special characters (on master) (#8525) 5 years ago
pprof Add golangci (#6418) 5 years ago
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 5 years ago
process Restore functionality for early gits (#7775) 5 years ago
public Use gitea forked macaron (#7933) 5 years ago
recaptcha Allow Recaptcha service url to be configured (#6820) 5 years ago
references Enable punctuations ending mentions (#8889) 5 years ago
repofiles Add Close() method to gogitRepository (#8901) 5 years ago
search Global code search support (#3664) 6 years ago
secret Integrate OAuth2 Provider (#5378) 5 years ago
session Use gitea forked macaron (#7933) 5 years ago
setting Auto-subscribe user to repository when they commit/tag to it (#7657) 5 years ago
ssh Restore Graceful Restarting & Socket Activation (#7274) 5 years ago
structs Template Repositories (#8768) 5 years ago
sync Use gitea forked macaron (#7933) 5 years ago
task Fix bug when migrate from API (#8631) 5 years ago
templates Use templates for issue e-mail subject and body (#8329) 5 years ago
test Add Close() method to gogitRepository (#8901) 5 years ago
timeutil Use gitea forked macaron (#7933) 5 years ago
upload Fix upload file type check (#7890) 5 years ago
user Add golangci (#6418) 5 years ago
util Convert EOL to UNIX-style to render MD properly (#8925) 5 years ago
validation Implement webhook branch filter (#7791) 5 years ago
webhook Webhook support custom proxy (#8760) 5 years ago