FS#67812 - Capture and summarize downloader errors
|
Details
With the parallel downloader, we capture all error messages
and report them at the end. If there is a bad mirror at the
top of your mirror list, this can lead to many lines of
output (particularly in the package download stage).
e.g. $ pacman -Syy :: Synchronizing package databases... testing 18.7 KiB 9.09 KiB/s 00:02 [######################] 100% core 132.9 KiB 67.1 KiB/s 00:02 [######################] 100% extra 1670.0 KiB 567 KiB/s 00:03 [######################] 100% community-testing 6.3 KiB 3.47 KiB/s 00:02 [######################] 100% community 5.2 MiB 1514 KiB/s 00:03 [######################] 100% error: failed retrieving file 'community.db' from allanmcrae.com : The requested URL returned error: 404 error: failed retrieving file 'core.db' from allanmcrae.com : The requested URL returned error: 404 error: failed retrieving file 'extra.db' from allanmcrae.com : The requested URL returned error: 404 error: failed retrieving file 'community-testing.db' from allanmcrae.com : The requested URL returned error: 404 error: failed retrieving file 'testing.db' from allanmcrae.com : The requested URL returned error: 404 |
This task depends upon
error: failed retrieving file(s) from example.com : The requested URL returned error: 404
And then making the list of errors unique when outputting.
Also need to think is "error" right here? It is only an error when file retrieves fail from all mirrors. Perhaps this should be a warning?