[00:00] thanks wgrant [00:00] what is the best way to check the output of 'membership' to see if the person is a member or not? [00:03] jono: It's a list of team_membership objects that are either ubuntumembers or subteams of ubuntumembers. [00:03] They're a member if that list has any items. [00:03] right, but if I search using a username that doesn't exist I get a KeyError [00:04] Right, lp.people['something'] will raise a KeyError if the person doesn't exist. You can use any person object (probably the one you got from getByEmail earlier) in place of lp.people['somebody'] [00:07] this also seems to work: [00:07] try: [00:07] subteams = [team.name for team in lp.people['ubuntumembers'].sub_teams] [00:07] [membership for membership in lp.people[user].memberships_details if membership.team_link.rsplit('~', 1)[-1] in ['ubuntumembers'] + subteams] [00:07] print membership [00:07] except KeyError: [00:07] print "not found" [00:07] sorry for the paste [00:08] Right, that would work too. [00:08] thanks for the help wgrant [00:08] I really appreciate it [00:08] np [00:13] I think there is a bug in the code wgrant [00:13] oh hang on [00:14] yeah, there is a problem [00:14] subteams = [team.name for team in lp.people['ubuntu-core-dev'].sub_teams] [00:14] [membership for membership in lp.people[user].memberships_details if membership.team_link.rsplit('~', 1)[-1] in ['ubuntu-core-dev'] + subteams] [00:14] also returns me as a member...I am definitely not a core-dev :-) [00:16] ahh it looks like subteams is not returning anything [00:25] jono: core-dev doesn't have any subteams, does it? [00:26] wgrant, it doesnt look like it, and I worked around that a little [00:26] will pastebin [00:27] http://pastebin.ubuntu.com/843772/ [00:27] it still says I am a member [00:29] jono: http://paste.ubuntu.com/843777/ [00:31] thanks wgrant [00:31] just reading === Ursinha_ is now known as Guest63174 === soren_ is now known as soren [06:11] If I want to clone and project, make edits, push to my acocunt whats the commands I need? [06:16] PKHelloNasty: https://help.launchpad.net/Code/FindingAndDownloading and https://help.launchpad.net/Code/UploadingABranch are probably what you want. [06:16] wgrant, thanks. [06:18] wgrant, Interesting that GNome-Do is the example they use, its what I am editing. :D [06:19] Heh [07:27] aloha === czajkowski changed the topic of #launchpad to: https://launchpad.net/ | Help contact: czajkowski | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ | User Guide: https://help.launchpad.net/ | Support: https://answers.launchpad.net/launchpad | For packaging help: join #ubuntu-packaging [08:55] hi! I wonder if anyone could please help me with a launchpadlib login problem? [09:01] asa-san: morning [09:02] czajkowski: morning! so here is my problem [09:02] asa-san: whats the problem ? [09:02] I try to log into launchpad from a python application using login_with('my_app', 'staging') [09:02] This worked fine for some time, but suddenly stopped working. [09:02] Seems to be an authorization problem, turning on logs gives me this [09:02] send: 'GET /1.0/gcc-linaro HTTP/1.1\r\nHost: api.staging.launchpad.net\r\nAuthorization: OAuth realm="OAuth", oauth_nonce="56899489", oauth_timestamp="1329292578", oauth_consumer_key="System-wide%3A%20Ubuntu%20%28asa-laptop%29", oauth_signature_method="PLAINTEXT", oauth_version="1.0", oauth_token="MdzQdNpTgdFntTcJtZZd", oauth_signature="%26qR4gpRp02G4XcVrh4Mk9dnkNs0FcpK7gwPZdfKKvnS1lN4bz5lTvKrzhSSD2ZNDgR6tpZDv5ctbQGB8g"\r\naccept-encoding: gzip, deflate\r [09:02] \naccept: application/json\r\nuser-agent: lazr.restfulclient 0.11.1; application="taker"; oauth_consumer="System-wide: Ubuntu (asa-laptop)"\r\n\r\n' [09:02] reply: 'HTTP/1.1 401 Unauthorized\r\n' [09:02] I tried removing ~/.launchpad/* but that did not help. [09:03] has this just started to happen today ? [09:04] well, it worked last week. When I started working yesterday it did not work [09:04] so friday was the last time it worked... [09:04] ok let me ask and see [09:04] just give me a few mins to find out [09:04] thanks [09:04] thanks a lot [09:06] np [09:08] asa-san: so it seems staging gets reset over the weekend, so the credentials you used last week are not valid, you also may need to remove the cached credentials. hope that helps [09:10] czajkowski: ok, thanks! but I thought the credentials were stored in ~/.launchpad (by default) [09:12] asa-san: On desktops they're stored in your desktop keyring. [09:12] GNOME Keyring or KDE Wallet, usually. [09:13] wgrant: OK, that might explain things, I will check [09:30] Hello [09:31] How long can I leave a licence as 'I don't know yet' in Launchpad? [09:33] benonsoftware: I'm not sure but I can get back to you as I'll be reivewing them later on with the person who normally does it [09:34] and I can get back to you if you like [09:34] czajkowski: Yes please, as I am in charge of choosing a licence for a project but I would like to review each licence in detail [09:36] benonsoftware: can you drop me a mail laura.czajkowski@canonical.com and I will get back to you by tomorrow at the latest [09:36] What would you like me to mention in the email? [09:36] projects and what licience you think it could be [09:37] czajkowski: Ok, thanks for your help [09:38] np [09:38] sorry I can't be of more help just right now, but just started so need to make sure I give you the right information [09:40] czajkowski: No worries, thanks :p [10:00] Is codehosting down? [10:01] jml: Launchpad is offline for 90 seconds of scheduled maintenance. [10:01] 90s! [10:01] I can't wait that long. [10:02] actually, it's really heart-warming to hear [10:02] so much better than 2hrs [10:02] It's actually 75 seconds now, it seems. [10:02] We dropped a replica yesterday which speeds things up. [10:03] With a bit of luck it will be 30s soon :) [10:03] thats rather impressive [10:40] jml: Your comment reminds me of the Simpsons: Moe: "I got it on loan from the US Army. It can flash-fry a buffalo in 40 seconds." Homer: "Awwww, 40 seconds? I want it now!" [10:41] yeah :) [10:41] heh [11:32] thanks czajkowski and wgrant for your help, it works again (sorry for delay in feedback) [11:32] asa-san: glad it worked === danhg_ is now known as danhg === matsubara is now known as matsubara-lunch === matsubara-lunch is now known as matsubara === deryck is now known as deryck[lunch] === deryck[lunch] is now known as deryck === czajkowski changed the topic of #launchpad to: https://launchpad.net/ | Help contact: | Launchpad is an open source project: https://dev.launchpad.net/ | This channel is logged: http://irclogs.ubuntu.com/ | User Guide: https://help.launchpad.net/ | Support: https://answers.launchpad.net/launchpad | For packaging help: join #ubuntu-packaging [18:44] hello, any LP admins around that could assist with a project ID change? thx in advance! [18:50] jaypipes: hey, whats up? [18:53] lifeless: Hi Robert, thx for response. We (and by we I mean people in marketing) changed the name of the project formerly known as FreeCloud to TryStack... and we were hoping to change the http://launchpad.net/freecloud to http://launchpad.net/trystack. [18:56] jaypipes: you should be able to do that yourself, no ? [18:57] https://launchpad.net/freecloud/+edit [18:57] lifeless: no, does not give me ability to change the ID, only display name and description. [18:57] ok [18:57] could you open a ticket please [18:58] I will do immediately [18:58] lifeless: absolutely. link to where to submit ticket? sorry if I've asked this before :( [19:00] ^topic :) [19:00] Support: https://answers.launchpad.net/launchpad [19:01] lifeless: doh. sorry mate. [19:02] lifeless: cheers: https://answers.launchpad.net/launchpad/+question/187966 [19:02] de nda [19:03] done, with an alias left behind [19:03] lifeless: you rock, as always. thx much! [19:03] no probs [19:15] Hi folks [19:15] Can we have private mailing list on launchpad ? [19:18] LP supports them yes; you need a commercial subscription [19:19] lifeless: Thanks! === Guest22071 is now known as gord === matsubara is now known as matsubara-afk === chrisccoulson_ is now known as chrisccoulson [21:06] Quick Q: Is there any was to setup DEB_BUILD_OPTIONS per PPA? [21:58] hey all [21:58] I am trying to branch and keep getting: [21:58] ConnectionReset reading response for 'BzrDir.open_2.1', retrying [21:58] Permission denied (publickey). [21:58] bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. [21:59] I imported my public key after I did bzr launchpad-login [21:59] any idea how I fix this? [22:00] jono, sounds like a problem with launchpad [22:01] hmmm [22:03] jono, actually, I think it's just you [22:03] works fine here [22:04] jono, try: sftp bazaar.launchpad.net [22:05] jono@netbook:~$ sftp bazaar.launchpad.net [22:05] Permission denied (publickey). [22:05] Couldn't read packet: Connection reset by peer [22:05] looks like my public key isnt working [22:06] yeap [22:06] ssh -v bazaar.launchpad.net -- is it offering the key you expect? [22:06] e.g. i see [22:06] debug1: Offering RSA public key: mwh@localhost [22:06] debug1: Server accepts key: pkalg ssh-rsa blen 149 [22:06] * thumper high fives beuno [22:06] o/ thumper [22:07] it pasted a lot of output and then says perm denied (public key) [22:07] mwhudson, ^ [22:07] jono: not useful :) [22:07] jono: pastebin it [22:08] mwhudson, http://pastebin.ubuntu.com/845053/ [22:09] I think I might just need to add my key again [22:09] maybe create a new key [22:12] mwhudson, any idea? [22:14] I am going to create new keys and try that [22:15] have you double checked the permissions on ~/.ssh ? [22:15] that can catch people out. [22:15] No, that's not the problem [22:15] Your username on LP is not jono [22:16] that's also true. [22:16] StevenK, where does it get jono from? [22:16] my email address? [22:16] bzr takes it from what you gave lp-login [22:16] I set my bzr launchpad-login to jonobacon [22:17] jono: ssh uses $USER by default [22:17] but testing with jonobacon@bazaar.launchpad.net is what you want [22:18] it would be nice if bzr was more user-friendly than plain ssh for debugging permissions errors, but that's alas not the case [22:18] hmmm so what do I need to do? [22:18] First, confirm that jonobacon@bazaar.launchpad.net works [22:19] you want the "No shells on this server." when sshing to that [22:19] What I do is edit ~/.ssh/config to add 'Host bazaar.launchpad.net\nUser jonobacon\n' [22:21] jono: 'ssh jonobacon@bazaar.launchpad.net' [22:21] it looks like my new key is not in the keyserver yet [22:21] so LP won't take it [22:21] jono: gpg keys have nothing to do with this [22:21] wrong kind of key [22:21] jono: you're going off in all kinds of wrong; slow down and be guided :P [22:21] if your key appears in launchpad.net/~/+sshkeys it's good [22:22] lifeless, I am getting a little confused here - I create a key using gpg, added it to the keyserver and then I am using https://launchpad.net/~jonobacon/+editpgpkeys to add the key [22:22] jono: yes you are confused :) [22:23] so what do I need to do? [22:23] jono: 'ssh jonobacon@bazaar.launchpad.net' [22:23] <-- idiot [22:23] jono: pastebin the output [22:23] jono: understand that gpg keys and ssh keys have nothing to do with each other [22:23] permission denied [22:23] jono: this is not pastebin. [22:23] I am doing this on another machine other than my computer [22:23] jono: pastebin is where you copy the entire output and put it on paste.ubuntu.com [22:23] lifeless, it was one line: Permission denied (publickey) [22:24] jono: thank you [22:24] I have no ssh keys set up on this new machine [22:24] so, you need to do so. [22:24] can I use my ssh key from my main computer? [22:24] you can either copy your ssh private key over [22:24] or you can make a new one and add it to LP [22:25] ok I copied my other key over [22:25] try again [22:25] now I get the no shells message [22:25] great [22:25] now [22:25] victory [22:25] try bzr again [22:25] success! [22:26] so how does gpg fit into this? [22:26] I was obviously confusing this [22:26] It doesn't [22:26] It is utterly seperate [22:26] gotcha [22:26] what are gpg keys used for? [22:26] out of curiosity [22:27] In LP's case, signing source packages and archives [22:27] gotcha [22:27] thanks, folks, for all your help :-) [22:27] Oh, and the CoC [22:27] Always forget about that === maco2 is now known as maco [22:28] it does not [22:31] jono: you need a badge for this [22:38] :-) [22:39] i'm surprised you didn't get the badge for this back when you used a gpg key to sign the coc [23:25] StevenK, I am back [23:52] hey folks [23:53] I am getting an SSLError: The read operation timed out error on a script I am using [23:53] have you folks seen this error before? [23:53] strangely the script works fine on one of my machines, but not the other