[opensuse-buildservice] Comment for compile_dispatches in BSServer.pm
mls... is this about right?
# dispatches are the uri pattern => fn() mapping
#
# eg
# 'POST:/source/$project/$package cmd=diff rev? orev:rev? oproject:project?
opackage:package? expand:bool? linkrev? olinkrev:linkrev? unified:bool?' =>
\&sourcediff,
#
# maps a URI like:
# /source/home:lbt/emacs?332&orev=323&oproject=home:cvm&opackage=vi&expand&
# to call
# &sourcediff with
# $project=home:lbt
# $package=emacs
# $cmd=diff
# $rev=332
# $orev=323
# $expand=1
#
# [<auth>] [<header>] <path> [<variables>] => <function>
# <auth> ::== "!" <role>
# <header> ::== ( "GET" | "HEAD" | "PUT" | "POST" | "DELETE" ) ":"
# <path> ::== { "/" <path-element> }+
# <path-element> ::==
participants (1)
-
David Greaves