[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1025984: watch: add json output



On Fri, Dec 23, 2022 at 11:10:18AM +0100, Lucas Nussbaum wrote:
> On 12/12/22 at 21:26 +0000, Jelmer Vernooij wrote:
> > Package: qa.debian.org
> > Severity: wishlist
> > 
> > It would be great if watch had a json mode, like vcswatch does.
> > 
> > E.g. allowing the retrieval of https://qa.debian.org/cgi-bin/watch?package=foo&json=1 to get the watch status for package foo.
> 
> Hi,
> 
> Note that this CGI just queries UDD. If this request is related to your
> work on Janitor, I wonder if it would be better for you to run a private
> UDD mirror, or query the public UDD mirror using SQL?

Yeah, the Janitor uses UDD for most of its scheduling. :)

I'm planning to use this for one-off fetches.

Jelmer


Reply to: