On 29/06/20 at 09:49 +0800, Paul Wise wrote: > On Sun, 2020-06-28 at 18:17 +0200, Lucas Nussbaum wrote: > > > That would be easy. What should that API look like? Would returning all > > the info for a given source package, as json, be enough? > > Probably just the same API as the existing rmadison APIs. Since there > is already a udd madison script, probably just add it there with an > additional parameter. Since the ftp-master NEW madison API is in a > similar situation and uses s=new as the additional parameter, I suggest > one of s=upstream, s=uscan or s=watch as the additional parameter. > > https://api.ftp-master.debian.org/madison?s=new > https://qa.debian.org/cgi-bin/madison.cgi
Actually, modifying https://qa.debian.org/cgi-bin/madison.cgi to take an additional parameter as you describe should be simple, and does not need any change on the "core UDD" side. Note that UDD exposes watch status for both unstable and experimental. Both should probably be exposed using that API as well. Lucas
signature.asc
Description: PGP signature