=== Ursinha is now known as Ursinha-afk [00:25] hi all I hope this is the right channel, but I was wondering if there's a way to obtain the list of packages that someone X uploaded, using the launchpadapi? If so, can someone point me out to what should I be reading for that? Thank you! [00:25] this is the right channel [00:25] api docs [00:25] https://launchpad.net/+apidoc/devel.html [00:26] lifeless: yeah I was looking there but I can't seem to find anything for what I'm lookin for :( [00:27] it may not exist yet [00:27] feel free to file a bug [00:27] lifeless: will do! thanks! === Ursinha-afk is now known as Ursinha === wgrant changed the topic of #launchpad to: https://launchpad.net/ | Help contacts: sinzui | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ [03:05] Is there any way to see a list of downloadable files in a project? [03:06] like on https://launchpad.net/bzr/+download [03:06] ? [03:12] lifeless: can you use that in a debian/watch file? [03:13] no, its paginated [03:13] uhm [03:13] have a look at the bzr packages watch file [03:14] it probably has what you need [03:15] hm.. [03:16] that opts looks a bit crazy [03:18] lifeless: any chance you could explain that part to me? [03:18] I'd need to go read the manual [03:18] I just knew it was an example using lp [03:18] opts="uversionmangle=s/rc/~rc/;s/b/.0~beta/" \ === Guest690000 is now known as Ubuntux [03:21] heh.. there's nothing even about that in http://wiki.debian.org/debian/watch/ [03:22] thats just for handling bzrs version numbers [03:22] just like using sed before it's evaluated? [03:26] lifeless: thanks :) === menesis1 is now known as menesis === Ursinha is now known as Ursinha-zzz [10:49] hi. is anyone around who is familiar with the launchpad API? [10:50] mwb_suse: Sure. [10:54] wgrant: I'm trying to figure out if it's possible to pull details (description and comments, primarily) for multiple bugs from Launchpad with a single call. Is that even possible? [10:55] with bugzilla it's just a matter of either tacking on extra id= parameters, or passing an array to their XMLRPC interface, but I can't find anything in the Launchpad docs about that [10:56] mwb_suse: There's no way to do that at the moment. It's something that we want to do, though. [10:57] It's mostly specced out, but not yet scheduled. [10:58] ah, OK. is there a vague ETA on that feature? [10:58] I'm afraid not. [10:59] Ah well. Thanks! [11:00] mwb_suse: you can use martin pools twisted api client [11:00] which will do overlapping concurrent requests [11:00] (but don't set the concurrency too high - it can generate a lot of server load) [11:01] mwb_suse: you using launchpadlib? [11:02] no, Qt/C++ [11:03] i'll just wait for server support; multiple requests wouldn't be a good use of server resources [11:03] mwb_suse: you using the raw api? [11:03] the restful api? [11:05] yeah. for context - i'd like to add launchpad support to a caching desktop bug tracker client (http://entomologist.sf.net). so currently, i guess it would wind up being a single request for every bug a user has assigned to them [11:06] yeah [11:06] so you are writing the wrapper by hand? [11:07] the Qt/C++ wrapper around RESTful API? [11:07] yes. it's actually a pretty easy API to work directly with once [11:07] s/once// [11:07] writing by hand or generating it? [11:07] I am also writing the mono wrappers [11:09] i'm doing it by hand. it didn't even occur to me to look for a WADL -> QObject generator... [11:10] Bugs part is done [11:10] is there any? [11:10] WADL -> QObject generator? [11:10] I'm doubtful one exists [11:11] besides, you run the risk of having to rewrite massive chunks of your code if LP changes [11:12] isn't that the point of having API versions? [11:12] ok, _when_ LP changes then [11:13] uhm [11:13] you have to rewrite code no matter what [11:13] I have written for mono wadl-sharp for generating C# code from WADL [11:13] but WADL being a confusing spec [11:13] I mean I'd rather write something like obj.call("someLPCall", args...) than individual methods for LP calls [11:13] I doubt what I made is actually correct [11:13] if we change something, you have to change. [11:13] however [11:13] we release versions (like 1.0) that we guarantee for years (excepting very rare circumstances) [11:13] I am using 1.0 for it [11:13] gnight [11:14] tsimpson: re-writing code is LP changes [11:14] but if you call LP methods dynamically, only the applications need to change, not the LP binding [11:14] in which case? [11:14] generation by tool or writing by hand? [11:14] tsimpson: the problem is with statically typed languages [11:14] like C# [11:15] it is painful to do things dynamically [11:15] which is why I use python with Launchapd, and C++ with anything else :) [11:15] I asked Leonard [11:15] he said the API will change in a backward compactible way [11:15] but not 100% guaranteed [11:16] when you do foo.someMethod(...) in launchpadlib, it actually translates to another method on foo which includes "someMethod" and the arguments [11:16] so it only looks like a static API on the client-side, but it's dynamically generated from the WADL [11:17] dynamically every request too [11:17] so if the no of arguments for a method changes [11:17] in this case the static method will fail [11:17] well, every request to the root URI, not *every* request [11:17] m4n1sh: All args are named. [11:17] Not positional. [11:18] right now I am generating C# code from WADL [11:18] what all bad things can happen [11:18] it is generated once [11:18] and then shipped [11:18] it doesnt generate dynamically [11:18] you'd be better off giving a map/dict to each method as the arguments [11:19] but then you probably need some "variant" class, like QVariant in Qt to get a map of string->any_type [11:29] one other question - does launchpad have an API call, or some other way to identify that a server is running a launchpad instance? [11:31] mwb_suse: you have to specify which launchpad instance you want to use (IIRC) [11:32] mwb_suse: There has traditionally only been a single production Launchpad instance, so not really :/ [11:33] but staging and edge [11:33] I think edge is now no more [11:33] m4n1sh: i mean if someone runs their own launchpad instance on bugs.example.com or something [11:34] then it should be production [11:34] wgrant: well, one more thing on the wishlist for v1.1, then :-) [11:35] m4n1sh: but if there's no identifying call, eg. http://bugs.example.com/api, there's no way to distinguish whether or not a server is running a launchpad instance [11:35] yeah [11:37] you can just use a standard GET to the service root with a header of "Accept: application/vnd.sun.wadl+xml" [11:38] if you get back a WADL definition, you can parse that and see if it's a launchpad instance or not [11:38] True. THere are some reasonably definitive wadl:docs there. [11:38] i don't see an identifier in there [11:39] there's an "About this service" wadl:doc with "Launchpad" in it [11:40] or you can just look at the wadl and see if it looks like an LP service [11:43] yeah, that works [11:44] unless someone goes out of their way to customize the service definition, it should be fairly easily detectable [11:44] and the likelihood of you even getting a wadl definition on some random server is low anyway [11:52] thanks again for the help! === yofel_ is now known as yofel === sinzui changed the topic of #launchpad to: https://launchpad.net/ | Help contacts: - | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ [15:56] hello anyone can help me with the fingerprint, the webpage does not accept it (BTW i'm a noob LOL) [16:18] any admin arround? [16:37] crom: fingerprint? [16:40] crom: Hi [16:40] you issue? [16:40] *your [16:41] the page says that there is an error with the fingerprint....or wait 10 min for the fingerprint to be uploaded [16:42] sorry? [16:44] any idea? [16:47] your RSA/DSA fingerprint? [16:47] you uploading your GPG public key? [16:48] yes i did by... [16:48] gpg --send-keys --keyserver keyserver.ubuntu.com "pub-id" [16:50] well nevermind the i have to go now ...thanks [17:46] hi, how long does it take for a ppa to get completly deleted? [17:50] luv: you deleted a PPA? [17:50] in my case it still shows that the repo exists [17:50] in my LP profile [17:50] but others cannot see this [17:51] hell [17:51] i had a really cool for that ppa [17:52] and now i was about to create one with the same name [17:52] because i forgot password for my old openpgp key :-) [17:52] and there is no way to change the key for a ppa [17:53] anyway, at least, i can exercise my creativity again :-) [17:53] thanks [18:22] luv: I'm afraid you've misunderstood - your openpgp key is not linked to a specific PPA [18:23] luv: you only need to sign the source package you upload to the PPA, with *any* of your registered pgp/gpg keys [18:31] not really [18:31] for example, add-apt-repository downloads a specific key when adding a ppa [18:32] and you can see the ppa listed on your ppa launchpad website [18:32] sorry [18:32] and you can see the _key_ listed on your ppa launchpad website [18:35] luv: your key has nothing to do with the PPA key [18:35] you sign the package so LP knows it comes from you, then LP builds it and signs it so users know it comes from LP [18:36] you can change your keys all you want, as long as LP knows the key you are using to upload is associated with your account [18:54] tsimpson: and then add-apt-repository comes in [18:55] all add-apt-repository does is get's the PPA deb source, pulls the key for the PPA, and adds it to the keyring [18:55] it has nothing to do with what key you used to sign the source packages with when you upload [19:07] the problem is in the part where add-apt-repository pulls the key for the ppa [20:24] hey there [20:25] it seems that some users are unable to reach my PPAs [21:41] We need to add ubuntu-dev as member into ~ubuntu-branches to maintain statuses. is it possible? [21:46] the tb owns ubuntu-branches [22:01] hi there, I'm running into OOPSes like OOPS-1883F2268 when trying to access a list of bugs, in that case https://launchpad.net/ubuntu/+bugs?assignee_option=none&field.assignee=&field.component=1&field.component=2&field.component-empty-marker=1&field.has_no_package.used=&field.has_patch.used=&field.importance:list=Undecided&field.omit_dupes=on&field.omit_dupes.used=&field.owner=&field.searchtext=&field.status:list=New&orderby=-datecreated&se [22:01] arch=Search&start=1575 [22:01] https://lp-oops.canonical.com/oops.py/?oopsid=1883F2268 [22:16] Hi. We have a merge proposal from a new contributor that's had a lot of back and forth (we have high standards), and eventually one of our developers decided to make the final changes necessary for acceptance, himself. [22:16] Ampelbein: hi, just waiting for that to sync to be able to look at it for you [22:16] He tried to mark the merge as superceded by his own branch, and ran into OOPS-1883A2286 [22:16] https://lp-oops.canonical.com/oops.py/?oopsid=1883A2286 [22:17] am I right in thinking that when his branch is merged, the original wone will be marked as merged? We don't really want to mark it as rejected, because it wasn't [22:17] lifeless: no stress, I realise it's saturday evening for some people ;- [22:17] Ampelbein: sunday morning in fact ;) [22:17] tumbleweed: i think you are [22:18] lifeless: ok, that's probably the best route out of here then. We don't want to alienate too much. [22:39] Ampelbein: its a timeout [22:40] Ampelbein: we have been working on search, still more to do. I'll make sure there is a bug dedicated to this later today. [22:41] lifeless: ok, so it's nothing fancy going wrong. Will try to narrow down my search options a little in that case. thanks for checking! [22:43] Ampelbein: its one query taking 10 seconds on its own [22:45] ah [22:45] you're at page 1575 of the search?! [22:45] sorry, page 15 [22:45] thats probably it [22:45] lifeless: in that case, yeah. [22:46] lifeless: I start at page 1 and click through to see if I find anything interesting.