Bug#843835: UDD: expose an API for upstream versions to rmadison
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
Bug#843835: UDD: expose an API for upstream versions to rmadison
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 -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#843835: UDD: expose an API for upstream versions to rmadison
Hi Paul, On 10/11/16 at 13:54 +0800, Paul Wise wrote: > Package: qa.debian.org > User: qa.debian@packages.debian.org > Usertags: udd madison watch > Severity: wishlist > Control: affects -1 devscripts > > It would be nice if the UDD watch file scanning service had a madison > frontend that could be added to rmadison so that one could get the > upstream version of a package from the command-line. That would be easy. What should that API look like? Would returning all the info for a given source package, as json, be enough? Lucas signature.asc Description: PGP signature
Bug#843835: UDD: expose an API for upstream versions to rmadison
Package: qa.debian.org User: qa.debian@packages.debian.org Usertags: udd madison watch Severity: wishlist Control: affects -1 devscripts It would be nice if the UDD watch file scanning service had a madison frontend that could be added to rmadison so that one could get the upstream version of a package from the command-line. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part