1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 18:14:28 +00:00
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
2019-11-13 13:54:04 +00:00
..
auth Fix errors in create org UI regarding team access permission. (#8506) 2019-10-14 19:20:42 +01:00
avatar Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
base Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cache Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
charset Reduce test sensibility (#8393) 2019-10-07 01:49:14 -04:00
context Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
cron 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
generate Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
git Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
gzip Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 2019-08-05 23:48:31 +08:00
httplib Add golangci (#6418) 2019-06-12 15:41:28 -04:00
indexer Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
lfs Ensure Request Body Readers are closed in LFS server (#8454) 2019-10-10 18:42:28 +01:00
log Fix data race (#8204) 2019-09-17 12:39:37 +03:00
markup Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
migrations Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
options Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
password Fix password complexity regex for special characters (backport for v1.10.0) (#8524) 2019-10-16 11:09:27 +08:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Attempt to fix hook problem (#7854) 2019-08-14 12:25:05 +03:00
process Restore functionality for early gits (#7775) 2019-10-12 08:13:27 +08:00
public Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
recaptcha Allow Recaptcha service url to be configured (#6820) 2019-05-02 16:09:39 +03:00
references Backport: Enable punctuations ending mentions (#8889) (#8894) 2019-11-09 20:24:59 -05:00
repofiles Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
search Global code search support (#3664) 2018-03-16 22:04:33 +08:00
secret Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
session Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) (#8618) 2019-10-22 07:00:37 +01:00
ssh Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
structs 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
sync Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
task Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
templates Fix commit expand button to not go to commit link (#8745) (#8825) 2019-11-04 20:59:17 +02:00
test Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
timeutil Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
upload Fix upload file type check (#7890) 2019-08-17 13:10:17 +03:00
user Add golangci (#6418) 2019-06-12 15:41:28 -04:00
util Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00