=== tasdomas_afk is now known as tasdomas [10:30] is this a good place to talk about the launchpad API/python-launchpadlib? [10:30] Yes [10:31] I cobbled together a script to automate the copying of some PPA packages from precise to lucid: https://gist.github.com/mgedmin/6306694 [10:31] I'd like to make it run faster [10:31] which means I'd like to make it perform fewer HTTP roundtrips [10:31] I think I want to start by counting the HTTP requests that launchpadlib makes on my behalf [10:31] what would be a good way to do that? [10:32] I thought maybe monkey-patch urllib.urlopen or something [10:32] but maybe there's some hidden debug variable/logging handler/etc. that I could enable? [10:32] It uses httplib2 internally. [10:32] I usually start by just sticking an import httplib2; httplb2.debuglevel = 1 at the top of the script [10:32] cool, thanks! [10:32] It'll print out the requests [10:37] It doesn't look too horrible, although I'd probably use Archive.copyPackages (which in turn requires using the "devel" API version) rather than Archive.syncSources. [10:37] The interface is a bit different, but it's asynchronous and thus doesn't tend to suffer from the timeouts you can easily get with Archive.syncSources. [10:38] It also corresponds to what the web UI does these days. [10:52] the most common use case is where no copying can be done (because the new package is still waiting in the build queue), and that takes about 4 seconds (and 12 HTTP requests) [10:52] I think I can replace three source.getBuilds() with a single archive.getPublishedBinaries() [10:53] oh, a question [10:53] is there really no way to find out the estimated build time in the API? [11:01] It's not presently exposed. [11:14] ok [13:05] for https://bugs.launchpad.net/ubuntu-release-notes/+bugs?advanced=1 , why can one only target 12.04 releases? [13:06] pmatulis: Only the precise series has milestones: https://launchpad.net/ubuntu-release-notes/+series [13:07] wgrant: hm, ok [13:09] I believe we use series targeting for the others. === anmar is now known as anmar|food === tasdomas is now known as tasdomas_afk === anmar|food is now known as anmar [22:42] anyone here experiencing slow upload speeds to LP? Im only getting ~20kb/s transfers, though it might be my internet... [23:40] Could I ask someone to turn on arm builds for ppa:autopilot/experimental please? [23:42] thomi: Done [23:42] wgrant: thanks! I guess I'll need to push new versions of the packages already in that PPA to get ARM builds made, right? [23:42] thomi: That's right. [23:43] cool, thanks