|
pygitweb: return 404 instead of 500 for missing boards and tasks * get_board/get_task raise KeyError for missing refs, so route 404 checks never ran; add _find_board/_find_task helpers that return None * task update checks the board exists before writing, so a bad board name no longer saves the change and then fails * GET /tasks/list returns 404 for a missing board * boards and tasks can be created in a repo with no commits (_repo_head_or_empty checks head_is_unborn instead of catching KeyError) * comment routes are unchanged; their 500s stay marked xfail |