From c4a632e83afddddc51fe62927c343e9b54f6f69c Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 6 Dec 2014 15:37:06 +0100 Subject: [PATCH] Not nice, but some doc Signed-off-by: Joerg Jaspert --- dakweb/queries/madison.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() -- 2.39.5