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
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
5 years ago
..
auth Fix errors in create org UI regarding team access permission. (#8506) 5 years ago
avatar Improve handling of non-square avatars (#7025) 6 years ago
base Use gitea forked macaron (#7933) 6 years ago
cache Use gitea forked macaron (#7933) 6 years ago
charset Reduce test sensibility (#8393) 5 years ago
context Add Close() method to gogitRepository (#8901) (#8956) 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) 6 years ago
git Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
gzip Use gitea forked macaron (#7933) 6 years ago
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 6 years ago
httplib Add golangci (#6418) 6 years ago
indexer Use gitea forked macaron (#7933) 6 years ago
lfs Ensure Request Body Readers are closed in LFS server (#8454) 5 years ago
log Fix data race (#8204) 5 years ago
markup Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 5 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 8 years ago
notification Move all mail related codes from models to services/mailer (#7200) 5 years ago
options Use gitea forked macaron (#7933) 6 years ago
password Fix password complexity regex for special characters (backport for v1.10.0) (#8524) 5 years ago
pprof Add golangci (#6418) 6 years ago
private Attempt to fix hook problem (#7854) 6 years ago
process Restore functionality for early gits (#7775) 5 years ago
public Use gitea forked macaron (#7933) 6 years ago
recaptcha Allow Recaptcha service url to be configured (#6820) 6 years ago
references Backport: Enable punctuations ending mentions (#8889) (#8894) 5 years ago
repofiles Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
search Global code search support (#3664) 7 years ago
secret Integrate OAuth2 Provider (#5378) 6 years ago
session Use gitea forked macaron (#7933) 6 years ago
setting Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) (#8618) 5 years ago
ssh Use gitea forked macaron (#7933) 6 years ago
structs Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 5 years ago
sync Use gitea forked macaron (#7933) 6 years ago
task Move migrating repository from frontend to backend (#6200) 5 years ago
templates Fix commit expand button to not go to commit link (#8745) (#8825) 5 years ago
test Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
timeutil Use gitea forked macaron (#7933) 6 years ago
upload Fix upload file type check (#7890) 6 years ago
user Add golangci (#6418) 6 years ago
util Display ui time with customize time location (#7792) 6 years ago
validation Implement webhook branch filter (#7791) 5 years ago