git-serve: Close orphan requests upon disown
commitfc6dc44295bed8c5d9c8014c2eab2d6bf33d2541
authorLukas Fleischer <lfleischer@archlinux.org>
Tue, 11 Oct 2016 05:44:21 +0000 (11 07:44 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Tue, 11 Oct 2016 20:14:41 +0000 (11 22:14 +0200)
tree3fe0ca49397f71530d642dacd246119bbfbbabb7
parent51101d21b972b6afcef299795430cb5aea81e373
git-serve: Close orphan requests upon disown

When disowning a package base via the SSH interface, auto-accept all
pending orphan requests for the affected package.

Also, add a test case that checks whether (only) orphan requests
belonging to disowned packages are closed correctly.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
aurweb/git/serve.py
test/t1200-git-serve.sh