Latest features in autopkgtest-cloud
Florent 'Skia' Jacquet
florent.jacquet at canonical.com
Thu Mar 14 16:20:38 UTC 2024
Le 14/03/2024 à 16:51, Mitchell Augustin a écrit :
> > the page is absolutely **not** dynamic
>
> Thanks for pointing that out! Interestingly enough, @dann frazier
> <mailto:dann.frazier at canonical.com> and I were just recently considering
> querying autopkgtest.ubuntu.com <http://autopkgtest.ubuntu.com> as one
> part of the update process for one of our internal dashboards, so this
> is very relevant info for us. Is it safe to assume that this means it
> will stay that way? (one query method we were considering is scraping
> the HTML as long as the format does not change frequently, as this would
> allow us to query for a single package as opposed to downloading the
> entire multiple GB database and querying that instead)
>
I guess it could be not too hard for us to implement for example a
`?json` argument for those pages. At least for the
`/packages/<name>/<release>/<arch>` page, I could see a quick way to do
so, since we already compute everything in a single data structure to
fill up the table. The `/packages/<name>` page doesn't have this
computing yet, so it's a bit harder.
May I suggest that you fill a bug here [1] with some details on your
use-case and requirements, it would probably be easier to track down
this topic rather than through a mailing list thread :-)
Thanks
[1]: https://bugs.launchpad.net/auto-package-testing/
More information about the ubuntu-devel
mailing list