From: Joerg Jaspert Date: Sat, 6 Dec 2014 14:37:06 +0000 (+0100) Subject: Not nice, but some doc X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=c4a632e83afddddc51fe62927c343e9b54f6f69c Not nice, but some doc Signed-off-by: Joerg Jaspert --- diff --git a/dakweb/queries/madison.py b/dakweb/queries/madison.py index eb8c45cd..9678a36e 100644 --- a/dakweb/queries/madison.py +++ b/dakweb/queries/madison.py @@ -6,6 +6,16 @@ from dakweb.webregister import QueryRegister @bottle.route('/madison') def madison(): + """ + Display information about packages. + + b=TYPE only show info for binary TYPE + c=COMPONENT only show info for COMPONENT(s) + s=SUITE only show info for this suite + S=true show info for the binary children of source pkgs + f=json output json format + """ + r = bottle.request packages = r.query.get('package', '').split()