[16:18] <Guest75493> can anyone confirm that I can get superseded ubuntu packages with the launchpad python api?
[16:42] <cjwatson> Guest75493: for some time, at least.  they will eventually be garbage-collected, although not in a timeframe you're especially likely to care about
[16:43] <cjwatson> you can for example use Archive.getPublishedBinaries
[16:44] <cjwatson> then each of the resulting BPPHs has a binaryFileUrls() method (if you're using the "devel" version of the API)
[16:49] <Guest75493> the timeframe I am interested in is at least three months.
[16:49] <cjwatson> that'll be fine
[16:50] <cjwatson> the absolute bare minimum for GCing old binaries is 18 months and in practice it's always rather more than that
[16:54] <Guest75493> I see. So if I know I had mysql-client_5.5.35-0ubuntu0.12.04.1_all.deb a few months ago, because of disaster I lost that file, and the package has been updated in the meantime, I can fetch that file again?
[17:03] <cjwatson> sure
[17:04] <Guest75493> Cool, thank you very much.
[17:04] <cjwatson> you can just download it from the web UI
[17:04] <cjwatson> https://launchpad.net/ubuntu/precise/amd64/mysql-client
[17:05] <cjwatson> pick your architecture although it won't matter much for _all.deb
[17:05] <Guest75493> I see, that is good to know.
[17:06] <Guest75493> Right now the api gives mit a 503 for getPublishedBinaries ... I gues since this is not such an important service, it is not so stable?
[17:06] <cjwatson> no, it should always work fine.  what exact call are you making?
[17:07] <Guest75493> ubuntu = launchpad.distributions["ubuntu"]
[17:07] <Guest75493> archive = ubuntu.main_archive
[17:07] <Guest75493> archive.getPublishedBinaries()
[17:07] <cjwatson> you can't just call it with no arguments, that's a ridiculously huge search to ask for
[17:07] <Guest75493> ... i was allready wondering ...
[17:08] <cjwatson> give it binary_name and version
[17:08] <cjwatson> but for a single file you're better off just using the web UI
[17:09] <Guest75493> eventually I will have to rebuild a mirror in the exact state as it was on day X, so I will need all packages for a specific release and architecture
[17:12] <Guest75493> cool, works. thank you very much!!!
[17:16] <cjwatson> np