gitea/cmd
zeripath 3dcb3e9073
Second attempt at preventing zombies ()
* Second attempt at preventing zombies

* Ensure that the pipes are closed in ssh.go
* Ensure that a cancellable context is passed up in cmd/* http requests
* Make cmd.fail return properly so defers are obeyed
* Ensure that something is sent to stdout in case of blocks here

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate lint 2

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate lint 3

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fixup

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Apply suggestions from code review

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
..
admin.go Fix missing storage init ()
admin_auth_ldap.go Add restricted user filter to LDAP authentication ()
admin_auth_ldap_test.go Add restricted user filter to LDAP authentication ()
cert.go Add golangci ()
cmd.go Second attempt at preventing zombies ()
convert.go Add --quiet and --verbose to gitea web to control initial logging ()
docs.go Add docs command ()
doctor.go Refactor doctor ()
dump.go Fix various documentation, user-facing, and source comment typos ()
dump_repo.go Add --quiet and --verbose to gitea web to control initial logging ()
embedded.go Implement "embedded" command to extract static resources ()
embedded_stub.go Implement "embedded" command to extract static resources ()
generate.go Add asymmetric JWT signing ()
hook.go Second attempt at preventing zombies ()
keys.go Second attempt at preventing zombies ()
mailer.go Second attempt at preventing zombies ()
manager.go Second attempt at preventing zombies ()
migrate.go Add --quiet and --verbose to gitea web to control initial logging ()
migrate_storage.go Fix various documentation, user-facing, and source comment typos ()
restore_repo.go Second attempt at preventing zombies ()
serv.go Second attempt at preventing zombies ()
web.go Add --quiet and --verbose to gitea web to control initial logging ()
web_graceful.go Move FCGI req.URL.Path fix-up to the FCGI listener ()
web_letsencrypt.go Support HTTP/2 in Let's Encrypt ()