Roel Janssen <[email protected]> skribis: > Ludovic Courtès writes: > >> Roel Janssen <[email protected]> skribis: >> >>> Ludovic Courtès writes: >>> >>>> Roel Janssen <[email protected]> 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.
This would be OK, yes. We just need to make sure Hydra executes said request in a reasonable amount of CPU time. Thanks, Ludo’.
