Comment 3 for bug 1088527

Revision history for this message
Łukasz Czyżykowski (lukasz-czyzykowski) wrote :

Currently there's no way to get the filesize from the Launchpad API. Suggested approaches were to screen-scrape ppa details page or issue HEAD to binary file URL.

Both of those require to have proper credentials for web version of Launchpad.

Additionally HEAD request seems to be treated like GET by the Launchpad, so that would be heavy weight approach (downloading every file from the PPA)