[12:56] <elopio> Hello.
[12:56] <elopio> is it possible to rename launchpad.com/webdm to launchpad.com/snapweb ?
[12:57] <cjwatson> elopio: yes, but could you file a question on https://answers.launchpad.net/launchpad requesting this so that we have an audit trail?
[12:57] <cjwatson> elopio: (also, you're aware that this will cause lp:webdm to stop working and users will need to change their checkouts to lp:snapweb?  will probably affect tarmac too)
[12:58] <cjwatson> elopio: I can leave an alias in place if need be
[12:58] <elopio> cjwatson: https://answers.launchpad.net/launchpad/+question/299499 thank you!
[12:59] <elopio> cjwatson: yes, I know. An alias would be nice, but I don't care about people getting 404 on the old name.
[12:59] <elopio> we really don't have any users or contributors, yet :)
[13:00] <elopio> cjwatson: the code was moved to github, so tarmac is no longer used. We need this for the bugs.
[13:00] <cjwatson> aliases don't seem to work for this
[13:00] <cjwatson> bzr: ERROR: Permission denied: "Cannot create 'zr'. Only Bazaar branches are allowed."
[13:00] <cjwatson> (weird)
[13:01] <cjwatson> done, anyway
[13:02] <elopio> awesome.
[14:25] <elopio> this import is failing: https://code.launchpad.net/~snappy-dev/snapweb/master
[14:25] <elopio> is that a know issue, or is it because I did something wrong? I'm not sure how to correct, in any case.
[14:29] <dobey> elopio: you need the .git at the end of the url; you just put in the web site url, which isn't the url for cloning the repo
[14:29] <elopio> um
[14:30] <elopio> I'll delete it because I don't see how to edit it.
[14:32] <cjwatson> No don't
[14:32] <cjwatson> I can edit it
[14:32] <cjwatson> Bah, you already did it
[14:33] <elopio> cjwatson: oh, sorry.
[14:33] <cjwatson> dobey: It's not so much that it's not the URL for cloning the repo (you can clone it perfectly well with the non-.git form if you're using git itself); it's that GitHub does User-Agent sniffing and does the wrong thing when approached with bzr-git
[14:33] <cjwatson> Adding .git disambiguates
[14:34] <dobey> well right. it's not the url for cloning with bzr-git :)
[14:34] <elopio> it seems to have worked. Thanks for the tip anyway.
[14:34] <dobey> you need to disambiguate
[14:57] <dobey> cjwatson: hmm, if i have two launchpadlib scripts both making a request to the server at roughly the same time, from the same host, using the same oauth token, any idea why one of them would get a 401 while the other succeeds?
[15:04] <cjwatson> dobey: not off the top of my head
[15:05] <cjwatson> dobey: I can look at logs if given slightly more detail (IP address, time)
[15:05] <cjwatson> dobey: could be an app-level unauthorized response, i.e. you aren't authorized to do that thing
[15:07] <dobey> cjwatson: afaict, that's not the case. it's a bot, and the bot is in the necessary teams to perform the actions it's doing (launchpadTrigger script in jenkins-launchpad-plugin being run)
[15:08] <dobey> cjwatson: a time is 15:04:07-09
[15:10] <dobey> cjwatson: https://jenkins.canonical.com/unity-api-1/job/lp-storage-framework-trigger/lastSuccessfulBuild/console
[15:12] <dobey> cjwatson: so coming from a VM in scalingstack
[15:22] <cjwatson> dobey: That looks like a 401 talking to the Jenkins API, not a 401 talking to Launchpad
[15:24] <dobey> cjwatson: oh hrmm, yeah i guess so. been looking in the wrong place. thanks
[20:06] <Cas> the launchpad PPAs now stop you uploaded to unsupported series e.g. utopic. But is there a command to get the up to date list of supported series?
[20:07] <teward> Cas: I always refer to the wiki - https://wiki.ubuntu.com/Releases - for the list of current releases, EOL releases, etc.
[20:07] <Cas> sure but I am hoping to script it
[20:10] <dobey> yes-ish
[20:12] <dobey> Cas: https://launchpad.net/+apidoc/1.0.html#distribution
[20:13] <Cas> ish :)
[20:13] <Cas> thanks I'll take a look
[20:13] <dobey> you have to loop over the series for the distribution
[20:14] <dobey> but yeah, would be nice if there was a getSeries or something
[20:14] <dobey> to easily only get the "Supported" series
[20:14] <Cas> yeh
[20:29] <cjwatson> In theory we could export something, but [s for s in lp.distributions['ubuntu'].series if s.status not in ('Obsolete', 'Future')] isn't that hard so it's probably not worth the extra code
[20:50] <Cas> you are right it was not difficult, this is what I ended up with https://gist.github.com/cas--/f0a33566739be9075f3c851dbc94534e
[20:51] <Cas> now I need to remember what I was doing before ending up down this rabbithole...
[21:06] <dobey> tea party?
[21:07] <Cas> oh gosh indeed :D