Ludovic Courtès writes: > Roel Janssen <r...@gnu.org> skribis: > >> Ludovic Courtès writes: >> >>> Roel Janssen <r...@gnu.org> skribis: >>> >>>> The list of packages included in Guix [1] provides links to the build >>>> status of each package in the details. I would like to provide this >>>> information in a column after "Package details", either as an icon or as >>>> a count (e.g. 3/4 builds succeeded). This provides a nicer overview for >>>> the current status of the package. >>> >>> That’s appealing. However, it entails NUM-ARCHES × NUM-PACKAGES HTTP >>> requests, just when loading the page. That seems unreasonable. >> >> Maybe we could instead determine the build status at the time we >> generate the website's package list? > > IMO it wouldn’t be very useful since the list is updated once a day.
Ok. If we can instead fetch the status of all packages on all architectures in one HTTP request (using javascript on the client-side), would that be acceptable? The size of the build status information should be about the same size as the list of packages. For this we need a supporting API call of course.