/srv/irclogs.ubuntu.com/2014/08/10/#launchpad-dev.txt

fully_humanHello, everyone. I'm developing an application that uses the launchpad API. Is there a test username I can use so that anyone who finds their username in the code won't be PO'd?04:00
fully_humanGithub uses 'octocat.' Is there one similar for Launchpad?04:01
xnoxfully_human: most api is accessible read only without authentication... and there is staging server where you can operate against your own accounts without affecting real data.04:14
fully_humanRight. I'm just wanting to get user data based on an id without any log-in. I'm hoping on making my code, which involves unit tests, public.04:15
fully_humanI just don't want anyone reviewing the code to see their username and get upset.04:15
xnoxfully_human: i'm not sure what you are asking for, but currently logged-in user can be accessed via +me alias.04:16
fully_humanThis is a question only about respect towards other developers. Many API's have a "test username" so that you're not picking on some random user of the  site (octocat, for github, for example).04:18
fully_humanDoes launchpad have a "test username"?04:18
xnoxfully_human: there are plenty of bots in launchpad, but they are all real... e.g. https://launchpad.net/~janitor closes all bug reports from ubuntu uploads.04:18
fully_humanAh, bots...that's the term I was looking for...okay, thanks.04:20
xnoxfully_human: but your unit tests should not be hitting api.launchpad.net, instead you should mock, use your own launchpad instance, or use https://staging.launchpad.net/04:20
fully_humanOkay, thank you. I'll look into it. :-)04:21

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