mirror of
1
Fork 0
forgejo/modules
Giteabot e5c26e38f5
Make git batch operations use parent context timeout instead of default timeout (#26325) (#26330)
Backport #26325 by @wxiaoguang

Fix #26064

Some git commands should use parent context, otherwise it would exit too
early (by the default timeout, 10m), and the "cmd.Wait" waits till the
pipes are closed.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 9451781ebe)
2023-08-21 07:22:16 +02:00
..
actions [CI] Search .forgejo/workflows first 2023-07-16 23:21:44 +02:00
activitypub
analyze
assetfs Skip unuseful error message in dev mode when watching local filesystem (#25919) (#25927) 2023-07-24 07:58:56 +02:00
auth [SECURITY] default to pbkdf2 with 320,000 iterations 2023-07-16 23:44:22 +02:00
avatar
base Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
cache Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
charset Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
container
context [BRANDING] X-Forgejo-OTP can be used instead of X-Gitea-OTP 2023-07-17 00:25:56 +02:00
csv
doctor Refactor path & config system (#25330) (#25416) 2023-06-22 16:27:18 +00:00
emoji
eventsource Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
generate
git Make git batch operations use parent context timeout instead of default timeout (#26325) (#26330) 2023-08-21 07:22:16 +02:00
gitgraph
graceful Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
hcaptcha
highlight
hostmatcher
html Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
httpcache [BRANDING] add X-Forgejo-* headers 2023-07-17 00:25:55 +02:00
httplib Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
indexer Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
issue/template Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
json Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
label Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
lfs Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
log Use stderr as fallback if the log file can't be opened (#26074) (#26083) 2023-07-26 13:49:15 +02:00
markup [GITEA] Fix media description render for orgmode 2023-08-12 16:04:33 +02:00
mcaptcha
metrics Use a separate admin page to show global stats, remove `actions` stat (#25062) 2023-06-03 22:03:41 +08:00
migration Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
mirror Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
nosql Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
notification Add Adopt repository event and handler (#25497) (#25518) 2023-06-26 20:09:07 +00:00
options
packages Fix handling of Debian files with trailing slash (#26087) (#26098) 2023-07-26 13:49:15 +02:00
paginator
pprof
private [CLI] implement forgejo-cli actions register 2023-07-16 23:21:45 +02:00
process Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
proxy
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
public Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
queue Calculate MAX_WORKERS default value by CPU number (#26177) (#26183) 2023-07-30 07:46:18 +02:00
recaptcha
references Use correct captured group range when parsing cross-reference (#22672) 2023-01-31 10:08:05 +01:00
regexplru
repository Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
secret
session Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
setting Fix the wrong derive path (#26271) (#26318) 2023-08-21 07:22:16 +02:00
sitemap Fix sitemap (#22272) 2022-12-30 23:31:00 +08:00
ssh Fix incorrect config argument position for builtin SSH server (#25341) 2023-06-18 16:56:21 +00:00
storage [CI] disable minio test, no minio server yet in CI 2023-07-16 23:21:44 +02:00
structs [BRANDING] define the forgejo webhook type 2023-08-21 07:22:16 +02:00
svg Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
sync
system
templates Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
test [TESTS] MockVariable temporarily replaces a global value 2023-07-16 23:21:44 +02:00
testlogger Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
timeutil
translation Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
turnstile
typesniffer
updatechecker [PRIVACY] Add a DNS method to fetch new updates 2023-07-17 00:24:23 +02:00
upload
uri
user
util Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
validation Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
web Fix incorrect router logger (#26137) (#26143) 2023-07-26 13:49:15 +02:00
webhook [BRANDING] define the forgejo webhook type 2023-08-21 07:22:16 +02:00