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
2019-11-13 07:01:19 +00:00
..
auth Template Repositories (#8768) 2019-11-11 23:15:29 +08: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) 2019-11-13 07:01:19 +00:00
convert Move code.gitea.io/gitea/routers/api/v1/convert to code.gitea.io/gitea/modules/convert (#8892) 2019-11-10 12:41:51 +08: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) 2019-11-13 07:01:19 +00:00
graceful Graceful fixes (#8645) 2019-10-23 16:32:19 +01: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 Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
lfs Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
log Fix data race (#8204) 2019-09-17 12:39:37 +03:00
markup Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
migrations Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +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 Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
options Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
password Fix password complexity regex for special characters (on master) (#8525) 2019-10-16 11:09:58 +08:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01: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 Enable punctuations ending mentions (#8889) 2019-11-09 17:12:05 -05:00
repofiles Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +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 Auto-subscribe user to repository when they commit/tag to it (#7657) 2019-11-10 09:22:19 +00:00
ssh Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
structs Template Repositories (#8768) 2019-11-11 23:15:29 +08:00
sync Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
task Fix bug when migrate from API (#8631) 2019-11-08 17:21:00 -05:00
templates Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
test Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +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 Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
webhook Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00