=== mwhudson is now known as zz_mwhudson === caktux_ is now known as caktux === mpt_ is now known as mpt === wedgwood is now known as Guest12754 === caktux_ is now known as caktux === isha is now known as Guest75493 [16:18] can anyone confirm that I can get superseded ubuntu packages with the launchpad python api? === TRB143_ is now known as TRB143 [16:42] 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] you can for example use Archive.getPublishedBinaries [16:44] then each of the resulting BPPHs has a binaryFileUrls() method (if you're using the "devel" version of the API) [16:49] the timeframe I am interested in is at least three months. [16:49] that'll be fine [16:50] the absolute bare minimum for GCing old binaries is 18 months and in practice it's always rather more than that [16:54] 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] sure [17:04] Cool, thank you very much. [17:04] you can just download it from the web UI [17:04] https://launchpad.net/ubuntu/precise/amd64/mysql-client [17:05] pick your architecture although it won't matter much for _all.deb [17:05] I see, that is good to know. [17:06] 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] no, it should always work fine. what exact call are you making? [17:07] ubuntu = launchpad.distributions["ubuntu"] [17:07] archive = ubuntu.main_archive [17:07] archive.getPublishedBinaries() [17:07] you can't just call it with no arguments, that's a ridiculously huge search to ask for [17:07] ... i was allready wondering ... [17:08] give it binary_name and version [17:08] but for a single file you're better off just using the web UI [17:09] 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] cool, works. thank you very much!!! [17:16] np === debfx_ is now known as debfx === Ursinha is now known as Ursinha-afk === TheLordOfTime is now known as teward === Ursinha-afk is now known as Ursinha