fully_human | Hello, 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_human | Github uses 'octocat.' Is there one similar for Launchpad? | 04:01 |
xnox | fully_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_human | Right. 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_human | I just don't want anyone reviewing the code to see their username and get upset. | 04:15 |
xnox | fully_human: i'm not sure what you are asking for, but currently logged-in user can be accessed via +me alias. | 04:16 |
fully_human | This 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_human | Does launchpad have a "test username"? | 04:18 |
xnox | fully_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_human | Ah, bots...that's the term I was looking for...okay, thanks. | 04:20 |
xnox | fully_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_human | Okay, thank you. I'll look into it. :-) | 04:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!