=== mwhudson is now known as zz_mwhudson | ||
mitya57 | Can anybody please check why Launchpad didn't pick up xpdf 3.03-16+experimental1 in Debian experimental? | 06:23 |
---|---|---|
mitya57 | It was uploaded 2 days ago, but I still can't sync it. | 06:23 |
=== isha is now known as Guest44405 | ||
Guest44405 | Hi, I need some help with the launchpadlib api: http://pastebin.com/cwTYysi9 | 09:43 |
Guest44405 | I am missing binaryFileUrls() ... am I using a wrong version of launchpadlib? | 09:44 |
Guest44405 | (I want to download a package that has been superseded) | 09:45 |
cjwatson | Guest44405: you need to use the devel API version | 09:52 |
cjwatson | version='devel' to Launchpad.login_anonymousely | 09:53 |
cjwatson | -e | 09:53 |
Guest44405 | I see, I'll try that | 09:53 |
Guest44405 | packages[1].binaryFileUrls() | 09:57 |
Guest44405 | [] | 09:58 |
Guest44405 | so that works, but returns an empty list - maybe I need to provide some aruments ... the apidoc mentions ws.op. what is that supposed to mean? | 09:59 |
geser | shouldn't binaryFileUrl on the source_package_publication_history object also work? or does it return something different (it exists in both versions of the API) | 10:00 |
geser | Guest44405: you don't need to care about ws.op, launchpadlib takes care of that | 10:01 |
Guest44405 | geser: ok. I need binaries, not sources. how do I get the actual url for the package in question? | 10:02 |
geser | Guest44405: packages = archive.getPublishedSources(source_name='grub2', version='1.99-21ubuntu3.10', pocket='Updates') and then packages[0].binaryFileUrls() | 10:15 |
geser | you need to filter the .deb from that list that you are interested in | 10:15 |
geser | I guess getPublishedBinary() doesn't return the expected list as the package isn't published anymore (but superseded) | 10:16 |
Guest44405 | I can get the package via the web interface, so it should be accessible somehow. | 10:17 |
geser | yes, the source_package_publishing_history has all the .debs listed in binaryFileUrls() | 10:19 |
Guest44405 | Ok, that seems to work. Do I understand correctly: in order to get a superseded binary file, I can get the download link via the getPublishedSources? (a bit counter intuitive for me) | 10:23 |
Guest44405 | if I know I want grub-common, I will have to search for sources of grub2. How do I know which source package I should query, in order to get the url for the actual binary? | 10:25 |
=== charles_ is now known as charles | ||
jose | hey guys, anyone has time to look at #42155? | 17:10 |
jose | (that's on the feedback system) | 17:10 |
czajkowski | jose: they're on sprint this week could be slow to reply | 17:15 |
jose | czajkowski: oh, ack then | 17:15 |
=== teward is now known as TheLordOfTime | ||
=== TheLordOfTime is now known as teward | ||
=== zz_mwhudson is now known as mwhudson | ||
dobey | anyone around? the branch scanner seems to be borked. :( | 19:55 |
zyga | hi | 20:31 |
roadmr | zyga: hello | 20:31 |
zyga | launchpad is not generating any diffs for a while for our project | 20:31 |
zyga | is it broken or just very *very* busy? | 20:32 |
beuno | zyga, in maintance | 20:32 |
beuno | will be back soon | 20:32 |
roadmr | beuno: oh so we don't need to fear for launchpad's health :D | 20:32 |
* beuno doesn't have any further comments | 20:33 | |
roadmr | beuno: it's ok, we can wait. thanks! | 20:34 |
jtaylor | is there a way to work around this recipe issue: https://launchpadlibrarian.net/163708425/buildlog.txt.gz | 20:34 |
jtaylor | utf-8 filename added to the source recently which seemd to have caused this | 20:35 |
reed | hi evgeny | 22:53 |
evgeny | reed: hello | 22:54 |
evgeny | wgrant, StevenK: may I ask a question about the launchpadlib and the api.staging.launchpad.net? | 22:55 |
reed | evgeny, they may not be around, timezone diffferences :) | 22:56 |
evgeny | reed: in what time zone are they? | 22:57 |
reed | not sure, but maybe other people here can answer or they read the logs when they wake up | 22:57 |
wgrant | evgeny: staging's down at the moment for a DB updagte, but what's the issue? | 23:04 |
wgrant | It should be back in a day or so; you ca nuse qastaging.launchpad.net in the meantime. | 23:04 |
evgeny | wgrant: we're trying to import launchpad answers into ask.openstack.org | 23:05 |
evgeny | wgrant: so we should just wait? | 23:05 |
evgeny | ok | 23:06 |
reed | why would we want to use staging as opposed to production? | 23:06 |
evgeny | wgrant, reed: in production I'm getting AttributeError: https://api.launchpad.net/1.0/nova object has no attribute 'searchQuestions' | 23:06 |
reed | evgeny, nice, I didn't know that... different codebase between staging and production? | 23:07 |
evgeny | trying qastaging | 23:07 |
wgrant | evgeny: The seachQuestions method isn't in the 1.0 API | 23:08 |
wgrant | You need to use version='devel' | 23:08 |
wgrant | And this hotel wireless is dreadful, forgive typos | 23:08 |
wgrant | 1.5s latency ftw. | 23:08 |
evgeny | I have the same issue with qastaging - no method available, trying devel | 23:09 |
wgrant | Sure, the API versions are currently identical across all LP instances. | 23:09 |
cjwatson | wgrant: Have you noticed the special local network configuration yet? | 23:09 |
wgrant | cjwatson: 192/8? | 23:10 |
wgrant | Yeah | 23:10 |
evgeny | wgrant: "devel" does not work at all | 23:10 |
cjwatson | Yep | 23:10 |
wgrant | It's pretty amusing | 23:10 |
wgrant | evgeny: How are you trying to use it? | 23:10 |
evgeny | wgrant: ValueError: devel is not a valid URL or an alias for any Launchpad server | 23:10 |
evgeny | launchpad = Launchpad.login_with( 'Extract Answers', 'devel', credential_save_failed=no_credential ) | 23:10 |
wgrant | evgeny: Launchpad.login_with('some consumer', 'production', version='devel') | 23:11 |
wgrant | I think that is right | 23:11 |
wgrant | But I cannot see what I am typing for like 10 seconds | 23:11 |
wgrant | so we'll see... | 23:11 |
wgrant | yes, what I said is corret | 23:11 |
wgrant | devel is an API version, not an instance | 23:11 |
evgeny | wgrant, reed: working now, thanks! | 23:13 |
reed | evgeny, auth is working and no issue with seachQuestions? | 23:13 |
evgeny | reed: downloading the data now | 23:14 |
evgeny | works fine | 23:14 |
* reed is happy | 23:14 | |
reed | thanks wgrant | 23:14 |
evgeny | yes, thanks! | 23:14 |
wgrant | Great | 23:18 |
=== TheLordOfTime is now known as teward | ||
jtaylor | ok I'll file a bug then: https://bugs.launchpad.net/launchpad/+bug/1273487 | 23:59 |
ubot5 | Ubuntu bug 1273487 in Launchpad itself "daily recipe fails for utf-8 filenames" [Undecided,New] | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!