forgejo/routers/api/v1/repo
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868)
This PR continues the work in #17125 by progressively ensuring that git
commands run within the request context.

This now means that the if there is a git repo already open in the context it will be used instead of reopening it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-01-19 23:26:57 +00:00
..
blob.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
branch.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
collaborators.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
commits.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
file.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
fork.go - name: new parameter in CreateForkOption to give the forked repository (#18066) 2021-12-24 22:43:00 +08:00
git_hook.go
git_ref.go
hook.go Move accessmode into models/perm (#17828) 2021-11-28 12:58:28 +01:00
hook_test.go
issue.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
issue_comment.go Fix PR comments UI (#18323) 2022-01-19 01:28:38 +08:00
issue_label.go
issue_reaction.go Add missing X-Total-Count and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
issue_stopwatch.go Fix close issue but time watcher still running (#17643) 2021-11-21 17:11:48 +08:00
issue_subscription.go When attempting to subscribe other user to issue report why access denied (#18091) 2021-12-24 21:47:42 +08:00
issue_tracked_time.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
key.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00
label.go
language.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
main_test.go
migrate.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
milestone.go
mirror.go
notes.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
pull.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
pull_review.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
release.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
release_attachment.go
release_tags.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
repo.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
repo_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
star.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
status.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
subscriber.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
tag.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
teams.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
topic.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
transfer.go Add API to manage repo tranfers (#17963) 2021-12-23 23:26:52 -05:00
tree.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
wiki.go Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00