/srv/irclogs.ubuntu.com/2011/02/26/#launchpad.txt

=== Ursinha is now known as Ursinha-afk
RoAkSoAxhi 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
lifelessthis is the right channel00:25
lifelessapi docs00:25
lifelesshttps://launchpad.net/+apidoc/devel.html00:25
RoAkSoAxlifeless: yeah I was looking there but I can't seem to find anything for what I'm lookin for :(00:26
lifelessit may not exist yet00:27
lifelessfeel free to file a bug00:27
RoAkSoAxlifeless: will do! thanks!00:27
=== 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/
MTecknologyIs there any way to see a list of downloadable files in a project?03:05
lifelesslike on https://launchpad.net/bzr/+download03:06
lifeless?03:06
MTecknologylifeless: can you use that in a debian/watch file?03:12
lifelessno, its paginated03:13
lifelessuhm03:13
lifelesshave a look at the bzr packages watch file03:13
lifelessit probably has what you need03:14
MTecknologyhm..03:15
MTecknologythat opts looks a bit crazy03:16
MTecknologylifeless: any chance you could explain that part to me?03:18
lifelessI'd need to go read the manual03:18
lifelessI just knew it was an example using lp03:18
MTecknologyopts="uversionmangle=s/rc/~rc/;s/b/.0~beta/" \03:18
=== Guest690000 is now known as Ubuntux
MTecknologyheh.. there's nothing even about that in http://wiki.debian.org/debian/watch/03:21
lifelessthats just for handling bzrs version numbers03:22
MTecknologyjust like using sed before it's evaluated?03:22
MTecknologylifeless: thanks :)03:26
=== menesis1 is now known as menesis
=== Ursinha is now known as Ursinha-zzz
mwb_susehi.  is anyone around who is familiar with the launchpad API?10:49
wgrantmwb_suse: Sure.10:50
mwb_susewgrant: 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:54
mwb_susewith 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 that10:55
wgrantmwb_suse: There's no way to do that at the moment. It's something that we want to do, though.10:56
wgrantIt's mostly specced out, but not yet scheduled.10:57
mwb_suseah, OK.  is there a vague ETA on that feature?10:58
wgrantI'm afraid not.10:58
mwb_suseAh well.  Thanks!10:59
lifelessmwb_suse: you can use martin pools twisted api client11:00
lifelesswhich will do overlapping concurrent requests11:00
lifeless(but don't set the concurrency too high - it can generate a lot of server load)11:00
m4n1shmwb_suse: you using launchpadlib?11:01
mwb_suseno, Qt/C++11:02
mwb_susei'll just wait for server support; multiple requests wouldn't be a good use of server resources11:03
m4n1shmwb_suse: you using the raw api?11:03
m4n1shthe restful api?11:03
mwb_suseyeah.  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 them11:05
m4n1shyeah11:06
m4n1shso you are writing the wrapper by hand?11:06
m4n1shthe Qt/C++ wrapper around RESTful API?11:07
mwb_suseyes.  it's actually a pretty easy API to work directly with once11:07
mwb_suses/once//11:07
m4n1shwriting by hand or generating it?11:07
m4n1shI am also writing the mono wrappers11:07
mwb_susei'm doing it by hand.  it didn't even occur to me to look for a WADL -> QObject generator...11:09
m4n1shBugs part is done11:10
m4n1shis there any?11:10
m4n1shWADL -> QObject generator?11:10
tsimpsonI'm doubtful one exists11:10
tsimpsonbesides, you run the risk of having to rewrite massive chunks of your code if LP changes11:11
mwb_suseisn't that the point of having API versions?11:12
tsimpsonok, _when_ LP changes then11:12
lifelessuhm11:13
lifelessyou have to rewrite code no matter what11:13
m4n1shI have written for mono wadl-sharp for generating C# code from WADL11:13
m4n1shbut WADL being a confusing spec11:13
tsimpsonI mean I'd rather write something like obj.call("someLPCall", args...) than individual methods for LP calls11:13
m4n1shI doubt what I made is actually correct11:13
lifelessif we change something, you have to change.11:13
lifelesshowever11:13
lifelesswe release versions (like 1.0) that we guarantee for years (excepting very rare circumstances)11:13
m4n1shI am using 1.0 for it11:13
lifelessgnight11:13
m4n1shtsimpson: re-writing code is LP changes11:14
tsimpsonbut if you call LP methods dynamically, only the applications need to change, not the LP binding11:14
m4n1shin which case?11:14
m4n1shgeneration by tool or writing by hand?11:14
m4n1shtsimpson: the problem is with statically typed languages11:14
m4n1shlike C#11:14
m4n1shit is painful to do things dynamically11:15
tsimpsonwhich is why I use python with Launchapd, and C++ with anything else :)11:15
m4n1shI asked Leonard11:15
m4n1shhe said the API will change in a backward compactible way11:15
m4n1shbut not 100% guaranteed11:15
tsimpsonwhen you do foo.someMethod(...) in launchpadlib, it actually translates to another method on foo which includes "someMethod" and the arguments11:16
tsimpsonso it only looks like a static API on the client-side, but it's dynamically generated from the WADL11:16
tsimpsondynamically every request too11:17
m4n1shso if the no of arguments for a method changes11:17
m4n1shin this case the static method will fail11:17
tsimpsonwell, every request to the root URI, not *every* request11:17
wgrantm4n1sh: All args are named.11:17
wgrantNot positional.11:17
m4n1shright now I am generating C# code from WADL11:18
m4n1shwhat all bad things can happen11:18
m4n1shit is generated once11:18
m4n1shand then shipped11:18
m4n1shit doesnt generate dynamically11:18
tsimpsonyou'd be better off giving a map/dict to each method as the arguments11:18
tsimpsonbut then you probably need some "variant" class, like QVariant in Qt to get a map of string->any_type11:19
mwb_suseone other question - does launchpad have an API call, or some other way to identify that a server is running a launchpad instance?11:29
m4n1shmwb_suse: you have to specify which launchpad instance you want to use (IIRC)11:31
wgrantmwb_suse: There has traditionally only been a single production Launchpad instance, so not really :/11:32
m4n1shbut staging and edge11:33
m4n1shI think edge is now no more11:33
mwb_susem4n1sh: i mean if someone runs their own launchpad instance on bugs.example.com or something11:33
m4n1shthen it should be production11:34
mwb_susewgrant: well, one more thing on the wishlist for v1.1, then :-)11:34
mwb_susem4n1sh: 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 instance11:35
m4n1shyeah11:35
tsimpsonyou can just use a standard GET to the service root with a header of "Accept: application/vnd.sun.wadl+xml"11:37
tsimpsonif you get back a WADL definition, you can parse that and see if it's a launchpad instance or not11:38
wgrantTrue. THere are some reasonably definitive wadl:docs there.11:38
mwb_susei don't see an identifier in there11:38
tsimpsonthere's an "About this service" wadl:doc with "Launchpad" in it11:39
tsimpsonor you can just look at the wadl and see if it looks like an LP service11:40
mwb_suseyeah, that works11:43
tsimpsonunless someone goes out of their way to customize the service definition, it should be fairly easily detectable11:44
tsimpsonand the likelihood of you even getting a wadl definition on some random server is low anyway11:44
mwb_susethanks again for the help!11:52
=== 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/
cromhello anyone can help me with the fingerprint, the webpage does not accept it (BTW i'm a noob LOL)15:56
cromany admin arround?16:18
m4n1shcrom: fingerprint?16:37
m4n1shcrom: Hi16:40
m4n1shyou issue?16:40
m4n1sh*your16:40
cromthe page says that there is an error with the fingerprint....or wait 10 min for the fingerprint to be uploaded16:41
cromsorry?16:42
cromany idea?16:44
m4n1shyour RSA/DSA fingerprint?16:47
m4n1shyou uploading your GPG public key?16:47
cromyes i did by...16:48
cromgpg --send-keys --keyserver keyserver.ubuntu.com "pub-id"16:48
cromwell nevermind the i have to go now ...thanks16:50
luvhi, how long does it take for a ppa to get completly deleted?17:46
m4n1shluv: you deleted a PPA?17:50
m4n1shin my case it still shows that the repo exists17:50
m4n1shin my LP profile17:50
m4n1shbut others cannot see this17:50
luvhell17:51
luvi had a really cool for that ppa17:51
luvand now i was about to create one with the same name17:52
luvbecause i forgot password for my old openpgp key :-)17:52
luvand there is no way to change the key for a ppa17:52
luvanyway, at least, i can exercise my creativity again :-)17:53
luvthanks17:53
maxbluv: I'm afraid you've misunderstood - your openpgp key is not linked to a specific PPA18:22
tsimpsonluv: you only need to sign the source package you upload to the PPA, with *any* of your registered pgp/gpg keys18:23
luvnot really18:31
luvfor example, add-apt-repository downloads a specific key when adding a ppa18:31
luvand you can see the ppa listed on your ppa launchpad website18:32
luvsorry18:32
luvand you can see the _key_ listed on your ppa launchpad website18:32
tsimpsonluv: your key has nothing to do with the PPA key18:35
tsimpsonyou sign the package so LP knows it comes from you, then LP builds it and signs it so users know it comes from LP18:35
tsimpsonyou can change your keys all you want, as long as LP knows the key you are using to upload is associated with your account18:36
luvtsimpson:  and then add-apt-repository comes in18:54
tsimpsonall add-apt-repository does is get's the PPA deb source, pulls the key for the PPA, and adds it to the keyring18:55
tsimpsonit has nothing to do with what key you used to sign the source packages with when you upload18:55
luvthe problem is in the part where add-apt-repository pulls the key for the ppa19:07
falktxhey there20:24
falktxit seems that some users are unable to reach my PPAs20:25
ari-tczewWe need to add ubuntu-dev as member into ~ubuntu-branches to maintain statuses. is it possible?21:41
lifelessthe tb owns ubuntu-branches21:46
Ampelbeinhi 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&se22:01
Ampelbeinarch=Search&start=157522:01
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=1883F226822:01
tumbleweedHi. 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
lifelessAmpelbein: hi, just waiting for that to sync to be able to look at it for you22:16
tumbleweedHe tried to mark the merge as superceded by his own branch, and ran into OOPS-1883A228622:16
ubot5https://lp-oops.canonical.com/oops.py/?oopsid=1883A228622:16
tumbleweedam 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't22:17
Ampelbeinlifeless: no stress, I realise it's saturday evening for some people ;-22:17
lifelessAmpelbein: sunday morning in fact ;)22:17
lifelesstumbleweed: i think you are22:17
tumbleweedlifeless: ok, that's probably the best route out of here then. We don't want to alienate too much.22:18
lifelessAmpelbein: its a timeout22:39
lifelessAmpelbein: we have been working on search, still more to do. I'll make sure there is a bug dedicated to this later today.22:40
Ampelbeinlifeless: 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:41
lifelessAmpelbein: its one query taking 10 seconds on its own22:43
lifelessah22:45
lifelessyou're at page 1575 of the search?!22:45
lifelesssorry, page 1522:45
lifelessthats probably it22:45
Ampelbeinlifeless: in that case, yeah.22:45
Ampelbeinlifeless: I start at page 1 and click through to see if I find anything interesting.22:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!