UbuntuIRC / 2015 /06 /09 /#launchpad.txt
niansa
Initial commit
4aa5fce
=== jamesh_ is now known as jamesh
=== Spads_ is now known as Spads
[07:58] <mpt> Is there a quick way to get a given bug list in plain-text (e.g. CSV) format? I seem to remember this could be done by URL-hacking, but I don’t remember the details
[08:01] <wgrant> mpt: https://launchpad.net/launchpad/+bugs-text lists IDs, and https://launchpad.net/bugs/1234/+text is the text view of a particular bug.
[08:01] <ubot5> Launchpad bug 1234 in Launchpad itself "Gina is an unmaintainable mess of command line options, environment variables and shell scripts" [Medium,Fix released]
[08:01] <wgrant> But they're pretty much deprecated in favour of the API since about 2007.
[08:02] <mpt> ah, +bugs-text, that’s perfect, thanks wgrant!
[08:03] <mpt> That was exactly the level of API I needed. <http://xkcd.com/1481/>
[08:14] <wgrant> mpt: launchpadlib really isn't that hard, but sure :)
[08:15] <wgrant> The launchpadlib equivalent is 'from launchpad.launchpad import Launchpad; lp = Launchpad.login_anonymously('production', '+bugs-text equivalent'); for task in lp.projects['launchpad'].searchTasks(): print task.bug.id"
[08:15] <wgrant> s/launchpad/launchpadlib/
[08:20] <mpt> LOL
[08:23] <mpt> (My use case was, “I have these two bug lists open. They include many of the same bug reports. Which reports are only in one or the other?”)
=== soren is now known as soren_
=== soren_ is now known as soren
=== nickoe_ is now known as nickoe
[17:33] <Robe> ohai!
[17:34] <Robe> currently trying to get a newly created ppa filled with an initial build. dput completed successfully but I don't see any contend in the ppa, /builders/ doesn't seem to be backlogged
[17:35] <Robe> is there anything else I should check?
[17:35] <cjwatson> Robe: https://help.launchpad.net/Packaging/UploadErrors#The_upload_appears_to_work_but_I_don.27t_get_any_email_about_it
[17:36] <Robe> thanks!
[17:36] <cjwatson> In this case you appear to not have registered the signing key
[17:36] <Robe> yeah, that's it
[17:41] <Robe> cjwatson: do you know if I have to reupload the package after adding my key or if it gets picked up during the next build cycle?
[17:53] <Robe> cjwatson: thanks again, building now!
[17:53] <skay> is there a way for me to create credentials for a team account to use versus a personal account?
[18:42] <dobey> skay: how do you mean?
[18:42] <dobey> skay: shared credentials is generally a bad idea, in terms of security
[18:43] <skay> dobey: I have an app where I work that needs access to private repos
[18:43] <skay> dobey: no kidding, yeah
[18:43] <skay> dobey: and rather than use my personal account to generate credentials to deploy the app with, I'd like to have an account associated with my company
[18:44] <dobey> you should probably create a "team" in launchpad, have that team own whatever it needs to own, and then add anyone who needs that level of access, to that team
[18:44] <skay> and, since accounts will have is_team true or false based on whether it's team, but otherwise have similar properties, I was wondering if I could generate creds for a team account
[18:44] <skay> dobey: indeed
[18:44] <skay> dobey: so, how do I do that? let's say I have a team already
[18:45] <dobey> then on the team page there is a link to add members. you can add anyone with an lp account to the team
[18:45] <dobey> so anyone who needs that access, needs to have their own lp account with their own credentials
[18:46] <skay> dobey: I think I misunderstood you. I'd like to generate an access token for a webapp
[18:46] <skay> dobey: I don't want to deploy teh company webapp with my personal access tokens for logging in to launchpad
[18:46] <dobey> skay: then make a new user account that is a bot, and add it to the teams
[18:46] <skay> fyi, I'm using launchpadlib login_with
[18:47] <skay> dobey: ah okay. That's what I was thinking I had to do, but wanted to check
[18:47] <skay> it would be dorky of me to go through the trouble of making a bot if I didn't need to